[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-commits] Changes to mldonkey/src/utils/lib/unix32.ml
From: |
mldonkey-commits |
Subject: |
[Mldonkey-commits] Changes to mldonkey/src/utils/lib/unix32.ml |
Date: |
Sun, 18 Sep 2005 15:01:23 -0400 |
Index: mldonkey/src/utils/lib/unix32.ml
diff -u mldonkey/src/utils/lib/unix32.ml:1.42
mldonkey/src/utils/lib/unix32.ml:1.43
--- mldonkey/src/utils/lib/unix32.ml:1.42 Tue Sep 13 09:50:26 2005
+++ mldonkey/src/utils/lib/unix32.ml Sun Sep 18 19:00:53 2005
@@ -44,6 +44,12 @@
external external_exit : unit -> unit = "external_exit"
external uname : unit -> string = "ml_uname"
+(* CryptoPP *)
+external create_key : unit -> string = "ml_createKey"
+external load_key : string -> string = "ml_loadKey"
+external create_signature : string -> int -> int64 -> int -> int64 -> string =
"ml_createSignature"
+external verify_signature : string -> int -> string -> int -> int64 -> int ->
int64 -> bool = "ml_verifySignature_bytecode" "ml_verifySignature"
+
let really_write fd s pos len =
try
Unix2.really_write fd s pos len