mirror of
https://github.com/luxfi/crypto.git
synced 2026-10-30 16:59:13 +00:00
Mirrors the consensus + node Ringtail purge. The production Ring-LWE threshold library is luxfi/corona; the threshold-scheme byte and all aggregator codepaths use the production identifier.
8 lines
381 B
Go
8 lines
381 B
Go
// Package ntt is the canonical entry point for the Number-Theoretic Transform
|
|
// used by lattice-based cryptography (ML-KEM, ML-DSA, corona).
|
|
//
|
|
// The CPU implementation here uses gnark-crypto field arithmetic. The GPU
|
|
// path routes through github.com/luxfi/accel which exposes a polynomial
|
|
// NTT kernel for prime moduli (Kyber/Dilithium-style q = 3329 / 8380417).
|
|
package ntt
|