...

Package params

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

Overview ▾

Index ▾

Package files

params.go

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
)