diff options
author | lloyd <[email protected]> | 2014-12-02 13:33:10 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-12-02 13:33:10 +0000 |
commit | 2f884827b2aa1b070795230ebe012f1708ded73a (patch) | |
tree | bb13325a9254f210bd7cc4dd50b22b6957c48800 /src/lib/rng/system_rng/system_rng.h | |
parent | e78801f8c8a168d70ae06769ec6996c4e0da122f (diff) |
Add an easy way to directly use the system PRNG.
Diffstat (limited to 'src/lib/rng/system_rng/system_rng.h')
-rw-r--r-- | src/lib/rng/system_rng/system_rng.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/lib/rng/system_rng/system_rng.h b/src/lib/rng/system_rng/system_rng.h new file mode 100644 index 000000000..6b4746a9c --- /dev/null +++ b/src/lib/rng/system_rng/system_rng.h @@ -0,0 +1,19 @@ +/* +* System RNG interface +* (C) 2014 Jack Lloyd +* +* Distributed under the terms of the Botan license +*/ + +#ifndef BOTAN_SYSTEM_RNG_H__ +#define BOTAN_SYSTEM_RNG_H__ + +#include <botan/rng.h> + +namespace Botan { + +BOTAN_DLL RandomNumberGenerator& system_rng(); + +} + +#endif |