Mamy André-Ratsimbazafy
|
0115d3fd8e
|
Rename the test PRNG to unsafe and prepare random number generation for integer ranges to not depend on the stdlib and have a single unified seed.
|
2020-04-15 00:04:44 +02:00 |
Mamy Ratsimbazafy
|
42109d4f1c
|
Square roots (#22)
* Add modular square root for p ≡ 3 (mod 4)
* Exhaustive tests for sqrt with p ≡ 3 (mod 4)
* fix typo
|
2020-04-11 23:53:21 +02:00 |
Mamy André-Ratsimbazafy
|
bde619155b
|
30% faster constant-time inversion
|
2020-03-20 23:03:52 +01:00 |
Mamy Ratsimbazafy
|
6423be0dfb
|
Add optimized squaring (~15% speedup) (#18)
* Add optimized squaring (~15% speedup)
* avoid repetitions in tests
|
2020-03-17 22:04:37 +01:00 |