|
@@ -44,6 +44,9 @@ void bind_parameters(py::module &m)
|
|
.def("SetFirstModSize", &CCParams<CryptoContextCKKSRNS>::SetFirstModSize)
|
|
.def("SetFirstModSize", &CCParams<CryptoContextCKKSRNS>::SetFirstModSize)
|
|
.def("SetDigitSize", &CCParams<CryptoContextCKKSRNS>::SetDigitSize)
|
|
.def("SetDigitSize", &CCParams<CryptoContextCKKSRNS>::SetDigitSize)
|
|
.def("SetSecretKeyDist", &CCParams<CryptoContextCKKSRNS>::SetSecretKeyDist)
|
|
.def("SetSecretKeyDist", &CCParams<CryptoContextCKKSRNS>::SetSecretKeyDist)
|
|
|
|
+ .def("SetSecurityLevel", &CCParams<CryptoContextCKKSRNS>::SetSecurityLevel)
|
|
|
|
+ .def("SetRingDim", &CCParams<CryptoContextCKKSRNS>::SetRingDim)
|
|
|
|
+ .def("SetScalingModSize", &CCParams<CryptoContextCKKSRNS>::SetScalingModSize)
|
|
|
|
|
|
// getters
|
|
// getters
|
|
.def("GetPlaintextModulus", &CCParams<CryptoContextCKKSRNS>::GetPlaintextModulus)
|
|
.def("GetPlaintextModulus", &CCParams<CryptoContextCKKSRNS>::GetPlaintextModulus)
|
|
@@ -190,7 +193,6 @@ void bind_enums_and_constants(py::module &m)
|
|
.value("HEStd_256_classic", SecurityLevel::HEStd_256_classic)
|
|
.value("HEStd_256_classic", SecurityLevel::HEStd_256_classic)
|
|
.value("HEStd_NotSet", SecurityLevel::HEStd_NotSet);
|
|
.value("HEStd_NotSet", SecurityLevel::HEStd_NotSet);
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
//Parameters Type
|
|
//Parameters Type
|
|
/*TODO (Oliveira): If we expose Poly's and ParmType, this block will go somewhere else */
|
|
/*TODO (Oliveira): If we expose Poly's and ParmType, this block will go somewhere else */
|