aboutsummaryrefslogtreecommitdiff
path: root/include/mbedtls/md.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbedtls/md.h')
-rw-r--r--include/mbedtls/md.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/mbedtls/md.h b/include/mbedtls/md.h
index 5e0376c..06538c3 100644
--- a/include/mbedtls/md.h
+++ b/include/mbedtls/md.h
@@ -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,