1234567891011121314151617181920212223242526272829303132 |
- #pragma once
- #include "openfhe/core/lattice/hal/lat-backend.h"
- #include <memory>
- namespace lbcrypto
- {
- template <class Element>
- class SchemeBase;
- } // lbcrypto
- namespace openfhe
- {
- using SchemeBase = lbcrypto::SchemeBase<lbcrypto::DCRTPoly>;
- class SchemeBaseDCRTPoly final
- {
- std::shared_ptr<SchemeBase> m_schemeBase;
- public:
- SchemeBaseDCRTPoly() = default;
- explicit SchemeBaseDCRTPoly(const std::shared_ptr<SchemeBase>& schemeBase);
- SchemeBaseDCRTPoly(const SchemeBaseDCRTPoly&) = delete;
- SchemeBaseDCRTPoly(SchemeBaseDCRTPoly&&) = delete;
- SchemeBaseDCRTPoly& operator=(const SchemeBaseDCRTPoly&) = delete;
- SchemeBaseDCRTPoly& operator=(SchemeBaseDCRTPoly&&) = delete;
- };
- } // openfhe
|