1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-11-23 00:02:39 +03:00

Merge remote-tracking branch 'upstream-public/pr/1336' into development

This commit is contained in:
Jaeden Amero
2018-01-30 17:28:31 +00:00
10 changed files with 484 additions and 7 deletions

View File

@@ -45,6 +45,14 @@
extern "C" {
#endif
/**
* \brief Enumeration of supported message digests
*
* \warning MD2, MD4, MD5 and SHA-1 are considered weak message digests and
* their use constitutes a security risk. We recommend considering
* stronger message digests instead.
*
*/
typedef enum {
MBEDTLS_MD_NONE=0,
MBEDTLS_MD_MD2,