Template Class ParameterGenerationBase
Defined in File base-parametergeneration.h
Page Contents
Template Parameter Order
class Element
Class Documentation
-
template<class Element>
class lbcrypto::ParameterGenerationBase Abstract interface for parameter generation algorithm.
- Template Parameters
Element – a ring element.
Public Functions
-
inline virtual ~ParameterGenerationBase()
Method for computing all derived parameters based on chosen primitive parameters
- Parameters
*cryptoParams – the crypto parameters object to be populated with parameters.
evalAddCount – number of EvalAdds assuming no EvalMult and KeySwitch operations are performed.
multiplicativeDepth – 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
numPartQ – number of partitions of Q for HYBRID key switching
Method for computing all derived parameters based on chosen primitive parameters.
- Parameters
*cryptoParams – the crypto parameters object to be populated with parameters.
cyclOrder – the cyclotomic order.
numPrimes – number of modulus towers to support.
scalingModSize – the bit-width for plaintexts and DCRTPoly’s.
firstModSize – the bit-size of the first modulus
numPartQ – number of partitions of Q for HYBRID key switching
Method for computing all derived parameters based on chosen primitive parameters. This is intended for BGVrns
- Parameters
*cryptoParams – the crypto parameters object to be populated with parameters.
evalAddCount – number of EvalAdds per level.
keySwitchCount – number of KeySwitch operations per level.
cyclOrder – the cyclotomic order.
numPrimes – number of modulus towers to support.
firstModSize – the bit-size of the first modulus
dcrtBits – the bit-width of moduli
numPartQ – number of partitions of Q for HYBRID key switching
multihopQBound – bound for the HRA-secure mode of PRE
-
inline std::string SerializedObjectName() const