85d365359d
* 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 |
||
---|---|---|
.. | ||
README.md | ||
curve_family_bls12.sage | ||
curve_family_bn.sage | ||
frobenius_bls12_377.sage | ||
frobenius_bls12_381.sage | ||
frobenius_bn254_nogami.sage | ||
frobenius_bn254_snarks.sage | ||
lattice_decomposition_bls12_381_g1.sage | ||
lattice_decomposition_bls12_381_g2.sage | ||
lattice_decomposition_bn254_snarks_g1.sage | ||
lattice_decomposition_bn254_snarks_g2.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.