2 Commits be80ff9a39 ... 2e3a9f909c

Auteur SHA1 Message Date
  Ian Goldberg 2e3a9f909c Add functions for serializing and deserializing private keys il y a 5 mois
  Ian Goldberg be80ff9a39 Add functions for serializing and deserializing private keys il y a 5 mois
2 fichiers modifiés avec 3 ajouts et 0 suppressions
  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);