Skip to content

Commit

Permalink
use variable-time group addition in _ec_pubkey_combine
Browse files Browse the repository at this point in the history
  • Loading branch information
theStack committed Aug 14, 2024
1 parent 3fdf146 commit 319ff2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/secp256k1.c
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ int secp256k1_ec_pubkey_combine(const secp256k1_context* ctx, secp256k1_pubkey *
for (i = 0; i < n; i++) {
ARG_CHECK(pubnonces[i] != NULL);
secp256k1_pubkey_load(ctx, &Q, pubnonces[i]);
secp256k1_gej_add_ge(&Qj, &Qj, &Q);
secp256k1_gej_add_ge_var(&Qj, &Qj, &Q, NULL);
}
if (secp256k1_gej_is_infinity(&Qj)) {
return 0;
Expand Down

0 comments on commit 319ff2c

Please sign in to comment.