mirror of
				https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
				synced 2025-10-31 08:08:51 +01:00 
			
		
		
		
	Fixed MTP to work with TWRP
This commit is contained in:
		
						commit
						f6dfaef42e
					
				
					 50820 changed files with 20846062 additions and 0 deletions
				
			
		
							
								
								
									
										41
									
								
								drivers/crypto/fmp/first_file.c
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										41
									
								
								drivers/crypto/fmp/first_file.c
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,41 @@ | |||
| /*
 | ||||
|  * First file for Exynos FMP FIPS integrity check | ||||
|  * | ||||
|  * Copyright (C) 2015 Samsung Electronics Co., Ltd. | ||||
|  * | ||||
|  * This program is free software; you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU General Public License as published by | ||||
|  * the Free Software Foundation; either version 2 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  */ | ||||
| 
 | ||||
| #include <linux/init.h> | ||||
| 
 | ||||
| /* Keep this on top */ | ||||
| static const char | ||||
| builtime_fmp_hmac[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, | ||||
|                           0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f}; | ||||
| 
 | ||||
| const int first_fmp_rodata = 10; | ||||
| int first_fmp_data = 20; | ||||
| 
 | ||||
| 
 | ||||
| void first_fmp_text(void) __attribute__((unused)); | ||||
| void first_fmp_text(void) | ||||
| { | ||||
| } | ||||
| 
 | ||||
| const char *get_builtime_fmp_hmac(void) | ||||
| { | ||||
| 	return builtime_fmp_hmac; | ||||
| } | ||||
| 
 | ||||
| void __init first_fmp_init(void) __attribute__((unused)); | ||||
| void __init first_fmp_init(void) | ||||
| { | ||||
| } | ||||
| 
 | ||||
| void __exit first_fmp_exit(void) __attribute__((unused)); | ||||
| void __exit first_fmp_exit(void) | ||||
| { | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 awab228
						awab228