Pulled in patches from Debian package.
This commit is contained in:
parent
b61e6e1219
commit
13bdcc518d
37
Makefile.am
37
Makefile.am
@ -88,23 +88,28 @@ include testsuite/include.am
|
||||
include tests/include.am
|
||||
include sslSniffer/sslSnifferTest/include.am
|
||||
include rpm/include.am
|
||||
include mqx/util_lib/Sources/include.am
|
||||
include mqx/wolfcrypt_benchmark/Sources/include.am
|
||||
include mqx/wolfcrypt_test/Sources/include.am
|
||||
include mqx/wolfssl/include.am
|
||||
include mqx/wolfssl_client/Sources/include.am
|
||||
include mplabx/include.am
|
||||
include mplabx/wolfcrypt_benchmark.X/nbproject/include.am
|
||||
include mplabx/wolfcrypt_test.X/nbproject/include.am
|
||||
include mplabx/wolfssl.X/nbproject/include.am
|
||||
include mcapi/include.am
|
||||
include mcapi/wolfcrypt_mcapi.X/nbproject/include.am
|
||||
include mcapi/wolfcrypt_test.X/nbproject/include.am
|
||||
include mcapi/wolfssl.X/nbproject/include.am
|
||||
include mcapi/zlib.X/nbproject/include.am
|
||||
include tirtos/include.am
|
||||
|
||||
if BUILD_DISTRO
|
||||
# Exclude references to non-DFSG sources from build files
|
||||
else
|
||||
include mqx/util_lib/Sources/include.am
|
||||
include mqx/wolfcrypt_benchmark/Sources/include.am
|
||||
include mqx/wolfcrypt_test/Sources/include.am
|
||||
include mqx/wolfssl/include.am
|
||||
include mqx/wolfssl_client/Sources/include.am
|
||||
include mplabx/include.am
|
||||
include mplabx/wolfcrypt_benchmark.X/nbproject/include.am
|
||||
include mplabx/wolfcrypt_test.X/nbproject/include.am
|
||||
include mplabx/wolfssl.X/nbproject/include.am
|
||||
include mcapi/include.am
|
||||
include mcapi/wolfcrypt_mcapi.X/nbproject/include.am
|
||||
include mcapi/wolfcrypt_test.X/nbproject/include.am
|
||||
include mcapi/wolfssl.X/nbproject/include.am
|
||||
include mcapi/zlib.X/nbproject/include.am
|
||||
include tirtos/include.am
|
||||
include IDE/include.am
|
||||
endif
|
||||
include scripts/include.am
|
||||
include IDE/include.am
|
||||
|
||||
if USE_VALGRIND
|
||||
TESTS_ENVIRONMENT=./valgrind-error.sh
|
||||
|
18
configure.ac
18
configure.ac
@ -188,6 +188,7 @@ then
|
||||
enable_stunnel=yes
|
||||
enable_pwdbased=yes
|
||||
fi
|
||||
AM_CONDITIONAL([BUILD_DISTRO], [test "x$ENABLED_DISTRO" = "xyes"])
|
||||
|
||||
|
||||
# SINGLE THREADED
|
||||
@ -2165,7 +2166,7 @@ then
|
||||
ENABLED_ECC="yes"
|
||||
AM_CFLAGS="$AM_CFLAGS -DHAVE_ECC -DTFM_ECC256"
|
||||
AM_CONDITIONAL([BUILD_ECC], [test "x$ENABLED_ECC" = "xyes"])
|
||||
|
||||
|
||||
if test "$ENABLED_ECC_SHAMIR" = "yes"
|
||||
then
|
||||
AM_CFLAGS="$AM_CFLAGS -DECC_SHAMIR"
|
||||
@ -2238,7 +2239,7 @@ then
|
||||
ENABLED_ECC="yes"
|
||||
AM_CFLAGS="$AM_CFLAGS -DHAVE_ECC -DTFM_ECC256"
|
||||
AM_CONDITIONAL([BUILD_ECC], [test "x$ENABLED_ECC" = "xyes"])
|
||||
|
||||
|
||||
if test "$ENABLED_ECC_SHAMIR" = "yes"
|
||||
then
|
||||
AM_CFLAGS="$AM_CFLAGS -DECC_SHAMIR"
|
||||
@ -2342,7 +2343,7 @@ then
|
||||
ENABLED_ECC="yes"
|
||||
AM_CFLAGS="$AM_CFLAGS -DHAVE_ECC -DTFM_ECC256"
|
||||
AM_CONDITIONAL([BUILD_ECC], [test "x$ENABLED_ECC" = "xyes"])
|
||||
|
||||
|
||||
if test "$ENABLED_ECC_SHAMIR" = "yes"
|
||||
then
|
||||
AM_CFLAGS="$AM_CFLAGS -DECC_SHAMIR"
|
||||
@ -2839,7 +2840,7 @@ AC_ARG_ENABLE([asynccrypt],
|
||||
if test "$ENABLED_ASYNCCRYPT" = "yes"
|
||||
then
|
||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ASYNC_CRYPT -DHAVE_WOLF_EVENT"
|
||||
|
||||
|
||||
# if Cavium not enabled the use async simulator for testing
|
||||
if test "x$ENABLED_CAVIUM" = "xno"
|
||||
then
|
||||
@ -3023,7 +3024,8 @@ AS_IF([test "x$ENABLED_DTLS" = "xno" && \
|
||||
################################################################################
|
||||
|
||||
# OPTIMIZE FLAGS
|
||||
if test "$GCC" = "yes"
|
||||
# For distro disable custom build options that interfere with symbol generation
|
||||
if test "$GCC" = "yes" && test "$ENABLED_DISTRO" = "no"
|
||||
then
|
||||
AM_CFLAGS="$AM_CFLAGS -Wall -Wno-unused"
|
||||
if test "$ax_enable_debug" = "no"
|
||||
@ -3072,7 +3074,11 @@ case $host_os in
|
||||
esac
|
||||
|
||||
# add user C_EXTRA_FLAGS back
|
||||
CFLAGS="$CFLAGS $USER_C_EXTRA_FLAGS"
|
||||
# For distro disable custom build options that interfere with symbol generation
|
||||
if test "$ENABLED_DISTRO" = "no"
|
||||
then
|
||||
CFLAGS="$CFLAGS $USER_C_EXTRA_FLAGS"
|
||||
fi
|
||||
OPTION_FLAGS="$USER_CFLAGS $USER_C_EXTRA_FLAGS $AM_CFLAGS"
|
||||
|
||||
CREATE_HEX_VERSION
|
||||
|
@ -1205,7 +1205,7 @@ pslldq $4, %xmm4
|
||||
pxor %xmm4, %xmm3
|
||||
pxor %xmm2, %xmm3
|
||||
ret
|
||||
|
||||
|
||||
|
||||
/*
|
||||
void AES_256_Key_Expansion (const unsigned char *userkey,
|
||||
@ -1372,3 +1372,7 @@ gfmul:
|
||||
ret
|
||||
|
||||
#endif /* HAVE_AESGCM */
|
||||
|
||||
#if defined(__linux__) && defined(__ELF__)
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user