File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,10 +137,10 @@ extern int tolower(int c);
137137# define WOLFSSL_SP_384
138138# elif defined(WOLFBOOT_SIGN_ECC521 )
139139# define HAVE_ECC521
140- # define WOLFSSL_SP_512
140+ # define WOLFSSL_SP_521
141141# endif
142142 /* FP MAX BITS */
143- # if defined(HAVE_ECC512 )
143+ # if defined(HAVE_ECC521 )
144144# define FP_MAX_BITS ((528 * 2))
145145# elif defined(HAVE_ECC384 )
146146# define FP_MAX_BITS ((384 * 2))
@@ -153,11 +153,11 @@ extern int tolower(int c);
153153# endif
154154
155155# if !defined(USE_FAST_MATH ) && !defined(WOLFSSL_SP_MATH_ALL )
156- # if !defined(HAVE_ECC512 )
157- # define WOLFSSL_SP_NO_512
156+ # if !defined(HAVE_ECC521 )
157+ # define WOLFSSL_SP_NO_521
158158# endif
159159# if !defined(HAVE_ECC384 )
160- # define WOLFSSL_SP_NO_383
160+ # define WOLFSSL_SP_NO_384
161161# endif
162162# if !defined(HAVE_ECC256 )
163163# define WOLFSSL_SP_NO_256
You can’t perform that action at this time.
0 commit comments