mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-05 00:39:04 +00:00
[makerom] Fix typo in ctr_aes_keygen()
This commit is contained in:
@@ -140,7 +140,7 @@ void ctr_aes_keygen(const uint8_t *x, const uint8_t *y, uint8_t *key)
|
|||||||
n128_xor(x_rot, y, key_xy);
|
n128_xor(x_rot, y, key_xy);
|
||||||
|
|
||||||
// key_xyc = key_xy + KEYGEN_CONST
|
// key_xyc = key_xy + KEYGEN_CONST
|
||||||
n128_add(key_xy, KEYGEN_CONST, key);
|
n128_add(key_xy, KEYGEN_CONST, key_xyc);
|
||||||
|
|
||||||
n128_rrot(key_xyc, 41, key);
|
n128_rrot(key_xyc, 41, key);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user