2 커밋 be80ff9a39 ... 2e3a9f909c

작성자 SHA1 메시지 날짜
  Ian Goldberg 2e3a9f909c Add functions for serializing and deserializing private keys 3 달 전
  Ian Goldberg be80ff9a39 Add functions for serializing and deserializing private keys 3 달 전
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);