constantine/sage
Mamy Ratsimbazafy 638cb71e16
Fr: Finite Field parametrized by the curve order (#115)
* Introduce Fr type: finite field over curve order. Need workaround for https://github.com/nim-lang/Nim/issues/16774

* Split curve properties into core and derived

* Attach field properties to an instantiated field instead of the curve enum

* Workaround https://github.com/nim-lang/Nim/issues/14021, yet another "working with types in macros" is difficult https://github.com/nim-lang/RFCs/issues/44

* Implement finite field over prime order of a curve subgroup

* skip OpenSSL tests on windows
2021-01-22 00:09:52 +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 Fr: Finite Field parametrized by the curve order (#115) 2021-01-22 00:09:52 +01:00
derive_frobenius.sage Fr: Finite Field parametrized by the curve order (#115) 2021-01-22 00:09:52 +01: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.