diff options
Diffstat (limited to 'vmac.cpp')
-rw-r--r-- | vmac.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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;
|