Bugfix: secp256k1_fe_inv_var correct output
This commit is contained in:
parent
2d93809255
commit
20c4d7ce9b
|
@ -148,7 +148,7 @@ void static secp256k1_fe_inv_var(secp256k1_fe_t *r, const secp256k1_fe_t *a) {
|
|||
secp256k1_num_mod_inverse(&n, &n, &secp256k1_fe_consts->p);
|
||||
secp256k1_num_get_bin(b, 32, &n);
|
||||
secp256k1_num_free(&n);
|
||||
secp256k1_fe_set_b32(&c, b);
|
||||
secp256k1_fe_set_b32(r, b);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue