1.1.5.1 DRV_CRYPTO_AES_AddHeader()
AES_ERROR DRV_CRYPTO_AES_AddHeader (void * contextData, void * headerData, uint32_t headerLength)
Add header data (such as Additional Authentication Data) to an AES operation.
contextData |
The context data for this operation. |
headerData |
The header data to add to the operation. |
HeaderLength |
The length of the header data. |
AES_NO_ERROR on success, AES_STATE_ERROR/AES_WRITE_ERROR on failure. |
Note:
An AES operation must be in progress (initialized by DRV_CRYPTO_AES_Initialize()).