3131#ifndef __BINFHECONTEXT_WRAPPER_H__
3232#define __BINFHECONTEXT_WRAPPER_H__
3333
34- #include < pybind11/pybind11.h>
35- #include < pybind11/stl.h>
36- #include " openfhe.h"
3734#include " binfhecontext.h"
38- #include < functional>
35+
36+ #include < pybind11/pybind11.h>
3937#include < pybind11/functional.h>
4038
4139namespace py = pybind11;
4240using namespace lbcrypto ;
43- LWECiphertext binfhe_EncryptWrapper (BinFHEContext &self,
44- ConstLWEPrivateKey sk,
45- const LWEPlaintext &m,
46- BINFHE_OUTPUT output,
47- LWEPlaintextModulus p,
48- uint64_t mod);
49- LWEPlaintext binfhe_DecryptWrapper (BinFHEContext &self,
50- ConstLWEPrivateKey sk,
51- ConstLWECiphertext ct,
52- LWEPlaintextModulus p);
53-
54- uint32_t GetnWrapper (BinFHEContext &self);
55-
56- const uint64_t GetqWrapper (BinFHEContext &self) ;
57-
58- const uint64_t GetMaxPlaintextSpaceWrapper (BinFHEContext &self);
59-
60- const uint64_t GetBetaWrapper (BinFHEContext &self);
61-
62- const uint64_t GetLWECiphertextModulusWrapper (LWECiphertext &self);
6341
6442std::vector<uint64_t > GenerateLUTviaFunctionWrapper (BinFHEContext &self, py::function f, uint64_t p);
6543
66- NativeInteger StaticFunction (NativeInteger m, NativeInteger p);
67-
68- // Define static variables to hold the state
69- // extern py::function static_f;
70-
71- LWECiphertext EvalFuncWrapper (BinFHEContext &self, ConstLWECiphertext &ct, const std::vector<uint64_t > &LUT);
72-
7344#endif // __BINFHECONTEXT_WRAPPER_H__
0 commit comments