3.6.2.3 Crypto_Hash_Md5_Update
crypto_HandlerType_E Crypto_Hash_Md5_Update(
st_Crypto_Hash_Md5_Ctx *ptr_md5Ctx_st,
uint8_t *ptr_data,
uint32_t dataLen
);
Description
This API performs Hash calculation for MD5 algorithm in multi-steps. Initialize context by calling Crypto_Hash_Md5_Init function before calling this API and after this API call Crypto_Hash_Md5_Final to get hash/digest.
Parameters
No. | Argument Type | Argument Name | Type | Description |
---|---|---|---|---|
1 | st_Crypto_Hash_Md5_Ctx | *ptr_md5Ctx_st | Output | Md5 algorithm and crypto handler context |
2 | uint8_t* | ptr_data | Input | Input data which digest needs to calculate |
3 | uint32_t | dataLen | Input | Length of the input data in number of bytes |
Returns
Return Type | Description |
---|---|
crypto_Hash_Status_E | Function returns the status of the API. |