diff options
author | lloyd <[email protected]> | 2010-10-04 13:32:15 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-04 13:32:15 +0000 |
commit | a89498427ca32822fe1a273c8eb83b48da01ee1b (patch) | |
tree | 1a7967dc08a4d0f3a207e11d0d2833622fc506e9 /src | |
parent | 91368dbb3b029e72aa68af9e0e87ef9259564e4a (diff) |
Compile fix
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); |