PALISADE Lattice Crypto Library
1.11.9
A lattice crypto library for software engineers by software engineers.
|
Parameter generation for BFVrns. This scheme is also referred to as the FV scheme. More...
#include <bfvrns.h>
Public Member Functions | |
LPAlgorithmParamsGenBFVrns () | |
bool | ParamsGen (shared_ptr< LPCryptoParameters< Element >> cryptoParams, int32_t evalAddCount=0, int32_t evalMultCount=0, int32_t keySwitchCount=0, size_t dcrBits=60, uint32_t n=0) const |
template<> | |
bool | ParamsGen (shared_ptr< LPCryptoParameters< Poly >> cryptoParams, int32_t evalAddCount, int32_t evalMultCount, int32_t keySwitchCount, size_t dcrtBits, uint32_t n) const |
template<> | |
bool | ParamsGen (shared_ptr< LPCryptoParameters< NativePoly >> cryptoParams, int32_t evalAddCount, int32_t evalMultCount, int32_t keySwitchCount, size_t dcrtBits, uint32_t n) const |
template<> | |
bool | ParamsGen (shared_ptr< LPCryptoParameters< DCRTPoly >> cryptoParams, int32_t evalAddCount, int32_t evalMultCount, int32_t keySwitchCount, size_t dcrtBits, uint32_t nCustom) const |
Public Member Functions inherited from lbcrypto::LPAlgorithmParamsGenBFV< Element > | |
LPAlgorithmParamsGenBFV () | |
Public Member Functions inherited from lbcrypto::LPParameterGenerationAlgorithm< Element > | |
virtual bool | ParamsGen (shared_ptr< LPCryptoParameters< Element >> cryptoParams, usint cyclOrder, usint numPrimes, usint scaleExp, usint relinWindow, MODE mode, KeySwitchTechnique ksTech, usint firstModSize, RescalingTechnique rsTech) const |
virtual bool | ParamsGen (shared_ptr< LPCryptoParameters< Element >> cryptoParams, usint cyclOrder, usint numPrimes, usint scaleExp, usint relinWindow, MODE mode, KeySwitchTechnique ksTech=BV, usint firstModSize=60, RescalingTechnique=APPROXRESCALE, uint32_t numLargeDigits=4) const |
virtual bool | ParamsGen (shared_ptr< LPCryptoParameters< Element >> cryptoParams, usint cyclOrder, usint ptm, usint numPrimes, usint relinWindow, MODE mode, KeySwitchTechnique ksTech=BV, usint firstModSize=60, usint dcrtBits=60, uint32_t numLargeDigits=4) 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 |
Parameter generation for BFVrns. This scheme is also referred to as the FV scheme.
Element | a ring element. |
|
inline |
Default constructor
|
virtual |
Method for computing all derived parameters based on chosen primitive parameters
cryptoParams | the crypto parameters object to be populated with parameters. |
evalAddCount | number of EvalAdds assuming no EvalMult and KeySwitch operations are performed. |
evalMultCount | number of EvalMults assuming no EvalAdd and KeySwitch operations are performed. |
keySwitchCount | number of KeySwitch operations assuming no EvalAdd and EvalMult operations are performed. |
dcrtBits | number of bits in each CRT modulus |
n | ring dimension in case the user wants to use a custom ring dimension |
Reimplemented from lbcrypto::LPAlgorithmParamsGenBFV< Element >.