mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	apt: fix RequestBuilder parameters for Unwrap
This commit is contained in:
		
							parent
							
								
									423ab5e2bc
								
							
						
					
					
						commit
						0123411468
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -554,7 +554,7 @@ void Unwrap(Service::Interface* self) { | ||||||
|     // Decrypts the ciphertext using AES-CCM
 |     // Decrypts the ciphertext using AES-CCM
 | ||||||
|     auto pdata = HW::AES::DecryptVerifyCCM(cipher, nonce, HW::AES::KeySlotID::APTWrap); |     auto pdata = HW::AES::DecryptVerifyCCM(cipher, nonce, HW::AES::KeySlotID::APTWrap); | ||||||
| 
 | 
 | ||||||
|     IPC::RequestBuilder rb = rp.MakeBuilder(1, 0); |     IPC::RequestBuilder rb = rp.MakeBuilder(1, 4); | ||||||
|     if (!pdata.empty()) { |     if (!pdata.empty()) { | ||||||
|         // Splits the plaintext and put the nonce in between
 |         // Splits the plaintext and put the nonce in between
 | ||||||
|         Memory::WriteBlock(output, pdata.data(), nonce_offset); |         Memory::WriteBlock(output, pdata.data(), nonce_offset); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue