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:
Collaboration diagram for lbcrypto::RingGSWEvalKeyImpl:
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 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