diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/block/serpent_ia32/serp_ia32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/serpent_ia32/serp_ia32.cpp b/src/block/serpent_ia32/serp_ia32.cpp index ecdfec9b1..e969f5235 100644 --- a/src/block/serpent_ia32/serp_ia32.cpp +++ b/src/block/serpent_ia32/serp_ia32.cpp @@ -72,7 +72,7 @@ void Serpent_IA32::decrypt_n(const byte in[], byte out[], u32bit blocks) const */ void Serpent_IA32::key_schedule(const byte key[], u32bit length) { - SecureVector<u32bit, 140> W; + SecureVector<u32bit> W(140); for(u32bit j = 0; j != length / 4; ++j) W[j] = load_le<u32bit>(key, j); W[length / 4] |= u32bit(1) << ((length%4)*8); |