3.6.2.2 Crypto_Hash_Md5_Init
crypto_Hash_Status_E Crypto_Hash_Md5_Init(
st_Crypto_Hash_Md5_Ctx *ptr_md5Ctx_st,
crypto_HandlerType_E md5HandlerType_en,
uint32_t md5SessionId
);
Description
This API is used to initiate context for MD5 algorithm.
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 | crypto_HandlerType_E | md5HandlerType_en | Input | Input to select the crypto engine i.e., SW library or HW crypto |
3 | uint32_t | md5SessionId | Input | It defines the session ID, must be more than zero |
Returns
Return Type | Description |
---|---|
crypto_Hash_Status_E | Function returns the status of the API. |