aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/noekeon/noekeon.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-13 14:58:58 +0000
committerlloyd <[email protected]>2010-10-13 14:58:58 +0000
commit6e85766cf001183e160c8ca2c0ed3eb40f07125c (patch)
treedf11b301786829bc2f6f545038ec97c2269154d9 /src/block/noekeon/noekeon.cpp
parentfcd3aba1ff6b8597b31165474573dbb339479c14 (diff)
parentbb53c6169463a67cc751625cb0a2c47df129a2ab (diff)
propagate from branch 'net.randombit.botan' (head 6581b789d58717bc6acee5c6a248e2d44c636e40)
to branch 'net.randombit.botan.c++0x' (head 227a989ae94da8f4379ea4b9b0fc0ee8dbdde0c7)
Diffstat (limited to 'src/block/noekeon/noekeon.cpp')
-rw-r--r--src/block/noekeon/noekeon.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/block/noekeon/noekeon.cpp b/src/block/noekeon/noekeon.cpp
index c29fed93e..06c415be9 100644
--- a/src/block/noekeon/noekeon.cpp
+++ b/src/block/noekeon/noekeon.cpp
@@ -114,8 +114,8 @@ void Noekeon::encrypt_n(const byte in[], byte out[], size_t blocks) const
store_be(out, A0, A1, A2, A3);
- in += block_size();
- out += block_size();
+ in += BLOCK_SIZE;
+ out += BLOCK_SIZE;
}
}
@@ -152,8 +152,8 @@ void Noekeon::decrypt_n(const byte in[], byte out[], size_t blocks) const
store_be(out, A0, A1, A2, A3);
- in += block_size();
- out += block_size();
+ in += BLOCK_SIZE;
+ out += BLOCK_SIZE;
}
}