BeeCrypt 4.2.1
randomGenerator Struct Reference

This struct holds information and pointers to code specific to each pseudo-random number generator. More...

#include <beecrypt.h>

Data Fields

const char * name
 The random generator's name.
 
const size_t paramsize
 The size of the random generator's parameters.
 
const randomGeneratorSetup setup
 Points to the setup function.
 
const randomGeneratorSeed seed
 Points to the seeding function.
 
const randomGeneratorNext next
 
const randomGeneratorCleanup cleanup
 

Detailed Description

This struct holds information and pointers to code specific to each pseudo-random number generator.

Field Documentation

◆ cleanup

const randomGeneratorCleanup randomGenerator::cleanup

◆ name

const char* randomGenerator::name

The random generator's name.

◆ next

const randomGeneratorNext randomGenerator::next

◆ paramsize

const size_t randomGenerator::paramsize

The size of the random generator's parameters.

Note
The implementor should set this by using sizeof(<struct holding random generator's parameters>).

◆ seed

const randomGeneratorSeed randomGenerator::seed

Points to the seeding function.

Points to the cleanup function.

Points to the function which generates the random data.

◆ setup

const randomGeneratorSetup randomGenerator::setup

Points to the setup function.


The documentation for this struct was generated from the following file: