constantine/constantine
Mamy Ratsimbazafy 85d365359d
Endomorphism G2 (#79)
* Clear cofactor in BN254 G2 testgen and frobenius

* Implement G2 endomorphism acceleration in Sage

* Somewhat working accelerated scalar mul G2 (2.2x) faster
- OK for BN254_Snarks
- Some test failing for BLS12-381

* Fix negative miniscalars by adding an extra bit of encoding

* Cleanup accel params

* Small recoding optimizations
2020-09-03 23:10:48 +02:00
..
arithmetic Endomorphism G2 (#79) 2020-09-03 23:10:48 +02:00
config Bash ~_~ .... Azure 32-bit (+ fix BN inversion alternative path) 2020-09-01 13:40:39 +02:00
elliptic Endomorphism G2 (#79) 2020-09-03 23:10:48 +02:00
hash_to_curve reorg the codebase + add/update READMEs in folders with research (#12) 2020-02-24 10:50:19 +01:00
io Frobenius endomorphism ψ = φ−1 πp φ (psi = untwist-Frobenius-Twist) (#78) 2020-08-31 23:18:48 +02:00
isogeny Frobenius endomorphism ψ = φ−1 πp φ (psi = untwist-Frobenius-Twist) (#78) 2020-08-31 23:18:48 +02:00
pairing Add more curves for testing: Curve25519, BLS12-377, BN446, FKM-447, BLS12-461, BN462 2020-03-21 13:05:58 +01:00
primitives Frobenius endomorphism ψ = φ−1 πp φ (psi = untwist-Frobenius-Twist) (#78) 2020-08-31 23:18:48 +02:00
signatures reorg the codebase + add/update READMEs in folders with research (#12) 2020-02-24 10:50:19 +01:00
tower_field_extensions Frobenius endomorphism ψ = φ−1 πp φ (psi = untwist-Frobenius-Twist) (#78) 2020-08-31 23:18:48 +02:00
arithmetic.nim Double-width tower extension part 1 (#72) 2020-08-20 10:21:39 +02:00
primitives.nim Double-width tower extension part 1 (#72) 2020-08-20 10:21:39 +02:00
towers.nim cosmetic fix on non-residue 2020-06-16 12:03:09 +02:00