/* * SimpleDistDecrypt.h * */ #ifndef FHEOFFLINE_SIMPLEDISTDECRYPT_H_ #define FHEOFFLINE_SIMPLEDISTDECRYPT_H_ #include "FHEOffline/DistDecrypt.h" #include "FHEOffline/DataSetup.h" template class SimpleDistDecrypt : public DistDecrypt { public: SimpleDistDecrypt(const Player& P, const PartSetup& setup) : DistDecrypt(P, setup.sk, setup.pk, setup.FieldD) {} void intermediate_step(); void reshare(Plaintext& m, const Ciphertext& cm, EncCommitBase& EC); Plaintext_ reshare(const Ciphertext& cm); }; #endif /* FHEOFFLINE_SIMPLEDISTDECRYPT_H_ */