mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-13 05:12:34 -03:00
Merge pull request #140
54b768c
Another redundant secp256k1_fe_normalize (Pieter Wuille)
This commit is contained in:
commit
ad86bdf1f2
1 changed files with 0 additions and 1 deletions
|
@ -301,7 +301,6 @@ static void secp256k1_gej_add_ge_var(secp256k1_gej_t *r, const secp256k1_gej_t *
|
||||||
secp256k1_fe_normalize(&u1);
|
secp256k1_fe_normalize(&u1);
|
||||||
secp256k1_fe_normalize(&u2);
|
secp256k1_fe_normalize(&u2);
|
||||||
if (secp256k1_fe_equal(&u1, &u2)) {
|
if (secp256k1_fe_equal(&u1, &u2)) {
|
||||||
secp256k1_fe_normalize(&s1);
|
|
||||||
secp256k1_fe_normalize(&s2);
|
secp256k1_fe_normalize(&s2);
|
||||||
if (secp256k1_fe_equal(&s1, &s2)) {
|
if (secp256k1_fe_equal(&s1, &s2)) {
|
||||||
secp256k1_gej_double_var(r, a);
|
secp256k1_gej_double_var(r, a);
|
||||||
|
|
Loading…
Reference in a new issue