0e4dbfe400
* add Sage for constant time tonelli shanks * Fused sqrt and invsqrt via Tonelli Shanks * isolate sqrt in their own folder * Implement constant-time Tonelli Shanks for any prime * Implement Fp2 sqrt for any non-residue * Add tests for BLS12_377 * Lattice decomposition script for BLS12_377 G1 * BLS12-377 G1 GLV ok, G2 GLV issue * Proper endomorphism acceleration support for BLS12-377 * Add naive pairing support for BLS12-377 * Activate more bench for BLS12-377 * Fix MSB computation * Optimize final exponentiation + add benches |
||
---|---|---|
.. | ||
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_377_g1.sage | ||
lattice_decomposition_bls12_377_g2.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 | ||
lattice_decomposition_finder.sage | ||
non_residues.sage | ||
square_root_bls12_377.sage | ||
testgen_bls12_377.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.