1.4.4.7 DRV_CRYPTO_HASH_Update()
HASH_ERROR DRV_CRYPTO_HASH_Update (void * contextData, uint8_t * data, uint32_t dataLength)
Add data to a hash operation.
contextData |
A pointer to the context block that contains the hash context data. |
data |
The data to add to the operation. |
dataLength |
The length of the data. |
HASH_NO_ERROR on success, HASH_CONTEXT_ERROR / HASH_INITIALIZE_ERROR / HASH_STATE_ERROR / HASH_UPDATE_ERROR on failure. |
Note:
A HASH operation must be in progress (initialized by DRV_CRYPTO_HASH_Initialize()).