3232#include " binfhecontext_docs.h"
3333#include " binfhecontext_wrapper.h"
3434#include " openfhe.h"
35- #include " openfhe/ cereal/archives/binary.hpp"
36- #include " openfhe/ cereal/archives/portable_binary.hpp"
37- #include " openfhe/ core/utils/serial.h"
35+ #include " cereal/archives/binary.hpp"
36+ #include " cereal/archives/portable_binary.hpp"
37+ #include " core/utils/serial.h"
3838#include < iostream>
3939#include < pybind11/operators.h>
4040#include < pybind11/pybind11.h>
@@ -184,15 +184,15 @@ void bind_binfhe_context(py::module &m) {
184184 py::arg (" sk" ), py::arg (" ct" ), py::arg (" p" ) = 4 )
185185 .def (" EvalBinGate" ,
186186 static_cast <LWECiphertext (BinFHEContext::*)(
187- BINGATE, ConstLWECiphertext &, ConstLWECiphertext &) const >(
187+ BINGATE, ConstLWECiphertext &, ConstLWECiphertext &, bool ) const >(
188188 &BinFHEContext::EvalBinGate),
189189 binfhe_EvalBinGate_docs, py::arg (" gate" ), py::arg (" ct1" ),
190- py::arg (" ct2" ))
190+ py::arg (" ct2" ), py::arg ( " extended " ) = false )
191191 .def (" EvalBinGate" ,
192192 static_cast <LWECiphertext (BinFHEContext::*)(
193- BINGATE, const std::vector<LWECiphertext> &) const >(
193+ BINGATE, const std::vector<LWECiphertext> &, bool ) const >(
194194 &BinFHEContext::EvalBinGate),
195- py::arg (" gate" ), py::arg (" ctvector" ))
195+ py::arg (" gate" ), py::arg (" ctvector" ), py::arg ( " extended " ) = false )
196196 .def (" EvalNOT" , &BinFHEContext::EvalNOT, binfhe_EvalNOT_docs,
197197 py::arg (" ct" ))
198198 .def (" Getn" , &GetnWrapper)
@@ -212,7 +212,7 @@ void bind_binfhe_context(py::module &m) {
212212 .def (" EvalNOT" , &BinFHEContext::EvalNOT)
213213 .def (" EvalConstant" , &BinFHEContext::EvalConstant)
214214 .def (" ClearBTKeys" , &BinFHEContext::ClearBTKeys)
215- .def (" Bootstrap" , &BinFHEContext::Bootstrap, py::arg (" ct" ))
215+ .def (" Bootstrap" , &BinFHEContext::Bootstrap, py::arg (" ct" ), py::arg ( " extended " ) = false )
216216 .def (" SerializedVersion" , &BinFHEContext::SerializedVersion,
217217 binfhe_SerializedVersion_docs)
218218 .def (" SerializedObjectName" , &BinFHEContext::SerializedObjectName,
0 commit comments