This section introduces the MD5 driver APIs including terms and acronyms, supported features, software architecture, details on how to use this driver.
More...
This section introduces the MD5 driver APIs including terms and acronyms, supported features, software architecture, details on how to use this driver.
MD5 function groups, enums, structures and functions.
Terms and acronyms
Supported features
How to use this driver
This function appends data for MD5 operation.
- Parameters
-
| [in] | context | is the parameter of this API, see hal_md5_context_t. |
| [in] | message | is the source data buffer. |
| [in] | length | is the length of the parameter message. |
- Returns
- HAL_MD5_STATUS_OK, if the operation completed successfully.
- Example
- Sample code, please refer to How to use this driver.
This function finishes the MD5 operation and receives the MD5 result.
- Parameters
-
| [in] | context | is the parameter of this API, see hal_md5_context_t. |
| [out] | digest_message | is the MD5 result. |
- Returns
- HAL_MD5_STATUS_OK, if the operation completed successfully.
- Example
- Sample code, please refer to How to use this driver.