Skip to content

Commit 3afa420

Browse files
committed
Add option NO_ECC_CACHE_CURVE to allow disabling ECC curve cache with async.
1 parent eaa5edb commit 3afa420

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

wolfssl/wolfcrypt/settings.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2755,7 +2755,9 @@ extern void uITRON4_free(void *p) ;
27552755
#endif
27562756

27572757
/* Enable ECC_CACHE_CURVE for ASYNC */
2758-
#if !defined(ECC_CACHE_CURVE)
2758+
#if !defined(ECC_CACHE_CURVE) && !defined(NO_ECC_CACHE_CURVE)
2759+
/* Enabled by default for increased async performance,
2760+
* but not required */
27592761
#define ECC_CACHE_CURVE
27602762
#endif
27612763
#endif /* WOLFSSL_ASYNC_CRYPT */

0 commit comments

Comments
 (0)