Implement NO_SHA384 in MD layer and PSA

This commit is contained in:
Manuel Pégourié-Gonnard 2019-07-17 16:28:21 +02:00
parent 6ba5a3fc57
commit d602084cde
3 changed files with 28 additions and 0 deletions

View file

@ -79,7 +79,9 @@ extern const mbedtls_md_info_t mbedtls_sha224_info;
extern const mbedtls_md_info_t mbedtls_sha256_info;
#endif
#if defined(MBEDTLS_SHA512_C)
#if !defined(MBEDTLS_SHA512_NO_SHA384)
extern const mbedtls_md_info_t mbedtls_sha384_info;
#endif
extern const mbedtls_md_info_t mbedtls_sha512_info;
#endif