mirror of https://github.com/wolfSSL/wolfssl.git
Update the true minimum ECC key size default
The discrepancy shows up when trying to compile with FIPSpull/7550/head
parent
e340e41db3
commit
7cc42d446e
11
configure.ac
11
configure.ac
|
@ -3979,9 +3979,16 @@ fi
|
|||
|
||||
# ECC Minimum Key Size
|
||||
AC_ARG_WITH([eccminsz],
|
||||
[AS_HELP_STRING([--with-eccminsz=BITS],[Sets the ECC minimum key size (default: 224 bits)])],
|
||||
[AS_HELP_STRING([--with-eccminsz=BITS],[Sets the ECC minimum key size (default: 224 bits non-FIPS / 192 bits with FIPS)])],
|
||||
[ ENABLED_ECCMINSZ=$withval ],
|
||||
[ ENABLED_ECCMINSZ=224 ]
|
||||
[
|
||||
if test "x$ENABLED_FIPS" = "xno"
|
||||
then
|
||||
ENABLED_ECCMINSZ=224
|
||||
else
|
||||
ENABLED_ECCMINSZ=192
|
||||
fi
|
||||
]
|
||||
)
|
||||
AM_CFLAGS="$AM_CFLAGS -DECC_MIN_KEY_SZ=$ENABLED_ECCMINSZ"
|
||||
|
||||
|
|
Loading…
Reference in New Issue