PALISADE Lattice Crypto Library  1.11.9
A lattice crypto library for software engineers by software engineers.
Public Member Functions | Static Public Member Functions | List of all members
lbcrypto::RingGSWCryptoParams Class Reference

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

#include <ringcore.h>

Inheritance diagram for lbcrypto::RingGSWCryptoParams:
Inheritance graph
[legend]
Collaboration diagram for lbcrypto::RingGSWCryptoParams:
Collaboration graph
[legend]

Public Member Functions

 RingGSWCryptoParams (const std::shared_ptr< LWECryptoParams > lweparams, uint32_t baseG, uint32_t baseR, BINFHEMETHOD method)
 
void PreCompute ()
 
const std::shared_ptr< LWECryptoParamsGetLWEParams () const
 
uint32_t GetBaseG () const
 
uint32_t GetDigitsG () const
 
uint32_t GetDigitsG2 () const
 
uint32_t GetBaseR () const
 
const std::vector< NativeInteger > & GetDigitsR () const
 
const shared_ptr< ILNativeParamsGetPolyParams () const
 
const std::vector< NativeInteger > & GetGPower () const
 
const std::vector< NativeInteger > & GetGateConst () const
 
const NativePolyGetMonomial (uint32_t i) const
 
BINFHEMETHOD GetMethod () const
 
bool operator== (const RingGSWCryptoParams &other) const
 
bool operator!= (const RingGSWCryptoParams &other) const
 
template<class Archive >
void save (Archive &ar, std::uint32_t const version) const
 
template<class Archive >
void load (Archive &ar, std::uint32_t const version)
 
std::string SerializedObjectName () const
 

Static Public Member Functions

static uint32_t SerializedVersion ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ RingGSWCryptoParams()

lbcrypto::RingGSWCryptoParams::RingGSWCryptoParams ( const std::shared_ptr< LWECryptoParams lweparams,
uint32_t  baseG,
uint32_t  baseR,
BINFHEMETHOD  method 
)
inlineexplicit

Main constructor for RingGSWCryptoParams

Parameters
lweparamsa shared poiter to an instance of LWECryptoParams
baseGthe gadget base used in the bootstrapping
baseRthe base for the refreshing key
methodbootstrapping method (AP or GINX)

Member Function Documentation

◆ PreCompute()

void lbcrypto::RingGSWCryptoParams::PreCompute ( )
inline

Performs precomputations based on the supplied parameters


The documentation for this class was generated from the following file: