params.go 469 B

1234567891011121314151617
  1. // params.go - NewHope parameters.
  2. //
  3. // To the extent possible under law, Yawning Angel has waived all copyright
  4. // and related or neighboring rights to newhope, using the Creative
  5. // Commons "CC0" public domain dedication. See LICENSE or
  6. // <http://creativecommons.org/publicdomain/zero/1.0/> for full details.
  7. package newhope
  8. const (
  9. paramN = 1024
  10. paramK = 16 // used in sampler
  11. paramQ = 12289
  12. // SeedBytes is the size of the seed in bytes.
  13. SeedBytes = 32
  14. )