MCUXpresso SDK API Reference Manual  Rev 2.16.000
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

Overview

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...
 

Function Documentation

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.

Parameters
baseCAAM peripheral base address
handlejobRing used for this request
dataPointer address uses to pointed the plaintext.
dataSizeSize of the buffer pointed by the data parameter
fifostTypeType of AES-CBC or AEC-CCM to encrypt plaintext
[out]blackdataPointer address uses to pointed the black key
Returns
Status of the request