package params

import "github.com/cloudflare/circl/pke/kyber/internal/common/params"

Index

Constants

const (
	// Q is the parameter q ≡ 3329 = 2¹¹ + 2¹⁰ + 2⁸ + 1.
	Q int16 = 3329

	// N is the parameter N: the length of the polynomials
	N = 256

	// PolySize is the size of a packed polynomial.
	PolySize = 384

	// PlaintextSize is the size of the plaintext
	PlaintextSize = 32

	// Eta2 is the parameter η₂
	Eta2 = 2
)

Source Files

params.go

Version
v1.6.1 (latest)
Published
Apr 9, 2025
Platform
linux/amd64
Last checked
3 hours ago

Tools for package owners.