![]() |
MCUXpresso SDK API Reference Manual
Rev 2.16.000
NXP Semiconductors
|
This function constructs a job descriptor capable of performing a key blackening operation on a plaintext secure memory resident object.
Functions | |
status_t | CAAM_BLACK_GetKeyBlacken (CAAM_Type *base, caam_handle_t *handle, const uint8_t *data, size_t dataSize, caam_fifost_type_t fifostType, uint8_t *blackdata) |
Construct a black key. More... | |
status_t CAAM_BLACK_GetKeyBlacken | ( | CAAM_Type * | base, |
caam_handle_t * | handle, | ||
const uint8_t * | data, | ||
size_t | dataSize, | ||
caam_fifost_type_t | fifostType, | ||
uint8_t * | blackdata | ||
) |
This function constructs a job descriptor capable of performing a key blackening operation on a plaintext secure memory resident object.
base | CAAM peripheral base address | |
handle | jobRing used for this request | |
data | Pointer address uses to pointed the plaintext. | |
dataSize | Size of the buffer pointed by the data parameter | |
fifostType | Type of AES-CBC or AEC-CCM to encrypt plaintext | |
[out] | blackdata | Pointer address uses to pointed the black key |