aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/gost_28147/gost_28147.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/gost_28147/gost_28147.h')
-rw-r--r--src/block/gost_28147/gost_28147.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/block/gost_28147/gost_28147.h b/src/block/gost_28147/gost_28147.h
index 9d845ae72..501e621e0 100644
--- a/src/block/gost_28147/gost_28147.h
+++ b/src/block/gost_28147/gost_28147.h
@@ -65,13 +65,13 @@ class BOTAN_DLL GOST_28147_89 : public BlockCipher
*/
GOST_28147_89(const GOST_28147_89_Params& params);
private:
- GOST_28147_89(const SecureVector<u32bit, 1024>& other_SBOX) :
- BlockCipher(8, 32), SBOX(other_SBOX) {}
+ GOST_28147_89(const SecureVector<u32bit>& other_SBOX) :
+ BlockCipher(8, 32), SBOX(other_SBOX), EK(8) {}
void key_schedule(const byte[], u32bit);
- SecureVector<u32bit, 1024> SBOX;
- SecureVector<u32bit, 8> EK;
+ SecureVector<u32bit> SBOX;
+ SecureVector<u32bit> EK;
};
}