aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream/turing/turing.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-05-18 20:32:36 +0000
committerlloyd <[email protected]>2012-05-18 20:32:36 +0000
commitc691561f3198f481c13457433efbccc1c9fcd898 (patch)
treea45ea2c5a30e0cb009fbcb68a61ef39332ff790c /src/stream/turing/turing.h
parentd76700f01c7ecac5633edf75f8d7408b46c5dbac (diff)
Fairly huge update that replaces the old secmem types with std::vector
using a custom allocator. Currently our allocator just does new/delete with a memset before deletion, and the mmap and mlock allocators have been removed.
Diffstat (limited to 'src/stream/turing/turing.h')
-rw-r--r--src/stream/turing/turing.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/stream/turing/turing.h b/src/stream/turing/turing.h
index aff314080..84bfbe9c0 100644
--- a/src/stream/turing/turing.h
+++ b/src/stream/turing/turing.h
@@ -45,10 +45,10 @@ class BOTAN_DLL Turing : public StreamCipher
static const u32bit Q_BOX[256];
static const byte SBOX[256];
- SecureVector<u32bit> S0, S1, S2, S3;
- SecureVector<u32bit> R;
- SecureVector<u32bit> K;
- SecureVector<byte> buffer;
+ secure_vector<u32bit> S0, S1, S2, S3;
+ secure_vector<u32bit> R;
+ secure_vector<u32bit> K;
+ secure_vector<byte> buffer;
size_t position;
};