diff --git a/IDE/ECLIPSE/DEOS/deos_wolfssl/.project b/IDE/ECLIPSE/DEOS/deos_wolfssl/.project
index 3e7019fb7..ef0b34a50 100644
--- a/IDE/ECLIPSE/DEOS/deos_wolfssl/.project
+++ b/IDE/ECLIPSE/DEOS/deos_wolfssl/.project
@@ -609,6 +609,16 @@
1
WOLFSSL_ROOT/wolfcrypt/src/wolfmath.c
+
+ wolfcrypt/src/wolfssl_sources.h
+ 1
+ WOLFSSL_ROOT/wolfcrypt/src/wolfssl_sources.h
+
+
+ wolfcrypt/src/wolfssl_sources_asm.h
+ 1
+ WOLFSSL_ROOT/wolfcrypt/src/wolfssl_sources_asm.h
+
diff --git a/IDE/XilinxSDK/2019_2/wolfCrypt_example/.project b/IDE/XilinxSDK/2019_2/wolfCrypt_example/.project
index 068e630bd..35644d64b 100644
--- a/IDE/XilinxSDK/2019_2/wolfCrypt_example/.project
+++ b/IDE/XilinxSDK/2019_2/wolfCrypt_example/.project
@@ -705,6 +705,16 @@
1
PARENT-4-PROJECT_LOC/wolfcrypt/src/wolfmath.c
+
+ src/wolfcrypt/src/wolfssl_sources.h
+ 1
+ PARENT-4-PROJECT_LOC/wolfcrypt/src/wolfssl_sources.h
+
+
+ src/wolfcrypt/src/wolfssl_sources_asm.h
+ 1
+ PARENT-4-PROJECT_LOC/wolfcrypt/src/wolfssl_sources_asm.h
+
src/wolfcrypt/test/README.md
1
diff --git a/IDE/XilinxSDK/2022_1/wolfCrypt_FreeRTOS_example/.project b/IDE/XilinxSDK/2022_1/wolfCrypt_FreeRTOS_example/.project
index dc79a4eca..e4b67b6d3 100644
--- a/IDE/XilinxSDK/2022_1/wolfCrypt_FreeRTOS_example/.project
+++ b/IDE/XilinxSDK/2022_1/wolfCrypt_FreeRTOS_example/.project
@@ -1400,6 +1400,16 @@
1
PARENT-3-WORKSPACE_LOC/wolfcrypt/src/wolfmath.c
+
+ src/wolfcrypt/src/wolfssl_sources.h
+ 1
+ PARENT-3-WORKSPACE_LOC/wolfcrypt/src/wolfssl_sources.h
+
+
+ src/wolfcrypt/src/wolfssl_sources_asm.h
+ 1
+ PARENT-3-WORKSPACE_LOC/wolfcrypt/src/wolfssl_sources_asm.h
+
src/wolfcrypt/test/test.c
1
diff --git a/IDE/XilinxSDK/2022_1/wolfCrypt_example/.project b/IDE/XilinxSDK/2022_1/wolfCrypt_example/.project
index d4a25e938..7082ac480 100644
--- a/IDE/XilinxSDK/2022_1/wolfCrypt_example/.project
+++ b/IDE/XilinxSDK/2022_1/wolfCrypt_example/.project
@@ -1400,6 +1400,16 @@
1
PARENT-3-WORKSPACE_LOC/wolfcrypt/src/wolfmath.c
+
+ src/wolfcrypt/src/wolfssl_sources.h
+ 1
+ PARENT-3-WORKSPACE_LOC/wolfcrypt/src/wolfssl_sources.h
+
+
+ src/wolfcrypt/src/wolfssl_sources_asm.h
+ 1
+ PARENT-3-WORKSPACE_LOC/wolfcrypt/src/wolfssl_sources_asm.h
+
src/wolfcrypt/test/test.c
1
diff --git a/linuxkm/linuxkm_wc_port.h b/linuxkm/linuxkm_wc_port.h
index 67079aa83..9a0ad918b 100644
--- a/linuxkm/linuxkm_wc_port.h
+++ b/linuxkm/linuxkm_wc_port.h
@@ -855,7 +855,7 @@
/* remove this multifariously conflicting macro, picked up from
* Linux arch//include/asm/current.h.
*/
- #ifndef WOLFSSL_NEED_LINUX_CURRENT
+ #ifndef WOLFSSL_LINUXKM_NEED_LINUX_CURRENT
#undef current
#endif
diff --git a/linuxkm/module_exports.c.template b/linuxkm/module_exports.c.template
index 8d98cd0b5..61af9b46b 100644
--- a/linuxkm/module_exports.c.template
+++ b/linuxkm/module_exports.c.template
@@ -20,17 +20,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
+#include "../wolfcrypt/src/wolfssl_sources.h"
#ifdef HAVE_FIPS
#define FIPS_NO_WRAPPERS
#endif
-#include
#ifndef WOLFCRYPT_ONLY
#include
#include
diff --git a/linuxkm/module_hooks.c b/linuxkm/module_hooks.c
index 32b1db9a2..2ee89004d 100644
--- a/linuxkm/module_hooks.c
+++ b/linuxkm/module_hooks.c
@@ -29,14 +29,10 @@
#define FIPS_NO_WRAPPERS
-#define WOLFSSL_NEED_LINUX_CURRENT
+#define WOLFSSL_LINUXKM_NEED_LINUX_CURRENT
-#ifdef HAVE_CONFIG_H
- #include
-#endif
+#include "../wolfcrypt/src/wolfssl_sources.h"
-#include
-#include
#ifdef WOLFCRYPT_ONLY
#include
#else
diff --git a/linuxkm/pie_first.c b/linuxkm/pie_first.c
index d0c108c5b..83cd6ef91 100644
--- a/linuxkm/pie_first.c
+++ b/linuxkm/pie_first.c
@@ -23,12 +23,8 @@
#error pie_first.c must be compiled -fPIE.
#endif
-#ifdef HAVE_CONFIG_H
- #include
-#endif
+#include "../wolfcrypt/src/wolfssl_sources.h"
-#include
-#include
#include
int wolfCrypt_PIE_first_function(void);
diff --git a/linuxkm/pie_last.c b/linuxkm/pie_last.c
index 87d1cd04b..4d54c488a 100644
--- a/linuxkm/pie_last.c
+++ b/linuxkm/pie_last.c
@@ -23,12 +23,8 @@
#error pie_last.c must be compiled -fPIE.
#endif
-#ifdef HAVE_CONFIG_H
- #include
-#endif
+#include "../wolfcrypt/src/wolfssl_sources.h"
-#include
-#include
#include
int wolfCrypt_PIE_last_function(void);
diff --git a/linuxkm/pie_redirect_table.c b/linuxkm/pie_redirect_table.c
index 75433dd32..e314a642d 100644
--- a/linuxkm/pie_redirect_table.c
+++ b/linuxkm/pie_redirect_table.c
@@ -23,12 +23,8 @@
#error pie_redirect_table.c must be compiled -fPIE.
#endif
-#ifdef HAVE_CONFIG_H
- #include
-#endif
+#include "../wolfcrypt/src/wolfssl_sources.h"
-#include
-#include
#include
/* compiling -fPIE results in references to the GOT or equivalent thereof, which remain after linking
diff --git a/src/bio.c b/src/bio.c
index 80fa6a183..c4443d8f8 100644
--- a/src/bio.c
+++ b/src/bio.c
@@ -19,11 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
+#include "../wolfcrypt/src/wolfssl_sources.h"
-#include
#if defined(OPENSSL_EXTRA) && !defined(_WIN32) && !defined(_GNU_SOURCE)
/* turn on GNU extensions for XVASPRINTF with wolfSSL_BIO_printf */
#define _GNU_SOURCE 1
diff --git a/src/conf.c b/src/conf.c
index 341385696..9a070487c 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -19,12 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
+#include "../wolfcrypt/src/wolfssl_sources.h"
#if !defined(WOLFSSL_CONF_INCLUDED)
#ifndef WOLFSSL_IGNORE_FILE_WARN
diff --git a/src/crl.c b/src/crl.c
index 6a03a39d7..36a3c5032 100644
--- a/src/crl.c
+++ b/src/crl.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
+#include "../wolfcrypt/src/wolfssl_sources.h"
/*
CRL Options:
@@ -32,11 +33,6 @@ CRL Options:
* Return any errors encountered during loading CRL
* from a directory.
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
#ifndef WOLFCRYPT_ONLY
#ifdef HAVE_CRL
diff --git a/src/dtls.c b/src/dtls.c
index 8c063bd85..fc95dc2fb 100644
--- a/src/dtls.c
+++ b/src/dtls.c
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
+#include "../wolfcrypt/src/wolfssl_sources.h"
+
/*
* WOLFSSL_DTLS_NO_HVR_ON_RESUME
* WOLFSSL_DTLS13_NO_HRR_ON_RESUME
@@ -46,12 +48,6 @@
* to explicitly enable this during runtime.
*/
-#ifdef HAVE_CONFIG_H
-#include
-#endif
-
-#include
-
#ifndef WOLFCRYPT_ONLY
#include
diff --git a/src/dtls13.c b/src/dtls13.c
index a9beec6ca..90a3cef9e 100644
--- a/src/dtls13.c
+++ b/src/dtls13.c
@@ -19,11 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
-#include
-#endif
-
-#include
+#include "../wolfcrypt/src/wolfssl_sources.h"
#ifdef WOLFSSL_DTLS13
diff --git a/src/internal.c b/src/internal.c
index ac4f56e72..6705a3399 100644
--- a/src/internal.c
+++ b/src/internal.c
@@ -19,11 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
+#include "../wolfcrypt/src/wolfssl_sources.h"
/*
* WOLFSSL_SMALL_CERT_VERIFY:
diff --git a/src/keys.c b/src/keys.c
index 79560710f..3a5c1a9e3 100644
--- a/src/keys.c
+++ b/src/keys.c
@@ -22,11 +22,7 @@
/* Name change compatibility layer no longer needs to be included here */
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
+#include "../wolfcrypt/src/wolfssl_sources.h"
#if !defined(WOLFCRYPT_ONLY) && !defined(NO_TLS)
diff --git a/src/ocsp.c b/src/ocsp.c
index 8ded866ac..846e0f9c7 100644
--- a/src/ocsp.c
+++ b/src/ocsp.c
@@ -19,15 +19,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
+#include "../wolfcrypt/src/wolfssl_sources.h"
/* Name change compatibility layer no longer needs to be included here */
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
-
/*
* WOLFSSL_NO_OCSP_ISSUER_CHAIN_CHECK:
* Disable looking for an authorized responder in the verification path of
diff --git a/src/pk.c b/src/pk.c
index 25fa65824..06afd0c68 100644
--- a/src/pk.c
+++ b/src/pk.c
@@ -19,11 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
+#include "../wolfcrypt/src/wolfssl_sources.h"
#include
#ifndef WC_NO_RNG
diff --git a/src/quic.c b/src/quic.c
index 82b0e3395..282601493 100644
--- a/src/quic.c
+++ b/src/quic.c
@@ -19,14 +19,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
+#include "../wolfcrypt/src/wolfssl_sources.h"
/* Name change compatibility layer no longer needs to be included here */
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
#ifdef NO_INLINE
#include
#else
diff --git a/src/sniffer.c b/src/sniffer.c
index b15067b5a..4d3fa07c8 100644
--- a/src/sniffer.c
+++ b/src/sniffer.c
@@ -19,14 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
-#include
-#include
+#include "../wolfcrypt/src/wolfssl_sources.h"
#ifdef WOLFSSL_ASYNC_CRYPT
#include
diff --git a/src/ssl.c b/src/ssl.c
index df7e7c9e8..715bd4119 100644
--- a/src/ssl.c
+++ b/src/ssl.c
@@ -19,12 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
+#include "../wolfcrypt/src/wolfssl_sources.h"
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
#if defined(OPENSSL_EXTRA) && !defined(_WIN32) && !defined(_GNU_SOURCE)
/* turn on GNU extensions for XISASCII */
#define _GNU_SOURCE 1
diff --git a/src/ssl_asn1.c b/src/ssl_asn1.c
index 4973235ba..6435c4aaa 100644
--- a/src/ssl_asn1.c
+++ b/src/ssl_asn1.c
@@ -19,13 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
+#include "../wolfcrypt/src/wolfssl_sources.h"
-#include
-
- #include
+#include
#ifndef WC_NO_RNG
#include
#endif
diff --git a/src/ssl_bn.c b/src/ssl_bn.c
index 2d0d29d1f..7b760517b 100644
--- a/src/ssl_bn.c
+++ b/src/ssl_bn.c
@@ -19,11 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
+#include "../wolfcrypt/src/wolfssl_sources.h"
#include
#ifndef WC_NO_RNG
diff --git a/src/ssl_certman.c b/src/ssl_certman.c
index f1dd6d00b..0d60d6151 100644
--- a/src/ssl_certman.c
+++ b/src/ssl_certman.c
@@ -19,11 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
+#include "../wolfcrypt/src/wolfssl_sources.h"
#include
diff --git a/src/ssl_crypto.c b/src/ssl_crypto.c
index 59e4db57f..2c3db21d8 100644
--- a/src/ssl_crypto.c
+++ b/src/ssl_crypto.c
@@ -19,12 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
+#include "../wolfcrypt/src/wolfssl_sources.h"
#ifndef WOLFSSL_SSL_CRYPTO_INCLUDED
#ifndef WOLFSSL_IGNORE_FILE_WARN
diff --git a/src/ssl_load.c b/src/ssl_load.c
index 051464564..f4179a94a 100644
--- a/src/ssl_load.c
+++ b/src/ssl_load.c
@@ -19,12 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
+#include "../wolfcrypt/src/wolfssl_sources.h"
/*
* WOLFSSL_SYS_CA_CERTS
diff --git a/src/ssl_misc.c b/src/ssl_misc.c
index 0d75639c8..11d875bd6 100644
--- a/src/ssl_misc.c
+++ b/src/ssl_misc.c
@@ -19,13 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
-#include
-#include
+#include "../wolfcrypt/src/wolfssl_sources.h"
#if !defined(WOLFSSL_SSL_MISC_INCLUDED)
#ifndef WOLFSSL_IGNORE_FILE_WARN
diff --git a/src/ssl_p7p12.c b/src/ssl_p7p12.c
index 87d18ff0e..719497dcc 100644
--- a/src/ssl_p7p12.c
+++ b/src/ssl_p7p12.c
@@ -19,11 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
+#include "../wolfcrypt/src/wolfssl_sources.h"
#if defined(OPENSSL_EXTRA) && (defined(HAVE_FIPS) || defined(HAVE_SELFTEST))
#include
diff --git a/src/ssl_sess.c b/src/ssl_sess.c
index 6101df711..ee6182c3b 100644
--- a/src/ssl_sess.c
+++ b/src/ssl_sess.c
@@ -19,12 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
+#include "../wolfcrypt/src/wolfssl_sources.h"
#if !defined(WOLFSSL_SSL_SESS_INCLUDED)
#ifndef WOLFSSL_IGNORE_FILE_WARN
diff --git a/src/tls.c b/src/tls.c
index 6c9d7643a..228682776 100644
--- a/src/tls.c
+++ b/src/tls.c
@@ -19,13 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-
-
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
+#include "../wolfcrypt/src/wolfssl_sources.h"
#ifndef WOLFCRYPT_ONLY
diff --git a/src/tls13.c b/src/tls13.c
index 4406130c9..87aaad99f 100644
--- a/src/tls13.c
+++ b/src/tls13.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
+#include "../wolfcrypt/src/wolfssl_sources.h"
/*
* BUILD_GCM
@@ -88,16 +89,7 @@
* Default behavior is to return a signed 64-bit value.
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
-
#ifdef WOLFSSL_TLS13
-#ifdef HAVE_SESSION_TICKET
- #include
-#endif
#ifndef WOLFCRYPT_ONLY
diff --git a/src/wolfio.c b/src/wolfio.c
index e63595a55..65793f048 100644
--- a/src/wolfio.c
+++ b/src/wolfio.c
@@ -24,11 +24,7 @@
#define WOLFSSL_STRERROR_BUFFER_SIZE 256
#endif
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
+#include "../wolfcrypt/src/wolfssl_sources.h"
#ifndef WOLFCRYPT_ONLY
diff --git a/src/x509.c b/src/x509.c
index bd4d09464..ffa2fc368 100644
--- a/src/x509.c
+++ b/src/x509.c
@@ -19,12 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
+#include "../wolfcrypt/src/wolfssl_sources.h"
#if !defined(WOLFSSL_X509_INCLUDED)
#ifndef WOLFSSL_IGNORE_FILE_WARN
diff --git a/src/x509_str.c b/src/x509_str.c
index 0e7c655e4..2553dd6a1 100644
--- a/src/x509_str.c
+++ b/src/x509_str.c
@@ -19,12 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#include
+#include "../wolfcrypt/src/wolfssl_sources.h"
#if !defined(WOLFSSL_X509_STORE_INCLUDED)
#ifndef WOLFSSL_IGNORE_FILE_WARN
diff --git a/tests/api/test_aes.c b/tests/api/test_aes.c
index 878d721be..181a4cb9d 100644
--- a/tests/api/test_aes.c
+++ b/tests/api/test_aes.c
@@ -19,14 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#if !defined(WOLFSSL_USER_SETTINGS) && !defined(WOLFSSL_NO_OPTIONS_H)
- #include
-#endif
-#include
+#include
#ifdef NO_INLINE
#include
@@ -38,7 +31,6 @@
#include
#include
#include
-#include
#include
#include
diff --git a/tests/api/test_arc4.c b/tests/api/test_arc4.c
index 6b32dd904..d1ecb0cf9 100644
--- a/tests/api/test_arc4.c
+++ b/tests/api/test_arc4.c
@@ -19,14 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#if !defined(WOLFSSL_USER_SETTINGS) && !defined(WOLFSSL_NO_OPTIONS_H)
- #include
-#endif
-#include
+#include
#ifdef NO_INLINE
#include
@@ -37,7 +30,6 @@
#include
#include
-#include
#include
#include
diff --git a/tests/api/test_ascon.c b/tests/api/test_ascon.c
index b8bef7a47..354889ec8 100644
--- a/tests/api/test_ascon.c
+++ b/tests/api/test_ascon.c
@@ -19,14 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#if !defined(WOLFSSL_USER_SETTINGS) && !defined(WOLFSSL_NO_OPTIONS_H)
- #include
-#endif
-#include
+#include
#ifdef NO_INLINE
#include
@@ -37,7 +30,6 @@
#include
#include
-#include
#include
#ifdef HAVE_ASCON
diff --git a/tests/api/test_blake2.c b/tests/api/test_blake2.c
index eb5898e13..e2e7b4655 100644
--- a/tests/api/test_blake2.c
+++ b/tests/api/test_blake2.c
@@ -19,14 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#if !defined(WOLFSSL_USER_SETTINGS) && !defined(WOLFSSL_NO_OPTIONS_H)
- #include
-#endif
-#include
+#include
#ifdef NO_INLINE
#include
@@ -37,7 +30,6 @@
#include
#include
-#include
#include
#include
diff --git a/tests/api/test_camellia.c b/tests/api/test_camellia.c
index d09b5fe35..5b2b39527 100644
--- a/tests/api/test_camellia.c
+++ b/tests/api/test_camellia.c
@@ -19,14 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#if !defined(WOLFSSL_USER_SETTINGS) && !defined(WOLFSSL_NO_OPTIONS_H)
- #include
-#endif
-#include
+#include
#ifdef NO_INLINE
#include
@@ -37,7 +30,6 @@
#include
#include
-#include
#include
#include
diff --git a/tests/api/test_chacha.c b/tests/api/test_chacha.c
index f39403bde..ef48e3afc 100644
--- a/tests/api/test_chacha.c
+++ b/tests/api/test_chacha.c
@@ -19,14 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#if !defined(WOLFSSL_USER_SETTINGS) && !defined(WOLFSSL_NO_OPTIONS_H)
- #include
-#endif
-#include
+#include
#ifdef NO_INLINE
#include
@@ -37,7 +30,6 @@
#include
#include
-#include
#include
#include
diff --git a/tests/api/test_chacha20_poly1305.c b/tests/api/test_chacha20_poly1305.c
index ddcc484cc..7001827e3 100644
--- a/tests/api/test_chacha20_poly1305.c
+++ b/tests/api/test_chacha20_poly1305.c
@@ -19,14 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#if !defined(WOLFSSL_USER_SETTINGS) && !defined(WOLFSSL_NO_OPTIONS_H)
- #include
-#endif
-#include
+#include
#ifdef NO_INLINE
#include
@@ -37,7 +30,6 @@
#include
#include
-#include
#include
#include
diff --git a/tests/api/test_cmac.c b/tests/api/test_cmac.c
index 5e829c4ce..b474db9f8 100644
--- a/tests/api/test_cmac.c
+++ b/tests/api/test_cmac.c
@@ -19,14 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#if !defined(WOLFSSL_USER_SETTINGS) && !defined(WOLFSSL_NO_OPTIONS_H)
- #include
-#endif
-#include
+#include
#ifdef NO_INLINE
#include
@@ -37,7 +30,6 @@
#include
#include
-#include
#include
#include
diff --git a/tests/api/test_curve25519.c b/tests/api/test_curve25519.c
index a9a0a5947..ff89638a0 100644
--- a/tests/api/test_curve25519.c
+++ b/tests/api/test_curve25519.c
@@ -19,14 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#if !defined(WOLFSSL_USER_SETTINGS) && !defined(WOLFSSL_NO_OPTIONS_H)
- #include
-#endif
-#include
+#include
#ifdef NO_INLINE
#include
@@ -37,7 +30,6 @@
#include
#include
-#include
#include
#include
diff --git a/tests/api/test_curve448.c b/tests/api/test_curve448.c
index 82b1eb415..0ae3736a8 100644
--- a/tests/api/test_curve448.c
+++ b/tests/api/test_curve448.c
@@ -19,14 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#if !defined(WOLFSSL_USER_SETTINGS) && !defined(WOLFSSL_NO_OPTIONS_H)
- #include
-#endif
-#include
+#include
#ifdef NO_INLINE
#include
@@ -37,7 +30,6 @@
#include
#include
-#include
#include
#include
diff --git a/tests/api/test_des3.c b/tests/api/test_des3.c
index 9b567e6d9..1feb84357 100644
--- a/tests/api/test_des3.c
+++ b/tests/api/test_des3.c
@@ -19,14 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#if !defined(WOLFSSL_USER_SETTINGS) && !defined(WOLFSSL_NO_OPTIONS_H)
- #include
-#endif
-#include
+#include
#ifdef NO_INLINE
#include
@@ -37,7 +30,6 @@
#include
#include
-#include
#include
#include
diff --git a/tests/api/test_dh.c b/tests/api/test_dh.c
index 232422e25..259f0cc2b 100644
--- a/tests/api/test_dh.c
+++ b/tests/api/test_dh.c
@@ -19,14 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#if !defined(WOLFSSL_USER_SETTINGS) && !defined(WOLFSSL_NO_OPTIONS_H)
- #include
-#endif
-#include
+#include
#ifdef NO_INLINE
#include
@@ -37,7 +30,6 @@
#include
#include
-#include
#include
#include
diff --git a/tests/api/test_dsa.c b/tests/api/test_dsa.c
index ed62eab6e..f406f5a5b 100644
--- a/tests/api/test_dsa.c
+++ b/tests/api/test_dsa.c
@@ -19,14 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#if !defined(WOLFSSL_USER_SETTINGS) && !defined(WOLFSSL_NO_OPTIONS_H)
- #include
-#endif
-#include
+#include
#ifdef NO_INLINE
#include
@@ -37,7 +30,6 @@
#include
#include
-#include
#include
#include
diff --git a/tests/api/test_ecc.c b/tests/api/test_ecc.c
index 78fc5559a..984403578 100644
--- a/tests/api/test_ecc.c
+++ b/tests/api/test_ecc.c
@@ -19,14 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#if !defined(WOLFSSL_USER_SETTINGS) && !defined(WOLFSSL_NO_OPTIONS_H)
- #include
-#endif
-#include
+#include
#ifdef NO_INLINE
#include
@@ -38,7 +31,6 @@
#include
#include
#include
-#include
#include
#include
diff --git a/tests/api/test_ed25519.c b/tests/api/test_ed25519.c
index 075d376dd..884d4e1ed 100644
--- a/tests/api/test_ed25519.c
+++ b/tests/api/test_ed25519.c
@@ -19,14 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#if !defined(WOLFSSL_USER_SETTINGS) && !defined(WOLFSSL_NO_OPTIONS_H)
- #include
-#endif
-#include
+#include
#ifdef NO_INLINE
#include
@@ -37,7 +30,6 @@
#include
#include
-#include
#include
#include
diff --git a/tests/api/test_ed448.c b/tests/api/test_ed448.c
index 0fdc1ee1f..87ec0e17d 100644
--- a/tests/api/test_ed448.c
+++ b/tests/api/test_ed448.c
@@ -19,14 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
-
-#if !defined(WOLFSSL_USER_SETTINGS) && !defined(WOLFSSL_NO_OPTIONS_H)
- #include
-#endif
-#include
+#include
#ifdef NO_INLINE
#include
@@ -37,7 +30,6 @@
#include
#include
-#include
#include
#include
diff --git a/tests/api/test_evp.c b/tests/api/test_evp.c
index def5f19b3..5010f678a 100644
--- a/tests/api/test_evp.c
+++ b/tests/api/test_evp.c
@@ -19,15 +19,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
-#ifdef HAVE_CONFIG_H
- #include
-#endif
+#include
-#include
-#include
#include