Support sept from Atmosphere 0.13.0

This commit is contained in:
shchmue 2020-06-17 10:37:48 -06:00
parent 7649eb1362
commit 47f749c6fe
3 changed files with 7 additions and 1 deletions

View file

@ -234,7 +234,7 @@ void dump_keys() {
if (!reboot_to_sept((u8 *)tsec_ctxt.fw, tsec_ctxt.size, pkg1_id->kb))
goto out_wait;
} else {
se_aes_key_read(12, master_key[KB_FIRMWARE_VERSION_MAX], 0x10);
se_aes_key_read(se_key_acc_ctrl_get(12) == 0x6A ? 13 : 12, master_key[KB_FIRMWARE_VERSION_MAX], 0x10);
}
}