mirror of
https://github.com/luxfi/crypto.git
synced 2026-07-27 01:54:50 +00:00
poly_mul: new package implementing polynomial multiplication over the canonical FFT prime Q = 998244353 = 119 * 2^23 + 1. Schoolbook + NTT-based negacyclic convolution paths; both byte-equal across the 10 KAT vectors embedded in the test file. Reference for the C++ port and Metal kernel. pedersen: extend with DeterministicGenerators(seed) and CommitBatch. DeterministicGenerators yields a reproducible (G, H) pair from a seed so the C++ and GPU layers share the same KAT inputs. CommitBatch is the shape the GPU driver consumes. 11 KAT vectors locked in. ipa: add CheckMultiProofBatch wrapping the existing single-proof verifier. 10 KAT batched proofs, plus tamper-detect and length-mismatch tests. verkle: add Verify re-export and VerifyBatch wrapper. 10 single-leaf KAT proofs verified end-to-end through the upstream go-verkle Verify.