mirror of https://github.com/wolfSSL/wolfssl.git
commit
8b34ad7c4d
|
@ -6586,10 +6586,11 @@ AS_IF([test "x$ENABLED_INTEL_QA" = "xyes" || test "x$ENABLED_INTEL_QA_SYNC" = "x
|
|||
|
||||
AS_IF([test "x$QAT_DIR" = "xyes"],[AC_MSG_ERROR([need a PATH for --with-intelqa$intelqa_opt])])
|
||||
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS -I$QAT_DIR/quickassist/include -I$QAT_DIR/quickassist/include/lac -I$QAT_DIR/quickassist/utilities/osal/include \
|
||||
QAT_FLAGS="-I$QAT_DIR/quickassist/include -I$QAT_DIR/quickassist/include/lac -I$QAT_DIR/quickassist/utilities/osal/include \
|
||||
-I$QAT_DIR/quickassist/utilities/osal/src/linux/user_space/include -I$QAT_DIR/quickassist/lookaside/access_layer/include \
|
||||
-I$QAT_DIR/quickassist/lookaside/access_layer/src/common/include -I$srcdir/wolfssl -I$srcdir/wolfssl/wolfcrypt/port/intel \
|
||||
-I$QAT_DIR/quickassist/utilities/libusdm_drv"
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS $QAT_FLAGS"
|
||||
CPPFLAGS="$AM_CPPFLAGS"
|
||||
|
||||
LDFLAGS="$LDFLAGS -L$QAT_DIR/build"
|
||||
|
@ -8720,6 +8721,10 @@ if test "$ENABLED_OPENSSLEXTRA" = "yes" && test "$ENABLED_LINUXKM" = "no"
|
|||
then
|
||||
SAVE_CFLAGS=$CFLAGS
|
||||
CFLAGS="$CFLAGS -I$srcdir"
|
||||
if test "$ENABLED_INTEL_QA" = "yes"
|
||||
then
|
||||
CFLAGS="$CFLAGS $QAT_FLAGS"
|
||||
fi
|
||||
build_pwd="$(pwd)"
|
||||
cd "$srcdir"
|
||||
openssl_headers=$(echo wolfssl/openssl/*.h)
|
||||
|
|
|
@ -61981,6 +61981,10 @@ static int test_openssl_FIPS_drbg(void)
|
|||
AssertIntNE(XMEMCMP(data1, zeroData, dlen), 0);
|
||||
AssertIntNE(XMEMCMP(data1, data2, dlen), 0);
|
||||
AssertIntEQ(FIPS_drbg_uninstantiate(dctx), WOLFSSL_SUCCESS);
|
||||
#ifndef HAVE_GLOBAL_RNG
|
||||
/* gets freed by wolfSSL_Cleanup() when HAVE_GLOBAL_RNG defined */
|
||||
wolfSSL_FIPS_drbg_free(dctx);
|
||||
#endif
|
||||
|
||||
res = TEST_RES_CHECK(1);
|
||||
#endif
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue