Versions in this module Expand all Collapse all v6 v6.1.0 Oct 14, 2024 v6.0.0 Aug 6, 2024 Changes in this version + func AddLazy(op interface{}, ringQP ringqp.Ring, opOut *Ciphertext) + func MulByXPowAlphaMinusOneLazy(ctIn *Ciphertext, powXMinusOne ringqp.Poly, ringQP ringqp.Ring, ...) + func MulByXPowAlphaMinusOneThenAddLazy(ctIn *Ciphertext, powXMinusOne ringqp.Poly, ringQP ringqp.Ring, ...) + func NoiseRGSWCiphertext(ct *Ciphertext, pt ring.Poly, sk *rlwe.SecretKey, params rlwe.Parameters) (float64, float64) + func Reduce(ctIn *Ciphertext, ringQP ringqp.Ring, opOut *Ciphertext) + type Ciphertext struct + Value [2]rlwe.GadgetCiphertext + func NewCiphertext(params rlwe.Parameters, levelQ, levelP, BaseTwoDecomposition int) (ct *Ciphertext) + func (ct *Ciphertext) ReadFrom(r io.Reader) (n int64, err error) + func (ct *Ciphertext) UnmarshalBinary(p []byte) (err error) + func (ct Ciphertext) BinarySize() int + func (ct Ciphertext) LevelP() int + func (ct Ciphertext) LevelQ() int + func (ct Ciphertext) MarshalBinary() (p []byte, err error) + func (ct Ciphertext) WriteTo(w io.Writer) (n int64, err error) + type Encryptor struct + func NewEncryptor(params rlwe.ParameterProvider, key rlwe.EncryptionKey) *Encryptor + func (enc Encryptor) Encrypt(pt *rlwe.Plaintext, ct interface{}) (err error) + func (enc Encryptor) EncryptZero(ct interface{}) (err error) + func (enc Encryptor) ShallowCopy() *Encryptor + type Evaluator struct + func NewEvaluator(params rlwe.ParameterProvider, evk rlwe.EvaluationKeySet) *Evaluator + func (eval Evaluator) ExternalProduct(op0 *rlwe.Ciphertext, op1 *Ciphertext, opOut *rlwe.Ciphertext) + func (eval Evaluator) ShallowCopy() *Evaluator + func (eval Evaluator) WithKey(evk rlwe.EvaluationKeySet) *Evaluator + type Plaintext rlwe.GadgetPlaintext + func NewPlaintext(params rlwe.Parameters, value interface{}, ...) (*Plaintext, error) Other modules containing this package github.com/tuneinsight/lattigo/v5