Switch 2: BCH: Difference between revisions
No edit summary |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 34: | Line 34: | ||
| 0xFE0 || 0x4 || Stage2NumBinaries | | 0xFE0 || 0x4 || Stage2NumBinaries | ||
|- | |- | ||
| 0xFE4 || | | 0xFE4 || 0x100 || Duk | ||
|- | |- | ||
| 0x10E4 || 0x30C || | | 0x10E4 || 0x30C || | ||
Line 59: | Line 57: | ||
|- | |- | ||
| 0x1AA4 || 0x8 || Key7KdfLabel | | 0x1AA4 || 0x8 || Key7KdfLabel | ||
|- | |||
| 0x1AAC || 0x430 || | |||
|- | |- | ||
| 0x1EE0 || 0x120 (0x90 * 2) || [[#NvStage1Component|Stage1Components]][2] | | 0x1EE0 || 0x120 (0x90 * 2) || [[#NvStage1Component|Stage1Components]][2] | ||
Line 102: | Line 102: | ||
| 0x20 || 0x10 || DerStr | | 0x20 || 0x10 || DerStr | ||
|- | |- | ||
| 0x30 || 0x4 || | | 0x30 || 0x4 || Reserved | ||
|- | |- | ||
| 0x34 || 0xC || Iv | | 0x34 || 0xC || Iv | ||
Line 140: | Line 140: | ||
| 0x18 || 0x4 || | | 0x18 || 0x4 || | ||
|- | |- | ||
| 0x1C || 0x4 || | | 0x1C || 0x4 || [[#Flags0|Flags0]] | ||
|- | |- | ||
| 0x20 || 0x4 || | | 0x20 || 0x4 || UncompressedBinaryLen | ||
|- | |- | ||
| 0x24 || 0x4 || | | 0x24 || 0x4 || [[#Flags1|Flags1]] | ||
|- | |- | ||
| 0x28 || 0x4 || | | 0x28 || 0x4 || CompressedBinaryLen | ||
|- | |- | ||
| 0x2C || 0x4 || | | 0x2C || 0x4 || [[#Flags2|Flags2]] | ||
|- | |- | ||
| 0x30 || 0x10 || DerStr | | 0x30 || 0x10 || DerStr | ||
|- | |- | ||
| 0x40 || 0x4 || | | 0x40 || 0x4 || Reserved | ||
|- | |- | ||
| 0x44 || 0xC || Iv | | 0x44 || 0xC || Iv | ||
Line 182: | Line 182: | ||
== NvBootCryptoSignatures == | == NvBootCryptoSignatures == | ||
This is | This is an union. | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 197: | Line 197: | ||
|- | |- | ||
| 0x0 || 0xB10 || XmssSignature | | 0x0 || 0xB10 || XmssSignature | ||
|} | |||
== NvPublicKeyParameters == | |||
This is an union. | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x0 || 0x20 || Eddsa | |||
|- | |||
| 0x0 || 0x40 || Ecdsa | |||
|- | |||
| 0x0 || 0x180 || Rsa | |||
|} | |||
== Flags0 == | |||
{| class="wikitable" border="1" | |||
! Bits | |||
! Description | |||
|- | |||
| 0-25 | |||
| | |||
|- | |||
| 26 | |||
| IsEncrypted | |||
|- | |||
| 27 | |||
| IsCompressed | |||
|- | |||
| 28-31 | |||
| | |||
|} | |||
== Flags1 == | |||
{| class="wikitable" border="1" | |||
! Bits | |||
! Description | |||
|- | |||
| 0-23 | |||
| | |||
|- | |||
| 16-23 | |||
| BootImgType | |||
|- | |||
| 24-31 | |||
| | |||
|} | |||
== Flags2 == | |||
{| class="wikitable" border="1" | |||
! Bits | |||
! Description | |||
|- | |||
| 0-7 | |||
| | |||
|- | |||
| 8 | |||
| IsClassKeysSigned | |||
|- | |||
| 9-31 | |||
| | |||
|} | |} |