Secure Loader: Difference between revisions
Jump to navigation
Jump to search
(username removed) |
|||
Line 39: | Line 39: | ||
|- | |- | ||
| 0x20 || 0x20 || HDR + MetaData SHA256HMAC || SHA256 of hdr plus metadata (HMAC) | | 0x20 || 0x20 || HDR + MetaData SHA256HMAC || SHA256 of hdr plus metadata (HMAC) | ||
|- | |||
|} | |||
= MetaData Body = | |||
{| class="wikitable" | |||
! Offset !! Size !! Description !! Notes | |||
|- | |||
| 0x0 || 0x20 || KeySlot 1 || | |||
|- | |- | ||
|} | |} |
Revision as of 15:18, 27 October 2020
SAMU IPL, codenamed as 80000001, is the main loader of the Secure Kernel (80010001)
The header contained in it contains the following information:
Header Info
Offset | Size | Description | Notes |
---|---|---|---|
0x0 | 4 | Magic | 5E D7 9A 0B |
0x4 | 4 | Header Size | Little Endian (0x280) |
0x8 | 4 | Entry Point | Little Endian (0x100) |
0xC | 4 | Payload Size | Little Endian (e.g 0x232D0) |
0x10 | 0x10 | Padding | Zeroes |
0x20 | 0x20 | SHA256 of the decrypted payload | |
0x40 | 0x100 | Padding | Ascii Zeroes |
0x140 | 0x40 | Metadata | |
0x180 | 0x100 | RSA Header Signature | |
0x280 | 0x232D0 | Payload | |
0x23550 | 0x100 | RSA Footer Signature |
MetaData Info
Offset | Size | Description | Notes |
---|---|---|---|
0x0 | 0x20 | MetaData Body | Contains Keyslot Keys |
0x20 | 0x20 | HDR + MetaData SHA256HMAC | SHA256 of hdr plus metadata (HMAC) |
MetaData Body
Offset | Size | Description | Notes |
---|---|---|---|
0x0 | 0x20 | KeySlot 1 |