diff options
Diffstat (limited to 'src/modes/eax/eax_dec.cpp')
-rw-r--r-- | src/modes/eax/eax_dec.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modes/eax/eax_dec.cpp b/src/modes/eax/eax_dec.cpp index b7e5795f7..f395ce437 100644 --- a/src/modes/eax/eax_dec.cpp +++ b/src/modes/eax/eax_dec.cpp @@ -19,7 +19,7 @@ EAX_Decryption::EAX_Decryption(BlockCipher* ciph, u32bit tag_size) : EAX_Base(ciph, tag_size) { - queue.create(2*TAG_SIZE + DEFAULT_BUFFERSIZE); + queue.resize(2*TAG_SIZE + DEFAULT_BUFFERSIZE); queue_start = queue_end = 0; } @@ -34,7 +34,7 @@ EAX_Decryption::EAX_Decryption(BlockCipher* ciph, { set_key(key); set_iv(iv); - queue.create(2*TAG_SIZE + DEFAULT_BUFFERSIZE); + queue.resize(2*TAG_SIZE + DEFAULT_BUFFERSIZE); queue_start = queue_end = 0; } |