Class KeySwitchRNS

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class lbcrypto::KeySwitchRNS : public lbcrypto::KeySwitchBase<DCRTPoly>

Inheritence diagram for lbcrypto::KeySwitchRNS:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "3" [label="lbcrypto::KeySwitchBV" tooltip="lbcrypto::KeySwitchBV"]
    "4" [label="lbcrypto::KeySwitchHYBRID" tooltip="lbcrypto::KeySwitchHYBRID"]
    "1" [label="lbcrypto::KeySwitchRNS" tooltip="lbcrypto::KeySwitchRNS" fillcolor="#BFBFBF"]
    "2" [label="lbcrypto::KeySwitchBase< DCRTPoly >" tooltip="lbcrypto::KeySwitchBase< DCRTPoly >"]
    "3" -> "1" [dir=forward tooltip="public-inheritance"]
    "4" -> "1" [dir=forward tooltip="public-inheritance"]
    "1" -> "2" [dir=forward tooltip="public-inheritance"]
}

Collaboration diagram for lbcrypto::KeySwitchRNS:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "1" [label="lbcrypto::KeySwitchRNS" tooltip="lbcrypto::KeySwitchRNS" fillcolor="#BFBFBF"]
    "2" [label="lbcrypto::KeySwitchBase< DCRTPoly >" tooltip="lbcrypto::KeySwitchBase< DCRTPoly >"]
    "1" -> "2" [dir=forward tooltip="public-inheritance"]
}

A child of KeySwitchBase for use with RNS keyswitching.

Template Parameters

Element – a ring element.

Subclassed by lbcrypto::KeySwitchBV, lbcrypto::KeySwitchHYBRID

Public Functions

virtual ~KeySwitchRNS() = default
template<class Archive>
inline void save(Archive &ar) const
template<class Archive>
inline void load(Archive &ar)
inline virtual std::string SerializedObjectName() const