|
@@ -10,6 +10,7 @@ namespace openfhe
|
|
class CiphertextDCRTPoly;
|
|
class CiphertextDCRTPoly;
|
|
class CryptoContextDCRTPoly;
|
|
class CryptoContextDCRTPoly;
|
|
class PublicKeyDCRTPoly;
|
|
class PublicKeyDCRTPoly;
|
|
|
|
+class PrivateKeyDCRTPoly;
|
|
|
|
|
|
bool SerializeCryptoContextToFile(const std::string& ccLocation,
|
|
bool SerializeCryptoContextToFile(const std::string& ccLocation,
|
|
const CryptoContextDCRTPoly& cryptoContext, const SerialMode serialMode);
|
|
const CryptoContextDCRTPoly& cryptoContext, const SerialMode serialMode);
|
|
@@ -36,6 +37,10 @@ bool SerializePublicKeyToFile(const std::string& publicKeyLocation,
|
|
const PublicKeyDCRTPoly& publicKey, const SerialMode serialMode);
|
|
const PublicKeyDCRTPoly& publicKey, const SerialMode serialMode);
|
|
bool DeserializePublicKeyFromFile(const std::string& publicKeyLocation,
|
|
bool DeserializePublicKeyFromFile(const std::string& publicKeyLocation,
|
|
PublicKeyDCRTPoly& publicKey, const SerialMode serialMode);
|
|
PublicKeyDCRTPoly& publicKey, const SerialMode serialMode);
|
|
|
|
+bool SerializePrivateKeyToFile(const std::string& privateKeyLocation,
|
|
|
|
+ const PrivateKeyDCRTPoly& privateKey, const SerialMode serialMode);
|
|
|
|
+bool DeserializePrivateKeyFromFile(const std::string& privateKeyLocation,
|
|
|
|
+ PrivateKeyDCRTPoly& privateKey, const SerialMode serialMode);
|
|
bool SerializeCiphertextToFile(const std::string& ciphertextLocation,
|
|
bool SerializeCiphertextToFile(const std::string& ciphertextLocation,
|
|
const CiphertextDCRTPoly& ciphertext, const SerialMode serialMode);
|
|
const CiphertextDCRTPoly& ciphertext, const SerialMode serialMode);
|
|
bool DeserializeCiphertextFromFile(const std::string& ciphertextLocation,
|
|
bool DeserializeCiphertextFromFile(const std::string& ciphertextLocation,
|