more LKM WIP: polish up the struct DRBG refactor ("struct DRBG_internal"), tweaks for buildability on 3.x kernels (now builds on 3.x, 4.x, and 5.x up to 5.8.1), move a slew of #[un]def[ines] from wc_port.h to settings.h where they belong, misc cleanup.

This commit is contained in:
Daniel Pouzzner
2020-08-13 23:43:39 -05:00
committed by Daniel Pouzzner
parent 3c2155f4a9
commit dd825d90c4
10 changed files with 58 additions and 62 deletions

View File

@@ -35,11 +35,6 @@
defined(OPENSSL_EXTRA_X509_SMALL)
#include <wolfssl/internal.h>
#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif
#include <wolfssl/error-ssl.h>
#include <wolfssl/wolfcrypt/coding.h>
#ifdef NO_INLINE
@@ -49,6 +44,10 @@
#include <wolfcrypt/src/misc.c>
#endif
#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif
#if !defined(WOLFSSL_ALLOW_NO_SUITES) && !defined(WOLFCRYPT_ONLY)
#if defined(NO_DH) && !defined(HAVE_ECC) && !defined(WOLFSSL_STATIC_RSA) \