Update SHA-224 documentation.

Rephrase config.h documentation and add a note to template
configs.

Signed-off-by: Mateusz Starzyk <mateusz.starzyk@mobica.com>
This commit is contained in:
Mateusz Starzyk 2021-05-11 10:05:45 +02:00
parent 6848537eab
commit c722ebb7d9
7 changed files with 14 additions and 2 deletions

View file

@ -48,6 +48,8 @@
#define MBEDTLS_ENTROPY_C
#define MBEDTLS_MD_C
#define MBEDTLS_NET_C
/* Library does not support enabling SHA-224 without SHA-256. Future version will
* have this option disabled by default. */
#define MBEDTLS_SHA224_C
#define MBEDTLS_SHA256_C
#define MBEDTLS_SSL_CLI_C

View file

@ -56,6 +56,8 @@
#define MBEDTLS_PK_PARSE_C
#define MBEDTLS_RSA_C
#define MBEDTLS_SHA1_C
/* Library does not support enabling SHA-224 without SHA-256. Future version will
* have this option disabled by default. */
#define MBEDTLS_SHA224_C
#define MBEDTLS_SHA256_C
#define MBEDTLS_SSL_CLI_C

View file

@ -73,6 +73,8 @@
#define MBEDTLS_PK_WRITE_C
#define MBEDTLS_PLATFORM_C
#define MBEDTLS_RSA_C
/* Library does not support enabling SHA-224 without SHA-256. Future version will
* have this option disabled by default. */
#define MBEDTLS_SHA224_C
#define MBEDTLS_SHA256_C
#define MBEDTLS_SHA384_C

View file

@ -63,6 +63,8 @@
#define MBEDTLS_OID_C
#define MBEDTLS_PK_C
#define MBEDTLS_PK_PARSE_C
/* Library does not support enabling SHA-224 without SHA-256. Future version will
* have this option disabled by default. */
#define MBEDTLS_SHA224_C
#define MBEDTLS_SHA256_C
#define MBEDTLS_SHA384_C

View file

@ -84,6 +84,8 @@
#define MBEDTLS_PSA_ITS_FILE_C
#define MBEDTLS_RIPEMD160_C
#define MBEDTLS_SHA1_C
/* Library does not support enabling SHA-224 without SHA-256. Future version will
* have this option disabled by default. */
#define MBEDTLS_SHA224_C
#define MBEDTLS_SHA256_C
#define MBEDTLS_SHA384_C

View file

@ -67,6 +67,8 @@
#define MBEDTLS_OID_C
#define MBEDTLS_PK_C
#define MBEDTLS_PK_PARSE_C
/* Library does not support enabling SHA-224 without SHA-256. Future version will
* have this option disabled by default. */
#define MBEDTLS_SHA224_C
#define MBEDTLS_SHA256_C
#define MBEDTLS_SSL_COOKIE_C

View file

@ -3106,10 +3106,10 @@
* \def MBEDTLS_SHA224_C
*
* Enable the SHA-224 cryptographic hash algorithm.
* Future version will have this option disabled by default.
*
* Requires: MBEDTLS_SHA256_C. Library does not support enabling
* SHA-224 without SHA-256. Future version will have
* this option disabled by default.
* SHA-224 without SHA-256.
*
* Module: library/sha256.c
* Caller: library/md.c