aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/idea
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/block/idea
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/block/idea')
-rw-r--r--src/block/idea/idea.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/block/idea/idea.h b/src/block/idea/idea.h
index 42fa60c47..f3f0ce1bc 100644
--- a/src/block/idea/idea.h
+++ b/src/block/idea/idea.h
@@ -30,16 +30,16 @@ class BOTAN_DLL IDEA : public Block_Cipher_Fixed_Params<8, 16>
/**
* @return const reference to encryption subkeys
*/
- const SecureVector<u16bit>& get_EK() const { return EK; }
+ const secure_vector<u16bit>& get_EK() const { return EK; }
/**
* @return const reference to decryption subkeys
*/
- const SecureVector<u16bit>& get_DK() const { return DK; }
+ const secure_vector<u16bit>& get_DK() const { return DK; }
private:
void key_schedule(const byte[], size_t);
- SecureVector<u16bit> EK, DK;
+ secure_vector<u16bit> EK, DK;
};
}