1
/*************************************************
2
* ANSI X9.31 RNG Header File *
3
* (C) 1999-2007 The Botan Project *
4
*************************************************/
6
#ifndef BOTAN_ANSI_X931_RNG_H__
7
#define BOTAN_ANSI_X931_RNG_H__
9
#include <botan/base.h>
13
/*************************************************
15
*************************************************/
16
class ANSI_X931_RNG : public RandomNumberGenerator
19
void randomize(byte[], u32bit) throw(PRNG_Unseeded);
20
bool is_seeded() const;
22
std::string name() const;
24
ANSI_X931_RNG(const std::string& = "", RandomNumberGenerator* = 0);
27
void add_randomness(const byte[], u32bit);
31
RandomNumberGenerator* prng;
32
SecureVector<byte> V, R;