Class ParameterGenerationCKKSRNS
Defined in File ckksrns-parametergeneration.h
Page Contents
Inheritance Relationships
Base Type
public lbcrypto::ParameterGenerationRNS(Class ParameterGenerationRNS)
Class Documentation
-
class lbcrypto::ParameterGenerationCKKSRNS : public lbcrypto::ParameterGenerationRNS
Inheritence diagram for lbcrypto::ParameterGenerationCKKSRNS:
![digraph {
graph [bgcolor="#00000000"]
node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
edge [color="#1414CE"]
"2" [label="lbcrypto::ParameterGenerationRNS" tooltip="lbcrypto::ParameterGenerationRNS"]
"1" [label="lbcrypto::ParameterGenerationCKKSRNS" tooltip="lbcrypto::ParameterGenerationCKKSRNS" fillcolor="#BFBFBF"]
"3" [label="lbcrypto::ParameterGenerationBase< DCRTPoly >" tooltip="lbcrypto::ParameterGenerationBase< DCRTPoly >"]
"2" -> "3" [dir=forward tooltip="public-inheritance"]
"1" -> "2" [dir=forward tooltip="public-inheritance"]
}](../_images/graphviz-74c5ef7e0f5659929dc41df7eaa689c24a7012dc.png)
Collaboration diagram for lbcrypto::ParameterGenerationCKKSRNS:
![digraph {
graph [bgcolor="#00000000"]
node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
edge [color="#1414CE"]
"2" [label="lbcrypto::ParameterGenerationRNS" tooltip="lbcrypto::ParameterGenerationRNS"]
"1" [label="lbcrypto::ParameterGenerationCKKSRNS" tooltip="lbcrypto::ParameterGenerationCKKSRNS" fillcolor="#BFBFBF"]
"3" [label="lbcrypto::ParameterGenerationBase< DCRTPoly >" tooltip="lbcrypto::ParameterGenerationBase< DCRTPoly >"]
"2" -> "3" [dir=forward tooltip="public-inheritance"]
"1" -> "2" [dir=forward tooltip="public-inheritance"]
}](../_images/graphviz-74c5ef7e0f5659929dc41df7eaa689c24a7012dc.png)
Public Functions
-
virtual ~ParameterGenerationCKKSRNS() = default
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
-
inline std::string SerializedObjectName() const
Protected Functions
-
void CompositePrimeModuliGen(std::vector<NativeInteger> &moduliQ, std::vector<NativeInteger> &rootsQ, uint32_t compositeDegree, uint32_t numPrimes, uint32_t firstModSize, uint32_t dcrtBits, uint32_t cyclOrder, uint32_t registerWordSize) const
-
void SinglePrimeModuliGen(std::vector<NativeInteger> &moduliQ, std::vector<NativeInteger> &rootsQ, ScalingTechnique scalTech, uint32_t numPrimes, uint32_t firstModSize, uint32_t dcrtBits, uint32_t cyclOrder, uint32_t extraModsize) const
-
virtual ~ParameterGenerationCKKSRNS() = default