Commit 77992bc7 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-26092 Remove things we do not use in wolfssl

Add a couple of NO_XXX prprocessor constants to wolfssl build.
Looked into cmake defaults, those are set there too. Some of
these are (supposedly) weak ciphers, and some just fallen out from wide
use.
parent 093227c0
...@@ -33,12 +33,19 @@ ...@@ -33,12 +33,19 @@
#define WC_RSA_PSS #define WC_RSA_PSS
/* End of TLSv1.3 defines */ /* 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 FP_MAX_BITS is set high solely to satisfy ssl_8k_key.test
WolfSSL will use more stack space with it, with fastmath WolfSSL will use more stack space with it, with fastmath
*/ */
#define FP_MAX_BITS 16384 #cmakedefine FP_MAX_BITS 16384
#cmakedefine WOLFSSL_AESNI #cmakedefine WOLFSSL_AESNI
#cmakedefine USE_FAST_MATH #cmakedefine USE_FAST_MATH
#cmakedefine TFM_TIMING_RESISTANT #cmakedefine TFM_TIMING_RESISTANT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment