Files
bitcoin/src
Peter Dettman cc604e9842 Avoid division when decomposing scalars
- In secp256k1_gej_split_exp, there are two divisions used. Since the denominator is a constant known at compile-time, each can be replaced by a multiplication followed by a right-shift (and rounding).
- Add the constants g1, g2 for this purpose and rewrite secp256k1_scalar_split_lambda_var accordingly.
- Remove secp256k1_num_div since no longer used

Rebased-by: Pieter Wuille
2014-12-02 16:50:00 +01:00
..
2014-12-02 16:42:50 +01:00
2014-12-02 16:42:50 +01:00
2014-12-02 16:42:50 +01:00
2014-12-01 12:38:38 +01:00
2014-12-02 16:50:00 +01:00
2014-12-02 16:50:00 +01:00
2014-12-02 16:50:00 +01:00