Data Fields
RNG_Params Struct Reference

RNG Parameters. More...

#include <RNG.h>

Collaboration diagram for RNG_Params:
Collaboration graph
[legend]

Data Fields

RNG_ReturnBehavior returnBehavior
 
RNG_CryptoKeyCallbackFxn cryptoKeyCallbackFxn
 
RNG_RandomBitsCallbackFxn randomBitsCallbackFxn
 
uint32_t timeout
 

Detailed Description

RNG Parameters.

RNG Parameters are used with the RNG_open() call. Default values for these parameters are set using RNG_Params_init().

Attention
When using the driver in RNG_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
RNG_Params_init()

Field Documentation

§ returnBehavior

RNG_ReturnBehavior RNG_Params::returnBehavior

Blocking, callback, or polling return behavior

§ cryptoKeyCallbackFxn

RNG_CryptoKeyCallbackFxn RNG_Params::cryptoKeyCallbackFxn

Callback function to use with RNG_generateKey() and RNG_generateKeyInRange(). Set randomBitsCallbackFxn to NULL if using this.

§ randomBitsCallbackFxn

RNG_RandomBitsCallbackFxn RNG_Params::randomBitsCallbackFxn

Callback function to use with RNG_getRandomBits(), RNG_getLERandomNumberInRange(), and RNG_getBERandomNumberInRange(). Set cryptoKeyCallbackFxn to NULL if using this.

§ timeout

uint32_t RNG_Params::timeout

Timeout (in ClockP ticks) before the driver returns an error in RNG_RETURN_BEHAVIOR_BLOCKING


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