1.1.3.3 DRV_CRYPTO_AES_AddLenALenC()
AES_ERROR DRV_CRYPTO_AES_AddLenALenC (void * contextData)
This function calculates the LenALenC input for the AES-GCM and adds it to the operation.
| contextData |
The context data for this operation. |
| AES_NO_ERROR |
Success. |
| AES_STATE_ERROR |
Invalid or unexpected AES state. |
| AES_WRITE_ERROR |
Failure while writing LenALenC data. |
Note:
An AES operation must be in progress (initialized by DRV_CRYPTO_AES_Initialize()).
