AESCTRDRBG Parameters. More...
#include <AESCTRDRBG.h>
Data Fields | |
AESCTRDRBG_AES_KEY_LENGTH | keyLength |
uint32_t | reseedInterval |
const void * | seed |
const void * | personalizationData |
size_t | personalizationDataLength |
AESCTRDRBG_ReturnBehavior | returnBehavior |
void * | custom |
AESCTRDRBG Parameters.
AESCTRDRBG Parameters are used to with the AESCTRDRBG_open() call. Default values for these parameters are set using AESCTRDRBG_Params_init().
AESCTRDRBG_AES_KEY_LENGTH AESCTRDRBG_Params::keyLength |
Length of the internal AES key of the driver instance.
uint32_t AESCTRDRBG_Params::reseedInterval |
Number of random number generation requests before the application is required to reseed the driver.
const void* AESCTRDRBG_Params::seed |
Entropy used to seed the internal state of the driver. Must be one of AESCTRDRBG_SEED_LENGTH long depending on keyLength
.
const void* AESCTRDRBG_Params::personalizationData |
Optional non-secret personalization data to mix into the driver's internal state.
size_t AESCTRDRBG_Params::personalizationDataLength |
Length of the optional personalizationData
. Must satisfy 0 <= personalizationDataLength
<= seed length.
AESCTRDRBG_ReturnBehavior AESCTRDRBG_Params::returnBehavior |
Return behavior of the driver instance. AESCTRDRBG_RETURN_BEHAVIOR_POLLING is strongly recommended unless requests for > 500 bytes with AES-256 or 1250 bytes for AES-128 will be common use cases for this driver instance.
void* AESCTRDRBG_Params::custom |
Custom argument used by driver implementation