Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GaussSample32 ¶
func GaussSample64 ¶
Types ¶
type Params ¶
type Params struct { N uint64 // LWE secret dimension Sigma float64 // LWE error distribution stddev M uint64 // LWE samples supported Logq uint64 // (logarithm of) ciphertext modulus P uint64 // plaintext modulus Delta uint64 // Plaintext multiplier }
func NewParams ¶
Output LWE parameters for Regev encryption where each ciphertext can support up to 'nSamples' homomorphic additions.
func (*Params) PrintParams ¶
func (p *Params) PrintParams()
Click to show internal directories.
Click to hide internal directories.