Skip to content

Commit

Permalink
musig: remove unnecessary constant time normalize in combine
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasnick committed Jul 14, 2021
1 parent 48f63ef commit fc26ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/musig/main_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ int secp256k1_musig_pubkey_combine(const secp256k1_context* ctx, secp256k1_scrat
return 0;
}
secp256k1_ge_set_gej(&pkp, &pkj);
secp256k1_fe_normalize(&pkp.y);
secp256k1_fe_normalize_var(&pkp.y);
pk_parity = secp256k1_extrakeys_ge_even_y(&pkp);
secp256k1_xonly_pubkey_save(combined_pk, &pkp);

Expand Down

0 comments on commit fc26ca8

Please sign in to comment.