aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/square/square.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/square/square.h')
-rw-r--r--src/block/square/square.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/block/square/square.h b/src/block/square/square.h
index a17771f11..0c0cc871d 100644
--- a/src/block/square/square.h
+++ b/src/block/square/square.h
@@ -25,7 +25,7 @@ class BOTAN_DLL Square : public BlockCipher
std::string name() const { return "Square"; }
BlockCipher* clone() const { return new Square; }
- Square() : BlockCipher(16, 16) {}
+ Square() : BlockCipher(16, 16), EK(28), DK(28), ME(32), MD(32) {}
private:
void key_schedule(const byte[], u32bit);
@@ -45,8 +45,8 @@ class BOTAN_DLL Square : public BlockCipher
static const u32bit TD2[256];
static const u32bit TD3[256];
- SecureVector<u32bit, 28> EK, DK;
- SecureVector<byte, 32> ME, MD;
+ SecureVector<u32bit> EK, DK;
+ SecureVector<byte> ME, MD;
};
}