Clarify relationship between MD_C and MD_LIGHT

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
Manuel Pégourié-Gonnard 2023-02-23 09:39:05 +01:00
parent 82a43942c8
commit f3953c878e

View file

@ -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,