2 次代碼提交 37a0a54937 ... b354adb2fa

作者 SHA1 備註 提交日期
  Ian Goldberg b354adb2fa Add functions for serializing and deserializing private keys 6 月之前
  Ian Goldberg 37a0a54937 Add functions for serializing and deserializing private keys 6 月之前
共有 1 個文件被更改,包括 6 次插入0 次删除
  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++"
     {