Clarify relationship between MD_C and MD_LIGHT
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
diff --git a/include/mbedtls/mbedtls_config.h b/include/mbedtls/mbedtls_config.h
index 41a007e..b1c9db9 100644
--- a/include/mbedtls/mbedtls_config.h
+++ b/include/mbedtls/mbedtls_config.h
@@ -2644,6 +2644,7 @@
* \def MBEDTLS_MD_C
*
* Enable the generic layer for message digest (hashing) and HMAC.
+ * This will automatically enabled MBEDTLS_MD_LIGHT
*
* Requires: one of: MBEDTLS_MD5_C, MBEDTLS_RIPEMD160_C, MBEDTLS_SHA1_C,
* MBEDTLS_SHA224_C, MBEDTLS_SHA256_C, MBEDTLS_SHA384_C,
@@ -2676,10 +2677,10 @@
* \def MBEDTLS_MD_LIGHT
*
* Enable the "light" subset of MBEDTLS_MD_C: just hashing and basic
- * meta-data.
+ * meta-data (see md.h for details).
*
* This is automatically enabled whenever MBEDTLS_MD_C is enabled, but it is
- * possible to enable this with MBEDTLS_MD_C if support for HMAC or extra
+ * possible to enable this without MBEDTLS_MD_C if support for HMAC or extra
* metadata functions is not needed.
*
* Requires: one of: MBEDTLS_MD5_C, MBEDTLS_RIPEMD160_C, MBEDTLS_SHA1_C,