/************************************************* * Global RNG Header File * * (C) 1999-2007 The Botan Project * *************************************************/ #ifndef BOTAN_GLOBAL_RNG_H__ #define BOTAN_GLOBAL_RNG_H__ #include "botan-1.6/include/base.h" namespace Enctain { namespace Botan { /************************************************* * RNG Access and Seeding Functions * *************************************************/ namespace Global_RNG { void randomize(byte[], u32bit); byte random(); void add_entropy(const byte[], u32bit); void add_entropy(EntropySource&, bool = true); u32bit seed(bool = true, u32bit = 256); void add_es(EntropySource*, bool = true); } } } #endif