From 6385602fcccfd9c561b1c097095ddd2edf1a2357 Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 12 Oct 2010 20:23:47 +0000 Subject: Use size_t instead of u32bit in entropy and rng --- src/rng/x931_rng/x931_rng.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/rng/x931_rng/x931_rng.h') diff --git a/src/rng/x931_rng/x931_rng.h b/src/rng/x931_rng/x931_rng.h index 345ee3ca9..41fa9328b 100644 --- a/src/rng/x931_rng/x931_rng.h +++ b/src/rng/x931_rng/x931_rng.h @@ -19,14 +19,14 @@ namespace Botan { class BOTAN_DLL ANSI_X931_RNG : public RandomNumberGenerator { public: - void randomize(byte[], u32bit); + void randomize(byte[], size_t); bool is_seeded() const; void clear(); std::string name() const; - void reseed(u32bit poll_bits); + void reseed(size_t poll_bits); void add_entropy_source(EntropySource*); - void add_entropy(const byte[], u32bit); + void add_entropy(const byte[], size_t); /** * @param cipher the block cipher to use in this PRNG @@ -43,7 +43,7 @@ class BOTAN_DLL ANSI_X931_RNG : public RandomNumberGenerator BlockCipher* cipher; RandomNumberGenerator* prng; SecureVector V, R; - u32bit position; + size_t position; }; } -- cgit v1.2.3