mirror of
https://github.com/codex-storage/constantine.git
synced 2025-02-15 20:26:30 +00:00
* split modular inversion in its own file * Stash fast GCD inversion https://eprint.iacr.org/2020/972.pdf * Stash Pornin's bingcd -> issue with inner modular reduction * Implement Bernstein-Yang inversion * Avoid Nim checks on signed integers (32-bit runtime issue) * cleanup: remove old inversion impls * cleanup: static moduli, move div2 * small comments (skip ci) * comment cleanup (skip ci) * fix total iterations on 32-bit * Add batch conversion to affine coordinates using simultaneous inversion trick * fix conditional setZero and batchAffine conversion * cleanup unneeded branches following affine conversion unification * Fix batchAffine with zero inputs and add fuzz failure to test suite
Research
This folder stashes experimentations before they are productionized into the library.
kzg
: KZG Polynomial Commitments
Constant-Size Commitments to Polynomials and Their Applications
Aniket Kate, Gregory M. Zaverucha, Ian Goldberg, 2010
https://www.iacr.org/archive/asiacrypt2010/6477178/6477178.pdf