fix: user_settings.h: fix typo in ECC521 defines

pull/443/head
Marco Oliverio 2024-04-29 12:50:37 +02:00
parent ee4747e79c
commit a98e74fa33
1 changed files with 5 additions and 5 deletions

View File

@ -137,10 +137,10 @@ extern int tolower(int c);
# define WOLFSSL_SP_384 # define WOLFSSL_SP_384
# elif defined(WOLFBOOT_SIGN_ECC521) # elif defined(WOLFBOOT_SIGN_ECC521)
# define HAVE_ECC521 # define HAVE_ECC521
# define WOLFSSL_SP_512 # define WOLFSSL_SP_521
# endif # endif
/* FP MAX BITS */ /* FP MAX BITS */
# if defined(HAVE_ECC512) # if defined(HAVE_ECC521)
# define FP_MAX_BITS ((528 * 2)) # define FP_MAX_BITS ((528 * 2))
# elif defined(HAVE_ECC384) # elif defined(HAVE_ECC384)
# define FP_MAX_BITS ((384 * 2)) # define FP_MAX_BITS ((384 * 2))
@ -153,11 +153,11 @@ extern int tolower(int c);
# endif # endif
# if !defined(USE_FAST_MATH) && !defined(WOLFSSL_SP_MATH_ALL) # if !defined(USE_FAST_MATH) && !defined(WOLFSSL_SP_MATH_ALL)
# if !defined(HAVE_ECC512) # if !defined(HAVE_ECC521)
# define WOLFSSL_SP_NO_512 # define WOLFSSL_SP_NO_521
# endif # endif
# if !defined(HAVE_ECC384) # if !defined(HAVE_ECC384)
# define WOLFSSL_SP_NO_383 # define WOLFSSL_SP_NO_384
# endif # endif
# if !defined(HAVE_ECC256) # if !defined(HAVE_ECC256)
# define WOLFSSL_SP_NO_256 # define WOLFSSL_SP_NO_256