[HOS] Use sha256 for kernel hashing

This commit is contained in:
ctcaer@gmail.com
2019-04-23 18:17:55 +03:00
parent 7c877c5bce
commit 072bbcabf4
6 changed files with 48 additions and 65 deletions

View File

@@ -195,8 +195,6 @@ void dump_packages12()
}
// Display info.
u32 kernel_crc32 = crc32c(pkg2_hdr->data, pkg2_hdr->sec_size[PKG2_SEC_KERNEL]);
gfx_printf("\n%kKernel CRC32C: %k0x%08X\n\n", 0xFFC7EA46, 0xFFCCCCCC, kernel_crc32);
gfx_printf("%kKernel size: %k0x%05X\n\n", 0xFFC7EA46, 0xFFCCCCCC, pkg2_hdr->sec_size[PKG2_SEC_KERNEL]);
gfx_printf("%kINI1 size: %k0x%05X\n\n", 0xFFC7EA46, 0xFFCCCCCC, pkg2_hdr->sec_size[PKG2_SEC_INI1]);