1
/*************************************************
2
* Global RNG Header File *
3
* (C) 1999-2007 The Botan Project *
4
*************************************************/
6
#ifndef BOTAN_GLOBAL_RNG_H__
7
#define BOTAN_GLOBAL_RNG_H__
9
#include <botan/base.h>
13
/*************************************************
14
* RNG Access and Seeding Functions *
15
*************************************************/
16
namespace Global_RNG {
18
void randomize(byte[], u32bit);
21
void add_entropy(const byte[], u32bit);
22
void add_entropy(EntropySource&, bool = true);
24
u32bit seed(bool = true, u32bit = 256);
26
void add_es(EntropySource*, bool = true);