235 #ifndef ti_drivers_AESCTRDRBG__include 236 #define ti_drivers_AESCTRDRBG__include 262 #define AESCTRDRBG_STATUS_RESERVED (-32) 270 #define AESCTRDRBG_STATUS_SUCCESS (0) 278 #define AESCTRDRBG_STATUS_ERROR (-1) 288 #define AESCTRDRBG_STATUS_RESOURCE_UNAVAILABLE (-2) 296 #define AESCTRDRBG_STATUS_RESEED_REQUIRED (-3) 301 #define AESCTRDRBG_AES_BLOCK_SIZE_BYTES 16 507 const void *additionalData,
508 size_t additionalDataLength);
The CryptoKey type is an opaque representation of a cryptographic key.
AESCTRDRBG_AES_KEY_LENGTH
Length in bytes of the internal AES key used by an instance.
Definition: AESCTRDRBG.h:306
#define AESCTRDRBG_AES_BLOCK_SIZE_BYTES
The AES block size in bytes.
Definition: AESCTRDRBG.h:301
void AESCTRDRBG_close(AESCTRDRBG_Handle handle)
Function to close an AESCTRDRBG peripheral specified by the AESCTRDRBG_Handle.
const AESCTRDRBG_Params AESCTRDRBG_defaultParams
Default AESCTRDRBG_Params structure.
CryptoKey datastructure.
Definition: CryptoKey.h:210
void AESCTRDRBG_init(void)
This function initializes the AESCTRDRBG driver.
void * object
Definition: AESCTRDRBG.h:365
AESCTRDRBG Global configuration.
Definition: AESCTRDRBG.h:363
AESCTRDRBG_SEED_LENGTH
Length in bytes of seed used to instantiate or reseed instance.
Definition: AESCTRDRBG.h:314
Definition: AESCTRDRBG.h:316
Definition: AESCTRDRBG.h:315
Definition: AESCTRDRBG.h:349
AESCTRDRBG Parameters.
Definition: AESCTRDRBG.h:384
void const * hwAttrs
Definition: AESCTRDRBG.h:368
enum AESCTRDRBG_ReturnBehavior_ AESCTRDRBG_ReturnBehavior
The way in which AESCTRDRBG function calls return after generating the requested entropy.
Definition: AESCTRDRBG.h:307
const void * seed
Definition: AESCTRDRBG.h:392
AESCTRDRBG_ReturnBehavior_
The way in which AESCTRDRBG function calls return after generating the requested entropy.
Definition: AESCTRDRBG.h:339
void * custom
Definition: AESCTRDRBG.h:412
uint32_t reseedInterval
Definition: AESCTRDRBG.h:388
Definition: AESCTRDRBG.h:344
AESCTRDRBG_Config * AESCTRDRBG_Handle
A handle that is returned from an AESCTRDRBG_open() call.
Definition: AESCTRDRBG.h:374
AESCTRDRBG_AES_KEY_LENGTH keyLength
Definition: AESCTRDRBG.h:385
int_fast16_t AESCTRDRBG_reseed(AESCTRDRBG_Handle handle, const void *seed, const void *additionalData, size_t additionalDataLength)
Reseed an AESCTRDRBG instance.
AESCTRDRBG_Handle AESCTRDRBG_open(uint_least8_t index, const AESCTRDRBG_Params *params)
This function opens a given AESCTRDRBG instance.
int_fast16_t AESCTRDRBG_getBytes(AESCTRDRBG_Handle handle, CryptoKey *randomBytes)
Generate a requested number of random bytes.
AESCTRDRBG_ReturnBehavior returnBehavior
Definition: AESCTRDRBG.h:405
void AESCTRDRBG_Params_init(AESCTRDRBG_Params *params)
Function to initialize the AESCTRDRBG_Params struct to its defaults.
size_t personalizationDataLength
Definition: AESCTRDRBG.h:401
Definition: AESCTRDRBG.h:308
const void * personalizationData
Definition: AESCTRDRBG.h:397