1.4.4.5 DRV_CRYPTO_HASH_IsActive()
HASH_ERROR DRV_CRYPTO_HASH_IsActive (void * contextData, HASH_ERROR * active)
Returns whether a hash operation is 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 on success, HASH_CONTEXT_ERROR / HASH_INITIALIZE_ERROR on failure. |
Note:
This sets the value pointed to by active to HASH_OPERATION_IS_ACTIVE or HASH_OPERATION_IS_NOT_ACTIVE.