d84edcd217
* Pairing - initial commit - line functions - sparse Fp12 functions * Small fixes: - Line parametrized by twist for generic algorithm - Add a conjugate operator for quadratic extensions - Have frobenius use it - Create an Affine coordinate type for elliptic curve * Implement (failing) pairing test * Stash pairing debug session, temp switch Fp12 over Fp4 * Proper naive pairing on BLS12-381 * Frobenius map * Implement naive pairing for BN curves * Add pairing tests to CI + reduce time spent on lower-level tests * Test without assembler in Github Actions + less base layers test iterations |
||
---|---|---|
.. | ||
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.