diff options
Diffstat (limited to 'src/block/misty1')
-rw-r--r-- | src/block/misty1/misty1.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/block/misty1/misty1.cpp b/src/block/misty1/misty1.cpp index 2f82e18e8..c904c5d78 100644 --- a/src/block/misty1/misty1.cpp +++ b/src/block/misty1/misty1.cpp @@ -144,8 +144,8 @@ void MISTY1::encrypt_n(const byte in[], byte out[], size_t blocks) const store_be(out, B2, B3, B0, B1); - in += BLOCK_SIZE; - out += BLOCK_SIZE; + in += block_size(); + out += block_size(); } } @@ -194,8 +194,8 @@ void MISTY1::decrypt_n(const byte in[], byte out[], size_t blocks) const store_be(out, B0, B1, B2, B3); - in += BLOCK_SIZE; - out += BLOCK_SIZE; + in += block_size(); + out += block_size(); } } |