mirror of
https://github.com/codex-storage/constantine.git
synced 2025-01-13 20:44:49 +00:00
a2f46f77b7
* Implement a Sage codegenerator for frobenius constants * Sage codegen for pairings * Autogen of endomorphism acceleration constants * The autogen fixed a copy-paste bug in lattice decomposition. We can use conditional negation now and save an add+dbl in scalar mul * small fixes * sage code for square root bls12-377 is not old * readme updates * Provide test suggestions for derive_frobenius * indentation + add equation form to sage * Sage test vector generator * Use the json vectors - includes type system workaround: generic sandwich https://github.com/nim-lang/Nim/issues/11225 - converting NimNode to typedesc: https://github.com/nim-lang/Nim/issues/6785 * Delete old sage code * Install nim-serialization and nim-json-serialization in CI * CI nimble install force yes
11 lines
378 B
Markdown
11 lines
378 B
Markdown
# 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.
|