Disable SHA512/224 & SHA512/256 on QAT

This commit is contained in:
Lealem Amedie
2023-03-29 10:17:06 -06:00
parent 65f97482f3
commit 047db19956
2 changed files with 5 additions and 2 deletions

View File

@ -4954,7 +4954,7 @@ int wolfSSL_EVP_MD_type(const WOLFSSL_EVP_MD* type)
#endif /* !WOLFSSL_NOSHA512_224 */
#ifndef WOLFSSL_NOSHA512_224
#ifndef WOLFSSL_NOSHA512_256
const WOLFSSL_EVP_MD* wolfSSL_EVP_sha512_256(void)
{
WOLFSSL_ENTER("EVP_sha512_256");

View File

@ -2342,7 +2342,10 @@ extern void uITRON4_free(void *p) ;
#ifndef WC_ASYNC_DEV_SIZE
#define WC_ASYNC_DEV_SIZE 0
#endif
#ifdef HAVE_INTEL_QA /* Disable SHA512/224 and SHA512/256 support for QAT */
#define WOLFSSL_NOSHA512_224
#define WOLFSSL_NOSHA512_256
#endif
/* leantls checks */
#ifdef WOLFSSL_LEANTLS
#ifndef HAVE_ECC