CryptoSys PQC
1.0.0
|
Random Number Generator to NIST SP800-90. More...
Public Types | |
enum | Opts : unsigned int |
Rng options More... | |
Static Public Member Functions | |
static bvec_t | Bytes (int n) |
Generate an array of random bytes. More... | |
static int | Initialize (const std::string &seedFile) |
Initialize the RNG generator using a seed file. More... | |
static int | InitializeEx (Opts opts=Opts::Default) |
Query and initialize the RNG generator using Intel(R) DRNG, if available. More... | |
Random Number Generator to NIST SP800-90.
enum crsyspqc::Rng::Opts : unsigned int |
|
static |
Generate an array of random bytes.
n | Required number of random bytes |
|
static |
Initialize the RNG generator using a seed file.
seedFile | Full path name of seed file. |
|
static |
Query and initialize the RNG generator using Intel(R) DRNG, if available.
opts | Option flags (optional) |
Rng.Opts.NoIntelDrng
option if for some reason it is interfering with your application.