diff options
Diffstat (limited to 'src/block/xtea_simd/xtea_simd.cpp')
-rw-r--r-- | src/block/xtea_simd/xtea_simd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/block/xtea_simd/xtea_simd.cpp b/src/block/xtea_simd/xtea_simd.cpp index 5b73c7bb9..831cc0359 100644 --- a/src/block/xtea_simd/xtea_simd.cpp +++ b/src/block/xtea_simd/xtea_simd.cpp @@ -99,8 +99,8 @@ void XTEA_SIMD::encrypt_n(const byte in[], byte out[], size_t blocks) const while(blocks >= 8) { xtea_encrypt_8(in, out, KS); - in += 8 * block_size(); - out += 8 * block_size(); + in += 8 * BLOCK_SIZE; + out += 8 * BLOCK_SIZE; blocks -= 8; } @@ -118,8 +118,8 @@ void XTEA_SIMD::decrypt_n(const byte in[], byte out[], size_t blocks) const while(blocks >= 8) { xtea_decrypt_8(in, out, KS); - in += 8 * block_size(); - out += 8 * block_size(); + in += 8 * BLOCK_SIZE; + out += 8 * BLOCK_SIZE; blocks -= 8; } |