Difference between revisions of "FSPXI:ImportIntegrityVerificationSeed"

From 3dbrew
Jump to navigation Jump to search
Line 12: Line 12:
 
|-
 
|-
 
| 2
 
| 2
| Pointer to 0x130-byte input buffer
+
| Input IntegrityVerificationSeed pointer
 
|}
 
|}
  
Line 26: Line 26:
 
| 1
 
| 1
 
| Result code
 
| Result code
 +
|}
 +
 +
=IntegrityVerificationSeed=
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Offset
 +
!  Size
 +
!  Description
 +
|-
 +
|  0x0
 +
|  0x10
 +
|  AES-CCM MAC over the cleartext SEED
 +
|-
 +
|  0x10
 +
|  0x120
 +
|  The [[nand/private/movable.sed]], encrypted with AES-CCM
 
|}
 
|}
  
 
=Description=
 
=Description=
This might import the SEED from the specified buffer, to [[nand/private/movable.sed]]?
+
This decrypts the input SEED and verifies it with the input AES-CCM MAC, verifies the RSA-signature, then writes the data to [[nand/private/movable.sed]].

Revision as of 18:24, 22 August 2012

Request

Index Word Description
0 Header code [0x00460002]
1 Always 0x00013004, for 0x130 size: (size<<8) | 4
2 Input IntegrityVerificationSeed pointer

Response

Index Word Description
0 Header code
1 Result code

IntegrityVerificationSeed

Offset Size Description
0x0 0x10 AES-CCM MAC over the cleartext SEED
0x10 0x120 The nand/private/movable.sed, encrypted with AES-CCM

Description

This decrypts the input SEED and verifies it with the input AES-CCM MAC, verifies the RSA-signature, then writes the data to nand/private/movable.sed.