Template Class RLWETrapdoorPair

Template Parameter Order

  1. class Element

Class Documentation

template<class Element>
class lbcrypto::RLWETrapdoorPair

Class to store a lattice trapdoor pair generated using construction 1 in section 3.2 of https://eprint.iacr.org/2013/297.pdf This construction is based on the hardness of Ring-LWE problem.

Public Functions

inline RLWETrapdoorPair()
inline RLWETrapdoorPair(const Matrix<Element> &r, const Matrix<Element> &e)
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)

Public Members

Matrix<Element> m_r
Matrix<Element> m_e