We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16b8ef6 commit a0bf7c0Copy full SHA for a0bf7c0
src/lib/bindings.cpp
@@ -327,6 +327,12 @@ void bind_crypto_context(py::module &m) {
327
.def("GetCompositeDegree", [](CryptoContext<DCRTPoly>& self) {
328
return GetParamsRNSChecked(self, "GetCompositeDegree")->GetCompositeDegree();
329
})
330
+ .def("GetKeySwitchTechnique", [](CryptoContext<DCRTPoly>& self) {
331
+ return GetParamsRNSChecked(self, "GetKeySwitchTechnique")->GetKeySwitchTechnique();
332
+ })
333
+ .def("GetScalingModSize", [](CryptoContext<DCRTPoly>& self) {
334
+ return GetParamsRNSChecked(self, "GetScalingModSize")->GetScalingModSize();
335
336
.def("Enable", py::overload_cast<PKESchemeFeature>(&CryptoContextImpl<DCRTPoly>::Enable),
337
py::arg("feature"),
338
py::doc(cc_Enable_docs))
0 commit comments