File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -428,6 +428,7 @@ NO_WOLFSSL_AUTOSAR_CRYPTO
428428NO_WOLFSSL_AUTOSAR_CSM
429429NO_WOLFSSL_BASE64_DECODE
430430NO_WOLFSSL_BN_CTX
431+ NO_WOLFSSL_CURVE25519_BLINDING
431432NO_WOLFSSL_MSG_EX
432433NO_WOLFSSL_RENESAS_FSPSM_AES
433434NO_WOLFSSL_RENESAS_FSPSM_HASH
@@ -1079,6 +1080,7 @@ __svr4__
10791080__thumb__
10801081__ti__
10811082__x86_64__
1083+ __xtensa__
10821084byte
10831085configTICK_RATE_HZ
10841086fallthrough
Original file line number Diff line number Diff line change @@ -2708,6 +2708,22 @@ extern void uITRON4_free(void *p) ;
27082708 #endif
27092709#endif
27102710
2711+ #if defined(__xtensa__ )
2712+ /* Compilers for Xtensa have been seen to compile C code into
2713+ * non-constant time assembly code. The small implementation is not known
2714+ * to have these issues. */
2715+ #undef CURVE25519_SMALL
2716+ #define CURVE25519_SMALL
2717+ #undef ED25519_SMALL
2718+ #define ED25519_SMALL
2719+ #undef CURVE448_SMALL
2720+ #define CURVE448_SMALL
2721+ #undef ED448_SMALL
2722+ #define ED448_SMALL
2723+ #warning "Contact wolfSSL support for a fast implementation that is " \
2724+ "constant time"
2725+ #endif
2726+
27112727#if defined(NO_WC_SSIZE_TYPE ) || defined(ssize_t )
27122728 /* ssize_t comes from system headers or user_settings.h */
27132729#elif defined(WC_SSIZE_TYPE )
You can’t perform that action at this time.
0 commit comments