From 3697dcff8b5e9765b41114281ce10e7ed3d3abb4 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 13 Oct 2010 02:56:03 +0000 Subject: s/BLOCK_SIZE/block_size()/ --- src/block/square/square.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/block/square') diff --git a/src/block/square/square.cpp b/src/block/square/square.cpp index b1517b990..ba86dd931 100644 --- a/src/block/square/square.cpp +++ b/src/block/square/square.cpp @@ -68,8 +68,8 @@ void Square::encrypt_n(const byte in[], byte out[], size_t blocks) const out[14] = SE[get_byte(3, B2)] ^ ME[30]; out[15] = SE[get_byte(3, B3)] ^ ME[31]; - in += BLOCK_SIZE; - out += BLOCK_SIZE; + in += block_size(); + out += block_size(); } } @@ -130,8 +130,8 @@ void Square::decrypt_n(const byte in[], byte out[], size_t blocks) const out[14] = SD[get_byte(3, B2)] ^ MD[30]; out[15] = SD[get_byte(3, B3)] ^ MD[31]; - in += BLOCK_SIZE; - out += BLOCK_SIZE; + in += block_size(); + out += block_size(); } } -- cgit v1.2.3