Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
group: remove unneeded normalize_weak in
secp256k1_gej_eq_x_var
By requiring that the input group element's X coordinate (`a->x`) has a magnitude of <= 31, the normalize_weak call and also the field element variable `r2` are not needed anymore and hence can be dropped. This makes ECDSA verification a little faster. On my machine: Benchmark , Min(us) , Avg(us) , Max(us) [ master ] ecdsa_verify , 68.9 , 72.4 , 77.8 [ PR ] ecdsa_verify , 65.4 , 68.2 , 76.6
- Loading branch information