1234567891011121314151617181920212223242526 |
- #ifndef OPENFHE_CRYPTOCONTEXT_BINDINGS_H
- #define OPENFHE_CRYPTOCONTEXT_BINDINGS_H
- #include <pybind11/pybind11.h>
- #include <pybind11/stl.h>
- #include <vector>
- #include <algorithm>
- #include <complex>
- #include "openfhe.h"
- #include "bindings.h"
- namespace py = pybind11;
- using namespace lbcrypto;
- using ParmType = typename DCRTPoly::Params;
- Plaintext MakeCKKSPackedPlaintextWrapper(std::shared_ptr<CryptoContextImpl<DCRTPoly>> &self,
- const std::vector<float> &value,
- size_t depth, uint32_t level,
- const std::shared_ptr<ParmType> params,
- usint slots);
- // std::shared_ptr<std::vector<Element>> EvalFastRotationPrecomputeWrapper(CryptoContext<DCRTPoly> &self,ConstCiphertext<Element> ciphertext) const {
- // return self->EvalFastRotationPrecompute(ciphertext);
- // }
- #endif // OPENFHE_CRYPTOCONTEXT_BINDINGS_H
|