constantine/helpers
Mamy Ratsimbazafy 2f839cb1bf
Initial support for Elliptic Curve (#24)
* Elliptic curve and Twisted curve templates - initial commit

* Support EC Add on G2 (Sextic Twisted curve for BN and BLS12 families)

* Refactor the config parser to prepare for elliptic coefficient support

* Add elliptic curve parameter for BN254 (Snarks), BLS12-381 and Zexe curve BLS12-377

* Add accessors to curve parameters

* Allow computing the right-hand-side of of Weierstrass equation "y² = x³ + a x + b"

* Randomized test infrastructure for elliptic curves

* Start a testing suite on ellptic curve addition (failing)

* detail projective addition

* Fix EC addition test (forgot initializing Z=1 and that there ar emultiple infinity points)

* Test with random Z coordinate + add elliptic curve test to test suite

* fix reference to the (deactivated) addchain inversion for BN curves [skip ci]

* .nims file leftover [skip ci]
2020-04-13 19:25:59 +02:00
..
README.md 30% faster constant-time inversion 2020-03-20 23:03:52 +01:00
prng.nim Initial support for Elliptic Curve (#24) 2020-04-13 19:25:59 +02:00
static_for.nim 30% faster constant-time inversion 2020-03-20 23:03:52 +01:00
timers.nim 30% faster constant-time inversion 2020-03-20 23:03:52 +01:00
x86.nim 30% faster constant-time inversion 2020-03-20 23:03:52 +01:00

README.md

Helpers, utilities, tools, miscellaneous

This folder holds helper functions that are not part of Constantine but facilitates testing and benchmarking.