Class LeveledSHEBFVRNS
Defined in File bfvrns-leveledshe.h
Page Contents
Inheritance Relationships
Base Type
public lbcrypto::LeveledSHERNS
(Class LeveledSHERNS)
Class Documentation
-
class lbcrypto::LeveledSHEBFVRNS : public lbcrypto::LeveledSHERNS
Inheritence diagram for lbcrypto::LeveledSHEBFVRNS:
Collaboration diagram for lbcrypto::LeveledSHEBFVRNS:
Public Functions
-
inline virtual ~LeveledSHEBFVRNS()
-
void EvalAddInPlace(Ciphertext<DCRTPoly> &ciphertext, ConstPlaintext plaintext) const override
Virtual function to define the interface for homomorphic addition of ciphertexts.
- Parameters
ciphertext – the input ciphertext.
plaintext – the input plaintext.
-
void EvalSubInPlace(Ciphertext<DCRTPoly> &ciphertext, ConstPlaintext plaintext) const override
Virtual function to define the interface for homomorphic addition of ciphertexts.
- Parameters
ciphertext – the input ciphertext.
plaintext – the input plaintext.
-
virtual Ciphertext<DCRTPoly> EvalMult(ConstCiphertext<DCRTPoly> ciphertext1, ConstCiphertext<DCRTPoly> ciphertext2) const override
Virtual function to define the interface for multiplicative homomorphic evaluation of ciphertext.
- Parameters
ciphertext1 – the input ciphertext.
ciphertext2 – the input ciphertext.
- Returns
the new ciphertext.
-
virtual Ciphertext<DCRTPoly> EvalSquare(ConstCiphertext<DCRTPoly> ciphertext) const override
Virtual function to define the interface for multiplicative homomorphic evaluation of ciphertext.
- Parameters
ciphertext1 – the input ciphertext.
ciphertext2 – the input ciphertext.
- Returns
the new ciphertext.
-
Ciphertext<DCRTPoly> EvalMult(ConstCiphertext<DCRTPoly> ciphertext1, ConstCiphertext<DCRTPoly> ciphertext2, const EvalKey<DCRTPoly> evalKey) const override
-
void EvalMultInPlace(Ciphertext<DCRTPoly> &ciphertext1, ConstCiphertext<DCRTPoly> ciphertext2, const EvalKey<DCRTPoly> evalKey) const override
-
Ciphertext<DCRTPoly> EvalSquare(ConstCiphertext<DCRTPoly> ciphertext, const EvalKey<DCRTPoly> evalKey) const override
-
void EvalSquareInPlace(Ciphertext<DCRTPoly> &ciphertext1, const EvalKey<DCRTPoly> evalKey) const override
-
void EvalMultCoreInPlace(Ciphertext<DCRTPoly> &ciphertext, const NativeInteger &constant) const
-
Ciphertext<DCRTPoly> EvalAutomorphism(ConstCiphertext<DCRTPoly> ciphertext, usint i, const std::map<usint, EvalKey<DCRTPoly>> &evalKeyMap, CALLER_INFO_ARGS_HDR) const override
-
std::shared_ptr<std::vector<DCRTPoly>> EvalFastRotationPrecompute(ConstCiphertext<DCRTPoly> ciphertext) const override
-
virtual Ciphertext<DCRTPoly> Compress(ConstCiphertext<DCRTPoly> ciphertext, size_t towersLeft) const override
-
inline std::string SerializedObjectName() const
-
void EvalAddInPlace(Ciphertext<DCRTPoly> &ciphertext1, ConstCiphertext<DCRTPoly> ciphertext2) const override
Virtual function to define the interface for in-place homomorphic addition of ciphertexts.
- Parameters
ciphertext1 – the input/output ciphertext.
ciphertext2 – the input ciphertext.
-
void EvalAddInPlace(Ciphertext<DCRTPoly> &ciphertext, ConstPlaintext plaintext) const override
Virtual function to define the interface for homomorphic addition of ciphertexts.
- Parameters
ciphertext – the input ciphertext.
plaintext – the input plaintext.
-
void EvalSubInPlace(Ciphertext<DCRTPoly> &ciphertext1, ConstCiphertext<DCRTPoly> ciphertext2) const override
Virtual function to define the interface for homomorphic subtraction of ciphertexts.
- Parameters
ciphertext1 – the input ciphertext.
ciphertext2 – the input ciphertext.
-
void EvalSubInPlace(Ciphertext<DCRTPoly> &ciphertext, ConstPlaintext plaintext) const override
-
Ciphertext<DCRTPoly> EvalMult(ConstCiphertext<DCRTPoly> ciphertext1, ConstCiphertext<DCRTPoly> ciphertext2) const override
-
Ciphertext<DCRTPoly> EvalMult(ConstCiphertext<DCRTPoly> ciphertext, ConstPlaintext plaintext) const override
-
void EvalMultInPlace(Ciphertext<DCRTPoly> &ciphertext, ConstPlaintext plaintext) const override
-
Ciphertext<DCRTPoly> EvalSquare(ConstCiphertext<DCRTPoly> ciphertext) const override
-
inline virtual ~LeveledSHEBFVRNS()