mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	aes: Fix derivation of slot 0x25 key X from NATIVE_FIRM. (#6283)
This commit is contained in:
		
							parent
							
								
									5aa80873e2
								
							
						
					
					
						commit
						bb8dde8480
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -233,7 +233,7 @@ void LoadNativeFirmKeysOld3DS() { | ||||||
|     firm->Read(0, firm_buffer.size(), firm_buffer.data()); |     firm->Read(0, firm_buffer.size(), firm_buffer.data()); | ||||||
|     firm->Close(); |     firm->Close(); | ||||||
| 
 | 
 | ||||||
|     constexpr std::size_t SLOT_0x25_KEY_X_SECRET_OFFSET = 933480; |     constexpr std::size_t SLOT_0x25_KEY_X_SECRET_OFFSET = 934444; | ||||||
|     constexpr std::size_t SLOT_0x25_KEY_X_SECRET_SIZE = 64; |     constexpr std::size_t SLOT_0x25_KEY_X_SECRET_SIZE = 64; | ||||||
|     std::vector<u8> secret_data(SLOT_0x25_KEY_X_SECRET_SIZE); |     std::vector<u8> secret_data(SLOT_0x25_KEY_X_SECRET_SIZE); | ||||||
|     std::memcpy(secret_data.data(), firm_buffer.data() + SLOT_0x25_KEY_X_SECRET_OFFSET, |     std::memcpy(secret_data.data(), firm_buffer.data() + SLOT_0x25_KEY_X_SECRET_OFFSET, | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue