aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/square/square.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-05-25 22:52:00 +0000
committerlloyd <[email protected]>2012-05-25 22:52:00 +0000
commit12090a7148d9ee73572cc1a7268fc489504a8173 (patch)
tree51e50ce0852c56231e9e6dc13f168b10edd45d01 /src/block/square/square.h
parent9594979caf775dc4062850044715b804d1fda60c (diff)
parent65cc04445f8d40497f02a14bd8cb97081790e54b (diff)
propagate from branch 'net.randombit.botan.x509-path-validation' (head 63b5a20eab129ca13287fda33d2d02eec329708f)
to branch 'net.randombit.botan' (head 8b8150f09c55184f028f2929c4e7f7cd0d46d96e)
Diffstat (limited to 'src/block/square/square.h')
-rw-r--r--src/block/square/square.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/block/square/square.h b/src/block/square/square.h
index 5147c0383..618dbf6d9 100644
--- a/src/block/square/square.h
+++ b/src/block/square/square.h
@@ -24,8 +24,6 @@ class BOTAN_DLL Square : public Block_Cipher_Fixed_Params<16, 16>
void clear();
std::string name() const { return "Square"; }
BlockCipher* clone() const { return new Square; }
-
- Square() : EK(28), DK(28), ME(32), MD(32) {}
private:
void key_schedule(const byte[], size_t);
@@ -45,8 +43,8 @@ class BOTAN_DLL Square : public Block_Cipher_Fixed_Params<16, 16>
static const u32bit TD2[256];
static const u32bit TD3[256];
- SecureVector<u32bit> EK, DK;
- SecureVector<byte> ME, MD;
+ secure_vector<u32bit> EK, DK;
+ secure_vector<byte> ME, MD;
};
}