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

     1  // +build ignore
     2  // The previous line (and this one up to the warning below) is removed by the
     3  // template generator.
     4  
     5  // Code generated from params.templ.go. DO NOT EDIT.
     6  
     7  package internal
     8  
     9  import (
    10  	"github.com/cloudflare/circl/pke/kyber/internal/common"
    11  )
    12  
    13  const (
    14  	K             = {{.K}}
    15  	Eta1          = {{.Eta1}}
    16  	DU            = {{.DU}}
    17  	DV            = {{.DV}}
    18  	PublicKeySize = 32 + K*common.PolySize
    19  
    20  	PrivateKeySize = K * common.PolySize
    21  
    22  	PlaintextSize  = common.PlaintextSize
    23  	SeedSize       = 32
    24  	CiphertextSize = {{.CiphertextSize}}
    25  )