Add option `NO_ECC_CACHE_CURVE` to allow disabling ECC curve cache with async.

pull/7490/head
David Garske 2024-05-01 07:25:28 -07:00
parent eaa5edb65b
commit 3afa420c31
1 changed files with 3 additions and 1 deletions

View File

@ -2755,7 +2755,9 @@ extern void uITRON4_free(void *p) ;
#endif
/* Enable ECC_CACHE_CURVE for ASYNC */
#if !defined(ECC_CACHE_CURVE)
#if !defined(ECC_CACHE_CURVE) && !defined(NO_ECC_CACHE_CURVE)
/* Enabled by default for increased async performance,
* but not required */
#define ECC_CACHE_CURVE
#endif
#endif /* WOLFSSL_ASYNC_CRYPT */