2 次代码提交 be80ff9a39 ... 2e3a9f909c

作者 SHA1 备注 提交日期
  Ian Goldberg 2e3a9f909c Add functions for serializing and deserializing private keys 5 月之前
  Ian Goldberg be80ff9a39 Add functions for serializing and deserializing private keys 5 月之前
共有 2 个文件被更改,包括 3 次插入0 次删除
  1. 2 0
      src/PrivateKey.h
  2. 1 0
      src/SerialDeserial.h

+ 2 - 0
src/PrivateKey.h

@@ -3,6 +3,8 @@
 #include "openfhe/core/lattice/hal/lat-backend.h"
 #include "openfhe/pke/key/privatekey-fwd.h"
 
+#include "SerialMode.h" // SerialMode
+
 namespace openfhe
 {
 

+ 1 - 0
src/SerialDeserial.h

@@ -10,6 +10,7 @@ namespace openfhe
 class CiphertextDCRTPoly;
 class CryptoContextDCRTPoly;
 class PublicKeyDCRTPoly;
+class PrivateKeyDCRTPoly;
 
 bool SerializeCryptoContextToFile(const std::string& ccLocation,
     const CryptoContextDCRTPoly& cryptoContext, const SerialMode serialMode);