Class BinFHECryptoParams

Inheritance Relationships

Base Type

Class Documentation

class lbcrypto::BinFHECryptoParams : public lbcrypto::Serializable

Inheritence diagram for lbcrypto::BinFHECryptoParams:

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::BinFHECryptoParams" tooltip="lbcrypto::BinFHECryptoParams" fillcolor="#BFBFBF"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for lbcrypto::BinFHECryptoParams:

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::BinFHECryptoParams" tooltip="lbcrypto::BinFHECryptoParams" fillcolor="#BFBFBF"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

Class that stores all parameters for the RingGSW scheme used in bootstrapping.

Public Functions

BinFHECryptoParams() = default
inline BinFHECryptoParams(const std::shared_ptr<LWECryptoParams> &lweparams, const std::shared_ptr<RingGSWCryptoParams> &rgswparams)

Main constructor for BinFHECryptoParams

Parameters
inline const std::shared_ptr<LWECryptoParams> &GetLWEParams() const

Getter for LWE params

Returns

inline const std::shared_ptr<RingGSWCryptoParams> &GetRingGSWParams() const

Getter for RingGSW params

Returns

inline bool operator==(const BinFHECryptoParams &other) const

Compare two BinFHE sets of parameters

Returns

inline bool operator!=(const BinFHECryptoParams &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()