aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac/cbc_mac/cbc_mac.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-13 02:56:03 +0000
committerlloyd <[email protected]>2010-10-13 02:56:03 +0000
commit3697dcff8b5e9765b41114281ce10e7ed3d3abb4 (patch)
tree670853a74b0fe173e7e9fce9cd3e6eda7a03d2c7 /src/mac/cbc_mac/cbc_mac.cpp
parent63121e1e169616f724bf79b8aac1a2b4423c8904 (diff)
s/BLOCK_SIZE/block_size()/
Diffstat (limited to 'src/mac/cbc_mac/cbc_mac.cpp')
-rw-r--r--src/mac/cbc_mac/cbc_mac.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mac/cbc_mac/cbc_mac.cpp b/src/mac/cbc_mac/cbc_mac.cpp
index 3eaa115b8..48cc8ab3e 100644
--- a/src/mac/cbc_mac/cbc_mac.cpp
+++ b/src/mac/cbc_mac/cbc_mac.cpp
@@ -89,11 +89,11 @@ MessageAuthenticationCode* CBC_MAC::clone() const
* CBC-MAC Constructor
*/
CBC_MAC::CBC_MAC(BlockCipher* e_in) :
- MessageAuthenticationCode(e_in->BLOCK_SIZE,
+ MessageAuthenticationCode(e_in->block_size(),
e_in->MINIMUM_KEYLENGTH,
e_in->MAXIMUM_KEYLENGTH,
e_in->KEYLENGTH_MULTIPLE),
- e(e_in), state(e->BLOCK_SIZE)
+ e(e_in), state(e->block_size())
{
position = 0;
}