d376f08d1b
* Split elliptic curve tests to better use parallel testing * Add support for printing points on G2 * Implement multiplication and division by optimal sextic non-residue (BLS12-381) * Implement modular square root in 𝔽p2 * Support EC add and EC double on G2 (for BLS12-381) * Support G2 divisive twists with non-unit sextic-non-residue like BN254 snarks * Add EC G2 bench * cleanup some unused warnings * Reorg the tests for parallelization and to avoid instantiating huge files |
||
---|---|---|
.. | ||
README.md | ||
curve_family_bls12.sage | ||
curve_family_bn.sage | ||
lattice_decomposition_bls12_381_g1.sage | ||
lattice_decomposition_bn254_snarks_g1.sage | ||
non_residues.sage | ||
testgen_bls12_381.sage | ||
testgen_bn254_snarks.sage |
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.