2 Commits be80ff9a39 ... 2e3a9f909c

Autor SHA1 Mensaje Fecha
  Ian Goldberg 2e3a9f909c Add functions for serializing and deserializing private keys hace 3 meses
  Ian Goldberg be80ff9a39 Add functions for serializing and deserializing private keys hace 3 meses
Se han modificado 2 ficheros con 3 adiciones y 0 borrados
  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);