diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 12:24:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 12:24:36 +0000 |
commit | 06eaf7232e9a920468c0f8d74dcf2fe8b555501c (patch) | |
tree | e2c7b5777f728320e5b5542b6213fd3591ba51e2 /extra/wolfssl/user_settings.h.in | |
parent | Initial commit. (diff) | |
download | mariadb-06eaf7232e9a920468c0f8d74dcf2fe8b555501c.tar.xz mariadb-06eaf7232e9a920468c0f8d74dcf2fe8b555501c.zip |
Adding upstream version 1:10.11.6.upstream/1%10.11.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'extra/wolfssl/user_settings.h.in')
-rw-r--r-- | extra/wolfssl/user_settings.h.in | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/extra/wolfssl/user_settings.h.in b/extra/wolfssl/user_settings.h.in new file mode 100644 index 00000000..425f6f15 --- /dev/null +++ b/extra/wolfssl/user_settings.h.in @@ -0,0 +1,65 @@ +#ifndef WOLFSSL_USER_SETTINGS_H +#define WOLFSSL_USER_SETTINGS_H + +#define HAVE_CRL +#define WOLFSSL_HAVE_ERROR_QUEUE +#define WOLFSSL_MYSQL_COMPATIBLE +#define HAVE_ECC +#define ECC_TIMING_RESISTANT +#define HAVE_HASHDRBG +#define WOLFSSL_AES_DIRECT +#define WOLFSSL_SHA384 +#define WOLFSSL_SHA512 +#define WOLFSSL_SHA224 +#define SESSION_CERT +#define KEEP_OUR_CERT +#define WOLFSSL_STATIC_RSA +#define WOLFSSL_USER_IO +#define WC_RSA_BLINDING +#define HAVE_TLS_EXTENSIONS +#define HAVE_AES_ECB +#define HAVE_AESGCM +#define HAVE_CHACHA +#define HAVE_POLY1305 +#define WOLFSSL_AES_COUNTER +#define NO_WOLFSSL_STUB +#define OPENSSL_ALL +#define WOLFSSL_ALLOW_TLSV10 +#define NO_OLD_TIMEVAL_NAME +#define HAVE_SECURE_RENEGOTIATION +#define HAVE_EXTENDED_MASTER + +/* TLSv1.3 definitions (all needed to build) */ +#define WOLFSSL_TLS13 +#define HAVE_HKDF +#define HAVE_TLS_EXTENSIONS +#define HAVE_SUPPORTED_CURVES +#define HAVE_FFDHE_2048 +#define WC_RSA_PSS +/* End of TLSv1.3 defines */ + +/* Features we exclude */ +#define NO_DSA +#define NO_HC128 +#define NO_MD4 +#define NO_PSK +#define NO_RABBIT +#define NO_RC4 + +/* + FP_MAX_BITS is set high solely to satisfy ssl_8k_key.test + WolfSSL will use more stack space with it, with fastmath +*/ +#cmakedefine FP_MAX_BITS 16384 +#define RSA_MAX_SIZE 8192 +#cmakedefine WOLFSSL_AESNI +#cmakedefine USE_FAST_MATH +#cmakedefine TFM_TIMING_RESISTANT +#cmakedefine HAVE_INTEL_RDSEED +#cmakedefine HAVE_INTEL_RDRAND +#cmakedefine USE_INTEL_SPEEDUP +#cmakedefine USE_FAST_MATH +#cmakedefine WOLFSSL_X86_64_BUILD +#cmakedefine WOLFSSL_SP_MATH_ALL + +#endif /* WOLFSSL_USER_SETTINGS_H */ |