constantine/sage
Mamy Ratsimbazafy a022db1c08
Sqrt fp2 acceleration (#109)
* Use sqrt.square() == a instead of sqrt * invsqrt = -1 (Euler criterion) for sqrt existence.

* Accelerate sqrt_fp2 by 33%
2020-12-13 17:08:32 +01:00
..
README.md Sage constants & tests codegen (#101) 2020-10-10 16:19:23 +02:00
curves.sage Implement BW6-761 Endomorphism acceleration (#104) 2020-10-13 23:58:35 +02:00
derive_endomorphisms.sage Implement BW6-761 Endomorphism acceleration (#104) 2020-10-13 23:58:35 +02:00
derive_frobenius.sage Implement BW6-761 Endomorphism acceleration (#104) 2020-10-13 23:58:35 +02:00
derive_pairing.sage Sage constants & tests codegen (#101) 2020-10-10 16:19:23 +02:00
derive_square_root.sage Sqrt fp2 acceleration (#109) 2020-12-13 17:08:32 +01:00
square_root_bls12_377.sage BLS12-377 (#91) 2020-09-27 09:15:14 +02:00
testgen_scalar_mul.sage Implement BW6-761 Endomorphism acceleration (#104) 2020-10-13 23:58:35 +02:00

README.md

Sage scripts

This folder holds sage scripts:

  • for automating curve configuration
    • Cofactor determination
    • Frobenius precomputations
    • Scalar docomposition for endomorphism acceleration
    • Pairing parameters for naive implementation (ate and final exponent)
    • Square-root parameters for naive implementation.
  • for test vectors against a reference implementation.