2 Commits 37a0a54937 ... b354adb2fa

Author SHA1 Message Date
  Ian Goldberg b354adb2fa Add functions for serializing and deserializing private keys 1 month ago
  Ian Goldberg 37a0a54937 Add functions for serializing and deserializing private keys 1 month ago
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/lib.rs

+ 6 - 0
src/lib.rs

@@ -503,6 +503,12 @@ pub mod ffi
         fn GenNullPublicKey() -> UniquePtr<PublicKeyDCRTPoly>;
     }
 
+    // PrivateKeyDCRTPoly
+    unsafe extern "C++"
+    {
+        fn GenNullPrivateKey() -> UniquePtr<PrivateKeyDCRTPoly>;
+    }
+
     // KeyPairDCRTPoly
     unsafe extern "C++"
     {