mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
Remove fixed len constraint in FIPS mode
This commit is contained in:
@ -171,16 +171,15 @@ extern "C" {
|
|||||||
#undef ECC_TIMING_RESISTANT
|
#undef ECC_TIMING_RESISTANT
|
||||||
#define ECC_TIMING_RESISTANT
|
#define ECC_TIMING_RESISTANT
|
||||||
|
|
||||||
/* Enable cofactor support */
|
|
||||||
#ifdef HAVE_FIPS
|
#ifdef HAVE_FIPS
|
||||||
#undef HAVE_ECC_CDH
|
#undef HAVE_ECC_CDH
|
||||||
#define HAVE_ECC_CDH
|
#define HAVE_ECC_CDH /* Enable cofactor support */
|
||||||
#endif
|
|
||||||
|
#undef NO_STRICT_ECDSA_LEN
|
||||||
|
#define NO_STRICT_ECDSA_LEN /* Do not force fixed len w/ FIPS */
|
||||||
|
|
||||||
/* Validate import */
|
|
||||||
#ifdef HAVE_FIPS
|
|
||||||
#undef WOLFSSL_VALIDATE_ECC_IMPORT
|
#undef WOLFSSL_VALIDATE_ECC_IMPORT
|
||||||
#define WOLFSSL_VALIDATE_ECC_IMPORT
|
#define WOLFSSL_VALIDATE_ECC_IMPORT /* Validate import */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Compressed Key Support */
|
/* Compressed Key Support */
|
||||||
|
Reference in New Issue
Block a user