![]() |
![]() |
RNG Parameters. More...
#include <RNG.h>
Data Fields | |
RNG_ReturnBehavior | returnBehavior |
RNG_CryptoKeyCallbackFxn | cryptoKeyCallbackFxn |
RNG_RandomBitsCallbackFxn | randomBitsCallbackFxn |
uint32_t | timeout |
RNG Parameters.
RNG Parameters are used with the RNG_open() call. Default values for these parameters are set using RNG_Params_init().
RNG_ReturnBehavior RNG_Params::returnBehavior |
Blocking, callback, or polling return behavior
RNG_CryptoKeyCallbackFxn RNG_Params::cryptoKeyCallbackFxn |
Callback function to use with RNG_generateKey() and RNG_generateKeyInRange(). Set randomBitsCallbackFxn to NULL if using this.
RNG_RandomBitsCallbackFxn RNG_Params::randomBitsCallbackFxn |
Callback function to use with RNG_getRandomBits(), RNG_getLERandomNumberInRange(), and RNG_getBERandomNumberInRange(). Set cryptoKeyCallbackFxn to NULL if using this.
uint32_t RNG_Params::timeout |
Timeout (in ClockP ticks) before the driver returns an error in RNG_RETURN_BEHAVIOR_BLOCKING