[makerom] Fix typo in ctr_aes_keygen()

This commit is contained in:
jakcron
2016-01-16 10:10:18 +08:00
parent 75a839efff
commit 22a1127634
+1 -1
View File
@@ -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);
// 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);
}