1.1.3.5 DRV_CRYPTO_AES_AddRawHeader()
AES_ERROR DRV_CRYPTO_AES_AddRawHeader (void * contextData, void * headerData, uint32_t headerLength, uint32_t align)
Add 'raw' (unaligned) header data (such as CCM header 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. |
| align |
A flag indicating how the data should be aligned. |
| AES_NO_ERROR |
Success. |
| AES_STATE_ERROR |
Invalid or unexpected AES state. |
| AES_WRITE_ERROR |
Failed to write the header data. |
Note:
An AES operation must be in progress (initialized by DRV_CRYPTO_AES_Initialize()).
