aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/aes_ni/aes_ni.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/block/aes_ni/aes_ni.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/block/aes_ni/aes_ni.h')
-rw-r--r--src/block/aes_ni/aes_ni.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/block/aes_ni/aes_ni.h b/src/block/aes_ni/aes_ni.h
index ae9e5b3f4..4844b7fe8 100644
--- a/src/block/aes_ni/aes_ni.h
+++ b/src/block/aes_ni/aes_ni.h
@@ -31,7 +31,7 @@ class BOTAN_DLL AES_128_NI : public Block_Cipher_Fixed_Params<16, 16>
private:
void key_schedule(const byte[], size_t);
- SecureVector<u32bit> EK, DK;
+ secure_vector<u32bit> EK, DK;
};
/**
@@ -53,7 +53,7 @@ class BOTAN_DLL AES_192_NI : public Block_Cipher_Fixed_Params<16, 24>
private:
void key_schedule(const byte[], size_t);
- SecureVector<u32bit> EK, DK;
+ secure_vector<u32bit> EK, DK;
};
/**
@@ -75,7 +75,7 @@ class BOTAN_DLL AES_256_NI : public Block_Cipher_Fixed_Params<16, 32>
private:
void key_schedule(const byte[], size_t);
- SecureVector<u32bit> EK, DK;
+ secure_vector<u32bit> EK, DK;
};
}