1.5.2.5 DRV_CRYPTO_HASH_IsActive()
HASH_ERROR DRV_CRYPTO_HASH_IsActive (void * contextData, HASH_ERROR * active)
This function checks if a hash operation is currently active.
| contextData |
A pointer to the context block that contains the hash context data. |
| active |
Pointer to value to contain the active/inactive status. |
| HASH_NO_ERROR |
Success. |
| HASH_CONTEXT_ERROR |
Invalid or corrupted hash context. |
| HASH_INITIALIZE_ERROR |
Failure during hash initialization. |
Note:
This sets the value pointed to by active to HASH_OPERATION_IS_ACTIVE or HASH_OPERATION_IS_NOT_ACTIVE.
