Class RingGSWEvalKeyImpl

Inheritance Relationships

Base Type

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"] }

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"] }

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
template<class Archive>
inline void save(Archive &ar, std::uint32_t const version) const
template<class Archive>
inline void load(Archive &ar, std::uint32_t const version)
inline virtual std::string SerializedObjectName() const override

Public Static Functions

static inline uint32_t SerializedVersion()