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-09-13 17:14:17 +02:00
2014-11-15 07:33:07 -08:00
2014-11-15 07:33:07 -08:00
2014-11-15 07:33:07 -08:00
2014-12-01 12:38:38 +01:00
2014-11-30 23:38:01 +01:00
2014-11-30 23:38:01 +01:00
2014-11-30 23:38:01 +01:00
2014-11-26 15:21:31 +01:00
2014-11-15 07:33:07 -08:00
2014-12-02 16:50:00 +01:00
2014-11-30 23:38:01 +01:00
2014-11-15 07:33:07 -08:00
2014-06-02 15:33:35 +07:00
2014-12-01 13:40:34 +01:00
2014-12-01 13:40:36 +01:00
2014-11-15 07:33:07 -08:00
2014-12-01 13:40:34 +01:00
2014-11-15 07:33:07 -08:00
2014-12-01 13:40:34 +01:00
2014-11-15 07:33:07 -08: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-11-15 07:33:07 -08: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-11-15 07:33:07 -08:00
2014-12-02 16:50:00 +01:00
2014-11-15 07:33:07 -08:00
2014-12-02 16:50:00 +01:00
2014-12-02 16:50:00 +01:00
2014-11-30 23:38:01 +01:00
2014-11-15 07:33:07 -08:00
2014-11-15 07:33:07 -08:00
2014-12-02 16:50:00 +01:00
2014-12-01 13:40:34 +01:00