Jonas Nick 6bb0b77e15 Fix test_constant_wnaf for -1 and add a test for it.
Before, test_constant_wnaf used scalar_cadd_bit to correct for the skew. But
this function does not correctly deal with overflows which is why num = -1
couldn't be tested.

This commit also adds tests for 0, 1/2 and 1/2-1 as they are corner cases
in constant_wnaf.
2020-04-29 12:38:23 +00:00
..
2019-09-05 09:19:41 +02:00
2018-07-06 08:40:35 -04:00
2018-07-06 08:40:35 -04:00
2017-09-27 15:03:20 -07:00
2020-03-27 11:07:10 +01:00