Fix for FIPS ready CAVP tests. For now it requires ECC 192-bit.

This commit is contained in:
David Garske
2020-10-23 15:38:38 -07:00
parent 5de80d8e41
commit fa1af37470

View File

@ -1756,8 +1756,8 @@ extern void uITRON4_free(void *p) ;
#ifdef WOLFSSL_MIN_ECC_BITS
#define ECC_MIN_KEY_SZ WOLFSSL_MIN_ECC_BITS
#else
#if defined(HAVE_FIPS) && defined(HAVE_FIPS_VERSION) && HAVE_FIPS_VERSION == 2
/* FIPSv2 includes 192-bit support */
#if defined(HAVE_FIPS) && defined(HAVE_FIPS_VERSION) && HAVE_FIPS_VERSION >= 2
/* FIPSv2 and ready (for now) includes 192-bit support */
#define ECC_MIN_KEY_SZ 192
#else
#define ECC_MIN_KEY_SZ 224