mirror of https://gogs.blitter.com/RLabs/xs
18 lines
469 B
Go
18 lines
469 B
Go
|
// params.go - NewHope parameters.
|
||
|
//
|
||
|
// To the extent possible under law, Yawning Angel has waived all copyright
|
||
|
// and related or neighboring rights to newhope, using the Creative
|
||
|
// Commons "CC0" public domain dedication. See LICENSE or
|
||
|
// <http://creativecommons.org/publicdomain/zero/1.0/> for full details.
|
||
|
|
||
|
package newhope
|
||
|
|
||
|
const (
|
||
|
paramN = 1024
|
||
|
paramK = 16 // used in sampler
|
||
|
paramQ = 12289
|
||
|
|
||
|
// SeedBytes is the size of the seed in bytes.
|
||
|
SeedBytes = 32
|
||
|
)
|