Switch 2: BCH: Difference between revisions
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
| 0xFE0 || 0x4 || Stage2NumBinaries | | 0xFE0 || 0x4 || Stage2NumBinaries | ||
|- | |- | ||
| 0xFE4 || | | 0xFE4 || 0x100 || Duk | ||
|- | |- | ||
| 0x10E4 || 0x30C || | | 0x10E4 || 0x30C || | ||
Line 102: | Line 100: | ||
| 0x20 || 0x10 || DerStr | | 0x20 || 0x10 || DerStr | ||
|- | |- | ||
| 0x30 || 0x4 || | | 0x30 || 0x4 || Reserved | ||
|- | |- | ||
| 0x34 || 0xC || Iv | | 0x34 || 0xC || Iv | ||
Line 140: | Line 138: | ||
| 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 180: | ||
== NvBootCryptoSignatures == | == NvBootCryptoSignatures == | ||
This is | This is an union. | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 197: | Line 195: | ||
|- | |- | ||
| 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 | |||
| HasMetaBlob | |||
|- | |||
| 27 | |||
| IsCompressed | |||
|- | |||
| 28-31 | |||
| | |||
|} | |||
== Flags1 == | |||
{| class="wikitable" border="1" | |||
! Bits | |||
! Description | |||
|- | |||
| 0-23 | |||
| | |||
|- | |||
| 24 | |||
| | |||
|- | |||
| 25-31 | |||
| | |||
|} | |||
== Flags2 == | |||
{| class="wikitable" border="1" | |||
! Bits | |||
! Description | |||
|- | |||
| 0-7 | |||
| | |||
|- | |||
| 8 | |||
| IsClassKeysSigned | |||
|- | |||
| 9-31 | |||
| | |||
|} | |} |