TRNG Parameters. More...
#include <TRNG.h>
Data Fields | |
TRNG_ReturnBehavior | returnBehavior |
TRNG_CryptoKeyCallbackFxn | cryptoKeyCallbackFxn |
TRNG_RandomBytesCallbackFxn | randomBytesCallbackFxn |
uint32_t | timeout |
void * | custom |
TRNG Parameters.
TRNG Parameters are used to with the TRNG_open() call. Default values for these parameters are set using TRNG_Params_init().
TRNG_ReturnBehavior TRNG_Params::returnBehavior |
Blocking, callback, or polling return behavior
TRNG_CryptoKeyCallbackFxn TRNG_Params::cryptoKeyCallbackFxn |
Callback function to use with TRNG_generateKey(). Set randomBytesCallbackFxn to NULL if using this.
TRNG_RandomBytesCallbackFxn TRNG_Params::randomBytesCallbackFxn |
Callback function to use with TRNG_getRandomBytes() Set cryptoKeyCallbackFxn to NULL if using this.
uint32_t TRNG_Params::timeout |
Timeout before the driver returns an error in TRNG_RETURN_BEHAVIOR_BLOCKING
void* TRNG_Params::custom |
Custom argument used by driver implementation