2 Commits be80ff9a39 ... 2e3a9f909c

Author SHA1 Message Date
  Ian Goldberg 2e3a9f909c Add functions for serializing and deserializing private keys 1 month ago
  Ian Goldberg be80ff9a39 Add functions for serializing and deserializing private keys 1 month ago
2 changed files with 3 additions and 0 deletions
  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);