1.1.3.13 DRV_CRYPTO_AES_SetOperation()
AES_ERROR DRV_CRYPTO_AES_SetOperation (void * contextData, AESCON_OPERATION operation)
Set the AES operation mode.
| contextData |
The context data for this operation. |
| operation |
The AESCON_OPERATION operation to perform. |
| AES_NO_ERROR |
Success. |
| AES_STATE_ERROR |
Invalid or unexpected AES state. |
| AES_INITIALIZE_ERROR |
Failure during AES initialization. |
Note:
An AES operation must be in progress (initialized by DRV_CRYPTO_AES_Initialize()).
