mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-04 16:59:02 +00:00
[makerom] corrected aes keygen code, thanks plutoo.
This commit is contained in:
@@ -2,11 +2,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
/*
|
||||
AES Key generator for the Nintendo (Handheld) Consoles
|
||||
|
||||
BYO keygen constants, and input >>> parameters
|
||||
|
||||
key = ((x >>> x_shift) ^ (y >>> y_shift)) + keygen_constant
|
||||
AES Key generator for the Nintendo 3DS (CTR) Consoles
|
||||
*/
|
||||
|
||||
void n_aes_keygen(const uint8_t *x, uint8_t x_shift, const uint8_t *y, uint8_t y_shift, const uint8_t *keygen_constant, uint8_t *key);
|
||||
void ctr_aes_keygen(const uint8_t *x, const uint8_t *y, uint8_t *key);
|
||||
|
||||
Reference in New Issue
Block a user