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

     1  package common
     2  
     3  import (
     4  	"github.com/cloudflare/circl/pke/kyber/internal/common/params"
     5  )
     6  
     7  const (
     8  	// Q is the parameter q ≡ 3329 = 2¹¹ + 2¹⁰ + 2⁸ + 1.
     9  	Q = params.Q
    10  
    11  	// N is the parameter N: the length of the polynomials
    12  	N = params.N
    13  
    14  	// PolySize is the size of a packed polynomial.
    15  	PolySize = params.PolySize
    16  
    17  	// PlaintextSize is the size of the plaintext
    18  	PlaintextSize = params.PlaintextSize
    19  
    20  	// Eta2 is the parameter η₂
    21  	Eta2 = params.Eta2
    22  )