Versions in this module Expand all Collapse all v1 v1.5.2 Aug 28, 2026 v1.5.1 Jul 15, 2026 v1.5.0 Jun 29, 2026 v1.4.1 May 13, 2026 v1.4.0 May 4, 2026 Changes in this version + const KATSchemaV1 + func HexDecode(s string) ([]byte, error) + func HexEncode(b []byte) string + func WriteKATBundleFile(path string, b *KATBundle) error + type KATBundle = codec.KATBundle + func ReadKATBundleFile(path string) (*KATBundle, error) + type KATEntry = codec.KATEntry v1.3.0 May 4, 2026 Changes in this version + var ErrUnsupportedParams = errors.New("ntt: backend does not support these Params") + func Register(b Backend) + func Unregister(id params.BackendID) + type Backend interface + Forward func(dst []uint64, p *Params, batch uint32) error + ID func() params.BackendID + Inverse func(dst []uint64, p *Params, batch uint32) error + Supports func(p *Params) bool + func PureGoBackend() Backend + type Params struct + ID params.NTTParamID + N uint32 + Q uint64 + func (p *Params) Validate() error + type Service struct + func NewService(p *Params, policy backend.Policy) (*Service, error) + func (s *Service) Backend() params.BackendID + func (s *Service) Forward(dst []uint64, batch uint32) error + func (s *Service) Inverse(dst []uint64, batch uint32) error + func (s *Service) Params() *Params