forked from wolfSSL/wolfssl
Remove linuxkm-pie dependency for FIPS linuxkm
This commit is contained in:
@ -659,9 +659,6 @@ AC_ARG_ENABLE([linuxkm-pie],
|
|||||||
if test "$ENABLED_LINUXKM_PIE" = "yes"
|
if test "$ENABLED_LINUXKM_PIE" = "yes"
|
||||||
then
|
then
|
||||||
AM_CFLAGS="$AM_CFLAGS -DHAVE_LINUXKM_PIE_SUPPORT"
|
AM_CFLAGS="$AM_CFLAGS -DHAVE_LINUXKM_PIE_SUPPORT"
|
||||||
elif test "$ENABLED_FIPS" = yes && test "$ENABLED_LINUXKM" = yes
|
|
||||||
then
|
|
||||||
AC_MSG_ERROR([FIPS linuxkm requires linuxkm-pie.])
|
|
||||||
fi
|
fi
|
||||||
AC_SUBST([ENABLED_LINUXKM_PIE])
|
AC_SUBST([ENABLED_LINUXKM_PIE])
|
||||||
|
|
||||||
|
@ -497,10 +497,6 @@
|
|||||||
#error "compiling -fPIE requires PIE redirect table."
|
#error "compiling -fPIE requires PIE redirect table."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_FIPS) && !defined(HAVE_LINUXKM_PIE_SUPPORT)
|
|
||||||
#error "FIPS build requires PIE support."
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef USE_WOLFSSL_LINUXKM_PIE_REDIRECT_TABLE
|
#ifdef USE_WOLFSSL_LINUXKM_PIE_REDIRECT_TABLE
|
||||||
|
|
||||||
#ifdef CONFIG_MIPS
|
#ifdef CONFIG_MIPS
|
||||||
|
@ -48,6 +48,8 @@
|
|||||||
#ifndef NO_CRYPT_TEST
|
#ifndef NO_CRYPT_TEST
|
||||||
#include <wolfcrypt/test/test.h>
|
#include <wolfcrypt/test/test.h>
|
||||||
#endif
|
#endif
|
||||||
|
#include <wolfssl/wolfcrypt/random.h>
|
||||||
|
#include <wolfssl/wolfcrypt/sha256.h>
|
||||||
|
|
||||||
static int libwolfssl_cleanup(void) {
|
static int libwolfssl_cleanup(void) {
|
||||||
int ret;
|
int ret;
|
||||||
|
@ -3617,8 +3617,12 @@ extern void uITRON4_free(void *p) ;
|
|||||||
#undef WOLFSSL_HAVE_MAX
|
#undef WOLFSSL_HAVE_MAX
|
||||||
#undef WOLFSSL_HAVE_ASSERT_H
|
#undef WOLFSSL_HAVE_ASSERT_H
|
||||||
#define WOLFSSL_NO_ASSERT_H
|
#define WOLFSSL_NO_ASSERT_H
|
||||||
#define SIZEOF_LONG 8
|
#ifndef SIZEOF_LONG
|
||||||
#define SIZEOF_LONG_LONG 8
|
#define SIZEOF_LONG 8
|
||||||
|
#endif
|
||||||
|
#ifndef SIZEOF_LONG_LONG
|
||||||
|
#define SIZEOF_LONG_LONG 8
|
||||||
|
#endif
|
||||||
#define CHAR_BIT 8
|
#define CHAR_BIT 8
|
||||||
#ifndef WOLFSSL_SP_DIV_64
|
#ifndef WOLFSSL_SP_DIV_64
|
||||||
#define WOLFSSL_SP_DIV_64
|
#define WOLFSSL_SP_DIV_64
|
||||||
|
Reference in New Issue
Block a user