hekate/nyx: update aes calls based on new bdk

This commit is contained in:
CTCaer authored and NaGa committed 2026-03-27 09:59:42 +01:00
1 parent 6c7370bec3
commit ab794bc61d
7 files changed
+51 -57

No files matched your search

+2 -3
View File
@@ -1521,7 +1521,7 @@ static lv_res_t _create_window_dump_pk12_tool(lv_obj_t *btn)
if (h_cfg.t210b01)
{
se_aes_iv_clear(13);
se_aes_crypt_cbc(13, DECRYPT, bct + 0x480, BCT_SIZE - 0x480, bct + 0x480, BCT_SIZE - 0x480);
se_aes_crypt_cbc(13, DECRYPT, bct + 0x480, bct + 0x480, BCT_SIZE - 0x480);
emmcsn_path_impl(path, bct_paths[idx], "bct_decr.bin", &emmc_storage);
if (boot_storage_save_to_file(bct, 0x2800, path))
goto out;
@@ -1576,8 +1576,7 @@ static lv_res_t _create_window_dump_pk12_tool(lv_obj_t *btn)
{
se_aes_iv_clear(13);
se_aes_crypt_cbc(13, DECRYPT, warmboot + 0x330, hdr_pk11->wb_size - 0x330,
warmboot + 0x330, hdr_pk11->wb_size - 0x330);
se_aes_crypt_cbc(13, DECRYPT, warmboot + 0x330, warmboot + 0x330, hdr_pk11->wb_size - 0x330);
emmcsn_path_impl(path, pkg1_paths[idx], "warmboot_dec.bin", &emmc_storage);
if (boot_storage_save_to_file(warmboot, hdr_pk11->wb_size, path))
goto out;