Skip to content

Commit

Permalink
Call the new s2n-bignum selector functions
Browse files Browse the repository at this point in the history
  • Loading branch information
dkostic committed Apr 30, 2024
1 parent 323d90d commit 6da596e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crypto/fipsmodule/ec/p384.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ static void p384_inv_square(p384_felem out,
static ec_nistp_felem_meth p384_felem_methods = {
bignum_add_p384,
bignum_sub_p384,
bignum_montmul_p384,
bignum_montsqr_p384 };
bignum_montmul_p384_selector,
bignum_montsqr_p384_selector };
#else
static ec_nistp_felem_meth p384_felem_methods = {
fiat_p384_add,
Expand Down
4 changes: 2 additions & 2 deletions crypto/fipsmodule/ec/p521.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ static void p521_felem_inv(p521_felem output, const p521_felem t1) {
static ec_nistp_felem_meth p521_felem_methods = {
bignum_add_p521,
bignum_sub_p521,
bignum_mul_p521,
bignum_sqr_p521 };
bignum_mul_p521_selector,
bignum_sqr_p521_selector };
#else
static ec_nistp_felem_meth p521_felem_methods = {
fiat_secp521r1_carry_add,
Expand Down

0 comments on commit 6da596e

Please sign in to comment.