638cb71e16
* 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 |
||
---|---|---|
.. | ||
README.md | ||
curves.sage | ||
derive_endomorphisms.sage | ||
derive_frobenius.sage | ||
derive_pairing.sage | ||
derive_square_root.sage | ||
square_root_bls12_377.sage | ||
testgen_scalar_mul.sage |
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.