Ensure supported curves and curve size(s) WIN FIPS

This commit is contained in:
kaleb-himes
2022-04-19 16:16:15 -06:00
parent 5d0654ee56
commit 696c5eed25

View File

@ -62,6 +62,9 @@
#define WOLFSSL_AESNI #define WOLFSSL_AESNI
#define HAVE_INTEL_RDSEED #define HAVE_INTEL_RDSEED
#define FORCE_FAILURE_RDSEED #define FORCE_FAILURE_RDSEED
#define HAVE_ECC384
#define HAVE_ECC521
#define HAVE_SUPPORTED_CURVES
#endif /* FIPS v2 */ #endif /* FIPS v2 */
#if defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 5) #if defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 5)
#undef WOLFSSL_AESNI /* Comment out if using PAA */ #undef WOLFSSL_AESNI /* Comment out if using PAA */
@ -98,6 +101,7 @@
#define HAVE_FFDHE_8192 #define HAVE_FFDHE_8192
#define WOLFSSL_AES_OFB #define WOLFSSL_AES_OFB
#define FP_MAX_BITS 16384 #define FP_MAX_BITS 16384
#define HAVE_SUPPORTED_CURVES
#endif /* FIPS v5 */ #endif /* FIPS v5 */
#else #else
/* Enables blinding mode, to prevent timing attacks */ /* Enables blinding mode, to prevent timing attacks */