aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac/x919_mac/x919_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/x919_mac/x919_mac.cpp
parent63121e1e169616f724bf79b8aac1a2b4423c8904 (diff)
s/BLOCK_SIZE/block_size()/
Diffstat (limited to 'src/mac/x919_mac/x919_mac.cpp')
-rw-r--r--src/mac/x919_mac/x919_mac.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mac/x919_mac/x919_mac.cpp b/src/mac/x919_mac/x919_mac.cpp
index 330ca0043..c46ab82cb 100644
--- a/src/mac/x919_mac/x919_mac.cpp
+++ b/src/mac/x919_mac/x919_mac.cpp
@@ -85,11 +85,11 @@ MessageAuthenticationCode* ANSI_X919_MAC::clone() const
* ANSI X9.19 MAC Constructor
*/
ANSI_X919_MAC::ANSI_X919_MAC(BlockCipher* e_in) :
- MessageAuthenticationCode(e_in->BLOCK_SIZE,
+ MessageAuthenticationCode(e_in->block_size(),
e_in->MINIMUM_KEYLENGTH,
2*e_in->MAXIMUM_KEYLENGTH,
2*e_in->KEYLENGTH_MULTIPLE),
- e(e_in), d(e->clone()), state(e->BLOCK_SIZE), position(0)
+ e(e_in), d(e->clone()), state(e->block_size()), position(0)
{
if(e->name() != "DES")
throw Invalid_Argument("ANSI X9.19 MAC only supports DES");