LWEPrivateKey.cc 362 B

12345678910111213141516
  1. #include "LWEPrivateKey.h"
  2. #include "openfhe/binfhe/lwe-privatekey.h"
  3. namespace openfhe
  4. {
  5. LWEPrivateKey::LWEPrivateKey(std::shared_ptr<LWEPrivateKeyImpl>&& lwePrivateKey) noexcept
  6. : m_lwePrivateKey(std::move(lwePrivateKey))
  7. { }
  8. const std::shared_ptr<LWEPrivateKeyImpl>& LWEPrivateKey::GetRef() const noexcept
  9. {
  10. return m_lwePrivateKey;
  11. }
  12. } // openfhe