aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/square
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/square')
-rw-r--r--src/block/square/square.cpp2
-rw-r--r--src/block/square/square.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/block/square/square.cpp b/src/block/square/square.cpp
index ff98c040e..bb9132e10 100644
--- a/src/block/square/square.cpp
+++ b/src/block/square/square.cpp
@@ -142,7 +142,7 @@ void Square::decrypt_n(const byte in[], byte out[], size_t blocks) const
*/
void Square::key_schedule(const byte key[], size_t)
{
- SecureVector<u32bit> XEK(36), XDK(36);
+ secure_vector<u32bit> XEK(36), XDK(36);
for(size_t i = 0; i != 4; ++i)
XEK[i] = load_be<u32bit>(key, i);
diff --git a/src/block/square/square.h b/src/block/square/square.h
index 5147c0383..f40ad0e31 100644
--- a/src/block/square/square.h
+++ b/src/block/square/square.h
@@ -45,8 +45,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;
};
}