github.com/cloudflare/circl@v1.5.0/pke/kyber/internal/common/params/params.go (about)

     1  package params
     2  
     3  // We put these parameters in a separate package so that the Go code,
     4  // such as asm/src.go, that generates assembler can import it.
     5  
     6  const (
     7  	// Q is the parameter q ≡ 3329 = 2¹¹ + 2¹⁰ + 2⁸ + 1.
     8  	Q int16 = 3329
     9  
    10  	// N is the parameter N: the length of the polynomials
    11  	N = 256
    12  
    13  	// PolySize is the size of a packed polynomial.
    14  	PolySize = 384
    15  
    16  	// PlaintextSize is the size of the plaintext
    17  	PlaintextSize = 32
    18  
    19  	// Eta2 is the parameter η₂
    20  	Eta2 = 2
    21  )