aboutsummaryrefslogtreecommitdiffstats
path: root/src/rng/x931_rng
diff options
context:
space:
mode:
Diffstat (limited to 'src/rng/x931_rng')
-rw-r--r--src/rng/x931_rng/x931_rng.cpp2
-rw-r--r--src/rng/x931_rng/x931_rng.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rng/x931_rng/x931_rng.cpp b/src/rng/x931_rng/x931_rng.cpp
index ac77b4344..7562c7ad5 100644
--- a/src/rng/x931_rng/x931_rng.cpp
+++ b/src/rng/x931_rng/x931_rng.cpp
@@ -40,7 +40,7 @@ void ANSI_X931_RNG::update_buffer()
{
const size_t BLOCK_SIZE = cipher->block_size();
- SecureVector<byte> DT = prng->random_vec(BLOCK_SIZE);
+ secure_vector<byte> DT = prng->random_vec(BLOCK_SIZE);
cipher->encrypt(DT);
xor_buf(&R[0], &V[0], &DT[0], BLOCK_SIZE);
diff --git a/src/rng/x931_rng/x931_rng.h b/src/rng/x931_rng/x931_rng.h
index 41fa9328b..c8a1b8707 100644
--- a/src/rng/x931_rng/x931_rng.h
+++ b/src/rng/x931_rng/x931_rng.h
@@ -42,7 +42,7 @@ class BOTAN_DLL ANSI_X931_RNG : public RandomNumberGenerator
BlockCipher* cipher;
RandomNumberGenerator* prng;
- SecureVector<byte> V, R;
+ secure_vector<byte> V, R;
size_t position;
};