mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
wolfcrypt/src/port/arm/armv8-aes.c: define FIPS_NO_WRAPPERS, rather than undefine HAVE_FIPS, to fix FIPS builds.
This commit is contained in:
@ -33,12 +33,13 @@
|
|||||||
#include <wolfssl/wolfcrypt/settings.h>
|
#include <wolfssl/wolfcrypt/settings.h>
|
||||||
|
|
||||||
#if !defined(NO_AES) && defined(WOLFSSL_ARMASM)
|
#if !defined(NO_AES) && defined(WOLFSSL_ARMASM)
|
||||||
#ifndef WOLFSSL_ARMASM_NO_HW_CRYPTO
|
|
||||||
|
|
||||||
#ifdef HAVE_FIPS
|
#if defined(HAVE_FIPS) && !defined(FIPS_NO_WRAPPERS)
|
||||||
#undef HAVE_FIPS
|
#define FIPS_NO_WRAPPERS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef WOLFSSL_ARMASM_NO_HW_CRYPTO
|
||||||
|
|
||||||
#include <wolfssl/wolfcrypt/aes.h>
|
#include <wolfssl/wolfcrypt/aes.h>
|
||||||
#include <wolfssl/wolfcrypt/error-crypt.h>
|
#include <wolfssl/wolfcrypt/error-crypt.h>
|
||||||
#include <wolfssl/wolfcrypt/logging.h>
|
#include <wolfssl/wolfcrypt/logging.h>
|
||||||
|
Reference in New Issue
Block a user