diff options
author | lloyd <[email protected]> | 2010-10-12 20:23:47 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-12 20:23:47 +0000 |
commit | 6385602fcccfd9c561b1c097095ddd2edf1a2357 (patch) | |
tree | 63374ebafd20b09ff4ad77d624a4b27c87b1062c /src/rng/x931_rng/x931_rng.h | |
parent | ab1f661083053df745daf1e1b8f4859f5a92065d (diff) |
Use size_t instead of u32bit in entropy and rng
Diffstat (limited to 'src/rng/x931_rng/x931_rng.h')
-rw-r--r-- | src/rng/x931_rng/x931_rng.h | 8 |
1 files changed, 4 insertions, 4 deletions
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<byte> V, R; - u32bit position; + size_t position; }; } |