Class RingGSWEvalKeyImpl
Defined in File rgsw-evalkey.h
Page Contents
Inheritance Relationships
Base Type
public lbcrypto::Serializable(Class Serializable)
Class Documentation
-
class lbcrypto::RingGSWEvalKeyImpl : public lbcrypto::Serializable
Inheritence diagram for lbcrypto::RingGSWEvalKeyImpl:
![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::RingGSWEvalKeyImpl" tooltip="lbcrypto::RingGSWEvalKeyImpl" fillcolor="#BFBFBF"]
"1" -> "2" [dir=forward tooltip="public-inheritance"]
}](../_images/graphviz-5ba4d3e2cc3915be4cb37ef1d56d3257e66ff1cf.png)
Collaboration diagram for lbcrypto::RingGSWEvalKeyImpl:
![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::RingGSWEvalKeyImpl" tooltip="lbcrypto::RingGSWEvalKeyImpl" fillcolor="#BFBFBF"]
"1" -> "2" [dir=forward tooltip="public-inheritance"]
}](../_images/graphviz-5ba4d3e2cc3915be4cb37ef1d56d3257e66ff1cf.png)
Class that stores a RingGSW ciphertext; a two-dimensional vector of ring elements.
Public Functions
-
RingGSWEvalKeyImpl() = default
-
inline RingGSWEvalKeyImpl(uint32_t rowSize, uint32_t colSize) noexcept
-
inline explicit RingGSWEvalKeyImpl(const std::vector<std::vector<NativePoly>> &elements)
-
inline RingGSWEvalKeyImpl(const RingGSWEvalKeyImpl &rhs)
-
inline RingGSWEvalKeyImpl(RingGSWEvalKeyImpl &&rhs) noexcept
-
inline RingGSWEvalKeyImpl &operator=(const RingGSWEvalKeyImpl &rhs)
-
inline RingGSWEvalKeyImpl &operator=(RingGSWEvalKeyImpl &&rhs) noexcept
-
inline const std::vector<std::vector<NativePoly>> &GetElements() const
-
inline void SetElements(const std::vector<std::vector<NativePoly>> &elements)
-
inline void SetElements(std::vector<std::vector<NativePoly>> &&elements) noexcept
-
inline void SetFormat(const Format format)
Switches between COEFFICIENT and Format::EVALUATION polynomial representations using NTT
-
inline std::vector<NativePoly> &operator[](uint32_t i)
-
inline const std::vector<NativePoly> &operator[](uint32_t i) const
-
inline bool operator==(const RingGSWEvalKeyImpl &other) const
-
inline bool operator!=(const RingGSWEvalKeyImpl &other) const
-
inline virtual std::string SerializedObjectName() const override
Public Static Functions
-
static inline uint32_t SerializedVersion()
-
RingGSWEvalKeyImpl() = default