constantine/sage
Mamy Ratsimbazafy eee0f4f0fc
Lattice decomposition fixes (#71)
* Sage: Lattice decomp script fixes from anonymous reviewer

* update recoding mini test and add recoding primitives

* Update the GLV recoding

* update comments on positive/negative recoding [skip ci]

* sprinkle some {.noInit.} where possible
2020-08-22 19:45:44 +02:00
..
README.md Add sage script for BN and BLS12 curve families 2020-03-21 15:50:39 +01:00
curve_family_bls12.sage G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
curve_family_bn.sage G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
lattice_decomposition_bls12_381_g1.sage Lattice decomposition fixes (#71) 2020-08-22 19:45:44 +02:00
lattice_decomposition_bn254_snarks_g1.sage Endomorphism acceleration for Scalar Multiplication (#44) 2020-06-14 15:39:06 +02:00
non_residues.sage Properly distinguish between Nogami and Snark/Ethereum BN254 closes #19 2020-04-12 03:01:50 +02:00
testgen_bls12_381.sage Add test generator for BLS12-381 G2 and pass the tests 2020-06-18 22:00:31 +02:00
testgen_bn254_snarks.sage Add a test vector generator for BN254 on G2 and pass the tests 2020-06-18 01:40:13 +02:00

README.md

Sage scripts

This folder holds sage scripts:

  • either for automating curve configuration for example for computing the prime and order of BN or BLS curve families, for irreducible polynomials for extension fields.
  • for test vectors against a reference implementation.