summaryrefslogtreecommitdiff
path: root/vmac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vmac.cpp')
-rw-r--r--vmac.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/vmac.cpp b/vmac.cpp
index 8978a73a..c99b2692 100644
--- a/vmac.cpp
+++ b/vmac.cpp
@@ -69,8 +69,8 @@ void VMAC_Base::UncheckedSetKey(const byte *userKey, unsigned int keylength, con
cipher.SetKey(userKey, keylength, params);
const unsigned int blockSize = cipher.BlockSize();
const unsigned int blockSizeInWords = blockSize / sizeof(word64);
- SecBlock<word64> out(blockSizeInWords);
- SecByteBlock in;
+ SecBlock<word64, AllocatorWithCleanup<word64, true> > out(blockSizeInWords);
+ AlignedSecByteBlock in;
in.CleanNew(blockSize);
size_t i;