NCCH: Difference between revisions
WulfyStylez (talk | contribs) →Encryption: (The other new hash function (and its u32 in the header) seems to be for something else) |
WulfyStylez (talk | contribs) No edit summary |
||
Line 121: | Line 121: | ||
| 0x114 | | 0x114 | ||
| 4 | | 4 | ||
| When ncchflag[7] = 0x20 starting with FIRM [[9.6.0-24|9.6.0-X]], this is compared with the first output u32 from a SHA256 hash. The data used for that hash is 0x18-bytes: <last 0x10-bytes which gets hashed during keyY generation> <programID from NCCH+0x118>. | | When ncchflag[7] = 0x20 starting with FIRM [[9.6.0-24|9.6.0-X]], this is compared with the first output u32 from a SHA256 hash. The data used for that hash is 0x18-bytes: <last 0x10-bytes which gets hashed during keyY generation> <programID from NCCH+0x118>. This hash seems to be purely for verification of keyY hash data, and is not the actual keyY hash. | ||
|- | |- | ||
| 0x118 | | 0x118 |