123456789101112131415161718192021222324 |
- #pragma once
- #include "openfhe/core/lattice/hal/lat-backend.h"
- #include "openfhe/pke/key/evalkey-fwd.h"
- namespace openfhe
- {
- using EvalKeyImpl = lbcrypto::EvalKeyImpl<lbcrypto::DCRTPoly>;
- class EvalKeyDCRTPoly final
- {
- std::shared_ptr<EvalKeyImpl> m_evalKey;
- public:
- explicit EvalKeyDCRTPoly(const std::shared_ptr<EvalKeyImpl>& evalKey);
- EvalKeyDCRTPoly(const EvalKeyDCRTPoly&) = delete;
- EvalKeyDCRTPoly(EvalKeyDCRTPoly&&) = delete;
- EvalKeyDCRTPoly& operator=(const EvalKeyDCRTPoly&) = delete;
- EvalKeyDCRTPoly& operator=(EvalKeyDCRTPoly&&) = delete;
- [[nodiscard]] std::shared_ptr<EvalKeyImpl> GetInternal() const;
- };
- } // openfhe
|