Secure Loader: Difference between revisions
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
| 0x8 || 4 || Entry Point || Little Endian (0x100) | | 0x8 || 4 || Entry Point || Little Endian (0x100) | ||
|- | |- | ||
| 0xC || 4 || Payload Size || Little Endian (e.g | | 0xC || 4 || Payload Size || Little Endian (e.g 0x232D0) | ||
|- | |- | ||
| 0x10 || 0x10 || Padding || Zeroes | | 0x10 || 0x10 || Padding || Zeroes | ||
Line 25: | Line 25: | ||
| 0x180 || 0x100 || RSA Signature || | | 0x180 || 0x100 || RSA Signature || | ||
|- | |- | ||
| 0x280 || | | 0x280 || 0x232D0 || Payload || | ||
|- | |- | ||
| | | 0x23550 || 0x100 || Footer RSA Signature || | ||
|- | |- | ||
|} | |} |
Revision as of 10:27, 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 Signature | |
0x280 | 0x232D0 | Payload | |
0x23550 | 0x100 | Footer RSA Signature |