2 Commit-ok 37a0a54937 ... b354adb2fa

Szerző SHA1 Üzenet Dátum
  Ian Goldberg b354adb2fa Add functions for serializing and deserializing private keys 3 hónapja
  Ian Goldberg 37a0a54937 Add functions for serializing and deserializing private keys 3 hónapja
1 módosított fájl, 6 hozzáadás és 0 törlés
  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++"
     {