273 #ifndef ti_drivers_AESCTRDRBG__include 274 #define ti_drivers_AESCTRDRBG__include 301 #define AESCTRDRBG_STATUS_RESERVED AES_STATUS_RESERVED 309 #define AESCTRDRBG_STATUS_SUCCESS AES_STATUS_SUCCESS 317 #define AESCTRDRBG_STATUS_ERROR AES_STATUS_ERROR 327 #define AESCTRDRBG_STATUS_RESOURCE_UNAVAILABLE AES_STATUS_RESOURCE_UNAVAILABLE 335 #define AESCTRDRBG_STATUS_RESEED_REQUIRED (AES_STATUS_DRIVER_SPECIFIC_ERROR - 0) 341 #define AESCTRDRBG_STATUS_UNINSTANTIATED (AES_STATUS_DRIVER_SPECIFIC_ERROR - 1) 350 #define AESCTRDRBG_STATUS_UNALIGNED_IO_NOT_SUPPORTED (AES_STATUS_DRIVER_SPECIFIC_ERROR - 2) 355 #define AESCTRDRBG_AES_BLOCK_SIZE_BYTES 16 613 const void *additionalData,
614 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:360
#define AESCTRDRBG_AES_BLOCK_SIZE_BYTES
The AES block size in bytes.
Definition: AESCTRDRBG.h:355
void AESCTRDRBG_close(AESCTRDRBG_Handle handle)
Function to close an AESCTRDRBG instance specified by the AESCTRDRBG_Handle.
Definition: AESCTRDRBG.h:403
Definition: AESCTRDRBG.h:398
const AESCTRDRBG_Params AESCTRDRBG_defaultParams
Default AESCTRDRBG_Params structure.
AES Global configuration.
Definition: AESCommon.h:154
void AESCTRDRBG_init(void)
This function initializes the AESCTRDRBG driver.
CryptoKey datastructure.
Definition: CryptoKey.h:192
AESCTRDRBG_SEED_LENGTH
Length in bytes of seed used to instantiate or reseed instance.
Definition: AESCTRDRBG.h:368
Definition: AESCTRDRBG.h:370
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:369
AESCTRDRBG_Handle AESCTRDRBG_construct(AESCTRDRBG_Config *config, const AESCTRDRBG_Params *params)
Constructs a new AESCTRDRBG object.
AESCTRDRBG Parameters.
Definition: AESCTRDRBG.h:432
AESCTRDRBG_ReturnBehavior
The way in which AESCTRDRBG function calls return after generating the requested entropy.
Definition: AESCTRDRBG.h:393
Definition: AESCTRDRBG.h:361
const void * seed
Definition: AESCTRDRBG.h:440
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:460
uint32_t reseedInterval
Definition: AESCTRDRBG.h:436
AESCommon_Config AESCTRDRBG_Config
AESCTRDRBG Global configuration.
Definition: AESCTRDRBG.h:417
AESCTRDRBG_Config * AESCTRDRBG_Handle
A handle that is returned from an AESCTRDRBG_open() call.
Definition: AESCTRDRBG.h:422
AESCTRDRBG_AES_KEY_LENGTH keyLength
Definition: AESCTRDRBG.h:433
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.
AES common module header for all devices.
int_fast16_t AESCTRDRBG_getBytes(AESCTRDRBG_Handle handle, CryptoKey *randomBytes)
Generates the requested number of random bytes.
AESCTRDRBG_ReturnBehavior returnBehavior
Definition: AESCTRDRBG.h:453
void AESCTRDRBG_Params_init(AESCTRDRBG_Params *params)
Function to initialize the AESCTRDRBG_Params struct to its defaults.
size_t personalizationDataLength
Definition: AESCTRDRBG.h:449
Definition: AESCTRDRBG.h:362
const void * personalizationData
Definition: AESCTRDRBG.h:445