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:
![digraph {
graph [bgcolor="#00000000"]
node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
edge [color="#1414CE"]
"2" [label="lbcrypto::Serializable" tooltip="lbcrypto::Serializable"]
"1" [label="lbcrypto::LWECiphertextImpl" tooltip="lbcrypto::LWECiphertextImpl" fillcolor="#BFBFBF"]
"1" -> "2" [dir=forward tooltip="public-inheritance"]
}](../_images/graphviz-532a22f2e826352d26c8f61e7ccc290a465f9122.png)
Collaboration diagram for lbcrypto::LWECiphertextImpl:
![digraph {
graph [bgcolor="#00000000"]
node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
edge [color="#1414CE"]
"2" [label="lbcrypto::Serializable" tooltip="lbcrypto::Serializable"]
"1" [label="lbcrypto::LWECiphertextImpl" tooltip="lbcrypto::LWECiphertextImpl" fillcolor="#BFBFBF"]
"1" -> "2" [dir=forward tooltip="public-inheritance"]
}](../_images/graphviz-532a22f2e826352d26c8f61e7ccc290a465f9122.png)
Class that stores a LWE scheme ciphertext; composed of a vector “a” and integer “b”.
Public Functions
-
LWECiphertextImpl() = default
-
inline LWECiphertextImpl(const NativeVector &a, NativeInteger b, NativeInteger p = 4)
-
inline LWECiphertextImpl(NativeVector &&a, NativeInteger b, NativeInteger p = 4) 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 NativeInteger GetB() const
-
inline NativeInteger GetModulus() const
-
inline uint32_t GetLength() const
-
inline NativeInteger GetptModulus() const
-
inline void SetA(const NativeVector &a)
-
inline void SetA(NativeVector &&a) noexcept
-
inline void SetB(NativeInteger b)
-
inline void SetModulus(NativeInteger q)
-
inline void SetptModulus(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