2019-06-04 17:11:42 +02:00
|
|
|
#ifndef WOLFSSL_USER_SETTINGS_H
|
|
|
|
#define WOLFSSL_USER_SETTINGS_H
|
|
|
|
|
|
|
|
#define HAVE_CRL
|
2022-01-24 20:00:35 +01:00
|
|
|
#define WOLFSSL_HAVE_ERROR_QUEUE
|
2019-06-04 17:11:42 +02:00
|
|
|
#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
|
2019-07-01 00:43:26 +02:00
|
|
|
#define WOLFSSL_USER_IO
|
2019-06-04 17:11:42 +02:00
|
|
|
#define WC_RSA_BLINDING
|
|
|
|
#define HAVE_TLS_EXTENSIONS
|
|
|
|
#define HAVE_AES_ECB
|
2021-06-09 13:27:00 +02:00
|
|
|
#define HAVE_AESGCM
|
2023-08-02 20:52:53 +02:00
|
|
|
#define HAVE_CHACHA
|
|
|
|
#define HAVE_POLY1305
|
2024-02-10 00:30:47 +01:00
|
|
|
#define HAVE_THREAD_LS
|
2019-06-04 17:11:42 +02:00
|
|
|
#define WOLFSSL_AES_COUNTER
|
|
|
|
#define NO_WOLFSSL_STUB
|
|
|
|
#define OPENSSL_ALL
|
2021-06-09 12:34:23 +02:00
|
|
|
#define WOLFSSL_ALLOW_TLSV10
|
2020-05-05 18:10:53 +02:00
|
|
|
#define NO_OLD_TIMEVAL_NAME
|
2023-08-02 20:52:53 +02:00
|
|
|
#define HAVE_SECURE_RENEGOTIATION
|
|
|
|
#define HAVE_EXTENDED_MASTER
|
2024-01-17 10:45:05 +01:00
|
|
|
/*
|
|
|
|
Following is workaround about a WolfSSL 5.6.6 bug.
|
|
|
|
The bug is about undefined sessionCtxSz during compilation.
|
|
|
|
*/
|
|
|
|
#define WOLFSSL_SESSION_ID_CTX
|
2021-07-21 21:26:25 +02:00
|
|
|
|
|
|
|
/* 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 */
|
|
|
|
|
2021-07-28 15:43:12 +02:00
|
|
|
/* Features we exclude */
|
|
|
|
#define NO_DSA
|
|
|
|
#define NO_HC128
|
|
|
|
#define NO_MD4
|
|
|
|
#define NO_PSK
|
|
|
|
#define NO_RABBIT
|
|
|
|
#define NO_RC4
|
|
|
|
|
2022-07-25 13:27:23 +02:00
|
|
|
#define RSA_MAX_SIZE 8192
|
2024-02-10 00:30:47 +01:00
|
|
|
#define WOLFSSL_SP_MATH_ALL
|
|
|
|
#define WOLFSSL_HAVE_SP_RSA
|
|
|
|
#ifndef WOLFSSL_SP_4096
|
|
|
|
#define WOLFSSL_SP_4096
|
|
|
|
#endif
|
|
|
|
|
2019-06-04 17:11:42 +02:00
|
|
|
#cmakedefine WOLFSSL_AESNI
|
|
|
|
#cmakedefine HAVE_INTEL_RDSEED
|
2020-09-17 18:05:53 +02:00
|
|
|
#cmakedefine HAVE_INTEL_RDRAND
|
2019-06-04 17:11:42 +02:00
|
|
|
#cmakedefine USE_INTEL_SPEEDUP
|
|
|
|
#cmakedefine WOLFSSL_X86_64_BUILD
|
2024-02-10 00:30:47 +01:00
|
|
|
#cmakedefine WOLFSSL_SP_X86_64
|
|
|
|
#cmakedefine WOLFSSL_SP_X86_64_ASM
|
2019-06-04 17:11:42 +02:00
|
|
|
|
|
|
|
#endif /* WOLFSSL_USER_SETTINGS_H */
|