273 #ifndef ti_drivers_AESCTRDRBG__include 274 #define ti_drivers_AESCTRDRBG__include 300 #define AESCTRDRBG_STATUS_RESERVED (-32) 308 #define AESCTRDRBG_STATUS_SUCCESS (0) 316 #define AESCTRDRBG_STATUS_ERROR (-1) 326 #define AESCTRDRBG_STATUS_RESOURCE_UNAVAILABLE (-2) 334 #define AESCTRDRBG_STATUS_RESEED_REQUIRED (-3) 340 #define AESCTRDRBG_STATUS_UNINSTANTIATED (-4) 345 #define AESCTRDRBG_AES_BLOCK_SIZE_BYTES 16 603 const void *additionalData,
604 size_t additionalDataLength);
ADC_Params params
Definition: Driver_Init.h:11
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:350
#define AESCTRDRBG_AES_BLOCK_SIZE_BYTES
The AES block size in bytes.
Definition: AESCTRDRBG.h:345
void AESCTRDRBG_close(AESCTRDRBG_Handle handle)
Function to close an AESCTRDRBG instance specified by the AESCTRDRBG_Handle.
Definition: AESCTRDRBG.h:393
Definition: AESCTRDRBG.h:388
const AESCTRDRBG_Params AESCTRDRBG_defaultParams
Default AESCTRDRBG_Params structure.
void AESCTRDRBG_init(void)
This function initializes the AESCTRDRBG driver.
void * object
Definition: AESCTRDRBG.h:409
CryptoKey datastructure.
Definition: CryptoKey.h:192
AESCTRDRBG Global configuration.
Definition: AESCTRDRBG.h:407
AESCTRDRBG_SEED_LENGTH
Length in bytes of seed used to instantiate or reseed instance.
Definition: AESCTRDRBG.h:358
Definition: AESCTRDRBG.h:360
int_fast16_t AESCTRDRBG_generateKey(AESCTRDRBG_Handle handle, CryptoKey *randomKey)
Populates the provided CryptoKey object's plaintext key-material with random bytes.
Definition: AESCTRDRBG.h:359
AESCTRDRBG_Handle AESCTRDRBG_construct(AESCTRDRBG_Config *config, const AESCTRDRBG_Params *params)
Constructs a new AESCTRDRBG object.
AESCTRDRBG Parameters.
Definition: AESCTRDRBG.h:428
void const * hwAttrs
Definition: AESCTRDRBG.h:412
AESCTRDRBG_ReturnBehavior
The way in which AESCTRDRBG function calls return after generating the requested entropy.
Definition: AESCTRDRBG.h:383
Definition: AESCTRDRBG.h:351
const void * seed
Definition: AESCTRDRBG.h:436
int_fast16_t AESCTRDRBG_getRandomBytes(AESCTRDRBG_Handle handle, void *randomBytes, size_t randomBytesSize)
Generates the requested number of random bytes and outputs to the given array.
void * custom
Definition: AESCTRDRBG.h:456
uint32_t reseedInterval
Definition: AESCTRDRBG.h:432
AESCTRDRBG_Config * AESCTRDRBG_Handle
A handle that is returned from an AESCTRDRBG_open() call.
Definition: AESCTRDRBG.h:418
AESCTRDRBG_AES_KEY_LENGTH keyLength
Definition: AESCTRDRBG.h:429
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)
Generates the requested number of random bytes.
AESCTRDRBG_ReturnBehavior returnBehavior
Definition: AESCTRDRBG.h:449
void AESCTRDRBG_Params_init(AESCTRDRBG_Params *params)
Function to initialize the AESCTRDRBG_Params struct to its defaults.
size_t personalizationDataLength
Definition: AESCTRDRBG.h:445
Definition: AESCTRDRBG.h:352
const void * personalizationData
Definition: AESCTRDRBG.h:441