1.1.3.11 DRV_CRYPTO_AES_IsActive()
AES_ERROR DRV_CRYPTO_AES_IsActive (void * contextData, AES_ERROR * active)
This function checks if an AES operation is currently active.
| contextData |
The context data for this operation. |
| active |
Pointer to value to contain the active/inactive status. |
| AES_NO_ERROR |
Success. The value pointed to by active is set to AES_OPERATION_IS_ACTIVE or AES_OPERATION_IS_NOT_ACTIVE. |
| AES_CONTEXT_ERROR |
Invalid or corrupted AES context. |
| AES_STATE_ERROR |
Invalid or unexpected AES state. |
Note:
This sets the value pointed to by active to AES_OPERATION_IS_ACTIVE or AES_OPERATION_IS_NOT_ACTIVE when the call is successful.
