Data Fields
TRNG_Params Struct Reference

TRNG Parameters. More...

#include <TRNG.h>

Collaboration diagram for TRNG_Params:
Collaboration graph
[legend]

Data Fields

TRNG_ReturnBehavior returnBehavior
 
TRNG_CryptoKeyCallbackFxn cryptoKeyCallbackFxn
 
TRNG_RandomBytesCallbackFxn randomBytesCallbackFxn
 
uint32_t timeout
 
void * custom
 

Detailed Description

TRNG Parameters.

TRNG Parameters are used to with the TRNG_open() call. Default values for these parameters are set using TRNG_Params_init().

Attention
When using the driver in TRNG_RETURN_BEHAVIOR_CALLBACK, set the appropriate callback function field to point to a valid callback function and set the other one to NULL.
See also
TRNG_Params_init()

Field Documentation

§ returnBehavior

TRNG_ReturnBehavior TRNG_Params::returnBehavior

Blocking, callback, or polling return behavior

§ cryptoKeyCallbackFxn

TRNG_CryptoKeyCallbackFxn TRNG_Params::cryptoKeyCallbackFxn

Callback function to use with TRNG_generateKey(). Set randomBytesCallbackFxn to NULL if using this.

§ randomBytesCallbackFxn

TRNG_RandomBytesCallbackFxn TRNG_Params::randomBytesCallbackFxn

Callback function to use with TRNG_getRandomBytes() Set cryptoKeyCallbackFxn to NULL if using this.

§ timeout

uint32_t TRNG_Params::timeout

Timeout before the driver returns an error in TRNG_RETURN_BEHAVIOR_BLOCKING

§ custom

void* TRNG_Params::custom

Custom argument used by driver implementation


The documentation for this struct was generated from the following file:
© Copyright 1995-2021, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale