mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 17:43:14 +00:00
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:
parent
82a43942c8
commit
f3953c878e
@ -2644,6 +2644,7 @@
|
|||||||
* \def MBEDTLS_MD_C
|
* \def MBEDTLS_MD_C
|
||||||
*
|
*
|
||||||
* Enable the generic layer for message digest (hashing) and HMAC.
|
* 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,
|
* Requires: one of: MBEDTLS_MD5_C, MBEDTLS_RIPEMD160_C, MBEDTLS_SHA1_C,
|
||||||
* MBEDTLS_SHA224_C, MBEDTLS_SHA256_C, MBEDTLS_SHA384_C,
|
* MBEDTLS_SHA224_C, MBEDTLS_SHA256_C, MBEDTLS_SHA384_C,
|
||||||
@ -2676,10 +2677,10 @@
|
|||||||
* \def MBEDTLS_MD_LIGHT
|
* \def MBEDTLS_MD_LIGHT
|
||||||
*
|
*
|
||||||
* Enable the "light" subset of MBEDTLS_MD_C: just hashing and basic
|
* 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
|
* 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.
|
* metadata functions is not needed.
|
||||||
*
|
*
|
||||||
* Requires: one of: MBEDTLS_MD5_C, MBEDTLS_RIPEMD160_C, MBEDTLS_SHA1_C,
|
* Requires: one of: MBEDTLS_MD5_C, MBEDTLS_RIPEMD160_C, MBEDTLS_SHA1_C,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user