mbedtls_md_list() function
This function returns the list of digests supported by the generic digest module.
Syntax
const int *mbedtls_md_list(void);
Return value
A statically allocated array of digests. Each element in the returned list is an integer belonging to the message-digest enumeration #mbedtls_md_type_t. The last entry is 0.
Notes
The list starts with the strongest available hashes.
mbedtls_md_list() reads 1 variable:
![]()
mbedtls_md_list()