Class LWECiphertextImpl
Defined in File lwe-ciphertext.h
Page Contents
Inheritance Relationships
Base Type
public lbcrypto::Serializable
(Class Serializable)
Class Documentation
-
class lbcrypto::LWECiphertextImpl : public lbcrypto::Serializable
Inheritence diagram for lbcrypto::LWECiphertextImpl:
Collaboration diagram for lbcrypto::LWECiphertextImpl:
Class that stores a LWE scheme ciphertext; composed of a vector “a” and integer “b”.
Public Functions
-
LWECiphertextImpl() = default
-
inline LWECiphertextImpl(const NativeVector &a, const NativeInteger &b)
-
inline LWECiphertextImpl(NativeVector &&a, NativeInteger b) noexcept
-
inline LWECiphertextImpl(const LWECiphertextImpl &rhs)
-
inline LWECiphertextImpl(LWECiphertextImpl &&rhs) noexcept
-
inline LWECiphertextImpl &operator=(const LWECiphertextImpl &rhs)
-
inline LWECiphertextImpl &operator=(LWECiphertextImpl &&rhs) noexcept
-
inline const NativeVector &GetA() const
-
inline NativeVector &GetA()
-
inline const NativeInteger &GetA(std::size_t i) const
-
inline NativeInteger &GetA(std::size_t i)
-
inline const NativeInteger &GetB() const
-
inline NativeInteger &GetB()
-
inline const NativeInteger &GetModulus() const
-
inline uint32_t GetLength() const
-
inline const NativeInteger &GetptModulus() const
-
inline void SetA(const NativeVector &a)
-
inline void SetB(const NativeInteger &b)
-
inline void SetModulus(const NativeInteger &mod)
-
inline void SetptModulus(const NativeInteger &pmod)
-
inline bool operator==(const LWECiphertextImpl &other) const
-
inline bool operator!=(const LWECiphertextImpl &other) const
-
inline virtual std::string SerializedObjectName() const override
Public Static Functions
-
static inline uint32_t SerializedVersion()
-
LWECiphertextImpl() = default