From dff93130a0f8b25fd674aa98eca26b7ca4b4ef74 Mon Sep 17 00:00:00 2001 From: James Tophoven Date: Wed, 25 Sep 2019 18:04:13 +0200 Subject: [PATCH] try additional method --- source/keys/keys.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/keys/keys.c b/source/keys/keys.c index 939907f..0a956e8 100644 --- a/source/keys/keys.c +++ b/source/keys/keys.c @@ -408,6 +408,14 @@ void dump_keys() { gfx_hexdump(0, tmp_dec, 0x10); + se_aes_xts_crypt_sec(9, 8, 0, 0, tmp_dec, tmp, NX_EMMC_BLOCKSIZE); + + gfx_hexdump(0, tmp_dec, 0x10); + + se_aes_xts_crypt_sec(9, 8, 0, prodinfo_part->lba_start, tmp_dec, tmp, NX_EMMC_BLOCKSIZE); + + + // writeClientCertHash(); // writeCal0Hash();