@@ -77,8 +77,10 @@ extern int tolower(int c);
7777#if defined(WOLFBOOT_SIGN_ED25519 ) || defined(WOLFBOOT_SIGN_SECONDARY_ED25519 )
7878# define HAVE_ED25519
7979# define ED25519_SMALL
80- # define NO_ED25519_SIGN
81- # define NO_ED25519_EXPORT
80+ # if !defined(WOLFBOOT_ENABLE_WOLFHSM_SERVER )
81+ # define NO_ED25519_SIGN
82+ # define NO_ED25519_EXPORT
83+ # endif
8284# define USE_SLOW_SHA512
8385# define WOLFSSL_SHA512
8486#endif
@@ -88,8 +90,10 @@ extern int tolower(int c);
8890# define HAVE_ED448
8991# define HAVE_ED448_VERIFY
9092# define ED448_SMALL
91- # define NO_ED448_SIGN
92- # define NO_ED448_EXPORT
93+ # if !defined(WOLFBOOT_ENABLE_WOLFHSM_SERVER )
94+ # define NO_ED448_SIGN
95+ # define NO_ED448_EXPORT
96+ # endif
9397# define WOLFSSL_SHA3
9498# define WOLFSSL_SHAKE256
9599# define WOLFSSL_SHA512
@@ -146,7 +150,6 @@ extern int tolower(int c);
146150#endif
147151# define WOLFSSL_SP_MATH
148152# define WOLFSSL_SP_SMALL
149- # define SP_WORD_SIZE 32
150153# define WOLFSSL_HAVE_SP_ECC
151154# define WOLFSSL_KEY_GEN
152155# define HAVE_ECC_KEY_EXPORT
@@ -343,8 +346,9 @@ extern int tolower(int c);
343346# define HAVE___UINT128_T
344347# define SP_WORD_SIZE 64
345348# elif defined(ARCH_x86_64 ) && !defined(FORCE_32BIT )
349+ # define HAVE___UINT128_T
346350# define SP_WORD_SIZE 64
347- # ifndef NO_ASM
351+ # if !defined( NO_ASM )
348352# define WOLFSSL_SP_X86_64_ASM
349353# endif
350354# else
0 commit comments