From 653bea3e569dda15e366479de591eaf61c83fcb4 Mon Sep 17 00:00:00 2001 From: Reisyukaku Date: Wed, 13 Jan 2016 16:53:46 -0500 Subject: [PATCH] git = shit --- source/crypto.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/source/crypto.c b/source/crypto.c index 0d26e60..d226690 100644 --- a/source/crypto.c +++ b/source/crypto.c @@ -466,22 +466,4 @@ void setKeys(kversion){ aes_setkey(0x1E, keys[5], AES_KEYX, AES_INPUT_BE | AES_INPUT_NORMAL); aes_setkey(0x1F, keys[6], AES_KEYX, AES_INPUT_BE | AES_INPUT_NORMAL);*/ } - //Set key 0x18 keyX - u8 keyX18[0x10]; - aes(keyX18, encryptedData1, 1, NULL, AES_ECB_DECRYPT_MODE, 0); - aes_setkey(0x18, keyX18, AES_KEYX, AES_INPUT_BE | AES_INPUT_NORMAL); - - //Set key 0x11 normalkey - aes_setkey(0x11, key2, AES_KEYNORMAL, AES_INPUT_BE | AES_INPUT_NORMAL); - aes_use_keyslot(0x11); - - //Set keys 0x19..0x1F keyXs - u8 keyTemp[0x10]; - aes_use_keyslot(0x11); - int i; for(i = 0; i < 7; i++) { - aes(keyTemp, encryptedData2, 1, NULL, AES_ECB_DECRYPT_MODE, 0); - aes_setkey(0x19 + i, keyTemp, AES_KEYX, AES_INPUT_BE | AES_INPUT_NORMAL); - encryptedData2[0x0F]++; - }*/ - } } \ No newline at end of file