-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from mirage/link
Link
- Loading branch information
Showing
30 changed files
with
265 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,5 @@ _tests | |
lib_test/files | ||
zpipe | ||
c/dpipe | ||
*.install | ||
*~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
true: safe_string, bin_annot | ||
|
||
# <common>: include (not needed to the binary test) | ||
<src-c/digestif.{cma,cmxa}>: record_digestif_rakia_stubs | ||
<src>: include | ||
<src-c/digestif-c.{cma,cmxa}>: record_digestif_rakia_stubs | ||
<src-c/digestif.cmxs>: link_digestif_rakia_stubs, use_bigarray | ||
<src-ocaml/digestif.cmxs>: use_bigarray | ||
<test/*.{ml,mli,byte,native}>: package(alcotest), package(cstruct) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,31 @@ | ||
version = "%%VERSION%%" | ||
requires = "bigarray" | ||
description = "Interface of the library" | ||
archive(byte) = "digestif.cma" | ||
archive(native) = "digestif.cmxa" | ||
plugin(byte) = "digestif.cma" | ||
plugin(native) = "digestif.cmxs" | ||
|
||
package "c" ( | ||
directory = "c" | ||
version = "%%VERSION%%" | ||
description = "Implementation of hash function in C" | ||
requires = "bigarray" | ||
archive(byte) = "digestif.cma" | ||
archive(native) = "digestif.cmxa" | ||
plugin(byte) = "digestif.cma" | ||
plugin(native) = "digestif.cmxs" | ||
exists_if = "digestif.cma" | ||
requires = "bigarray digestif" | ||
archive(byte) = "digestif-c.cma" | ||
archive(native) = "digestif-c.cmxa" | ||
plugin(byte) = "digestif-c.cma" | ||
plugin(native) = "digestif-c.cmxs" | ||
exists_if = "digestif-c.cma" | ||
) | ||
|
||
package "ocaml" ( | ||
directory = "ocaml" | ||
version = "%%VERSION%%" | ||
description = "Implementation of hash function in OCaml" | ||
requires = "bigarray" | ||
archive(byte) = "digestif.cma" | ||
archive(native) = "digestif.cmxa" | ||
plugin(byte) = "digestif.cma" | ||
plugin(native) = "digestif.cmxs" | ||
exists_if = "digestif.cma" | ||
requires = "bigarray digestif" | ||
archive(byte) = "digestif-ocaml.cma" | ||
archive(native) = "digestif-ocaml.cmxa" | ||
plugin(byte) = "digestif-ocaml.cma" | ||
plugin(native) = "digestif-ocaml.cmxs" | ||
exists_if = "digestif-ocaml.cma" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Digestif | ||
Rakia_native |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
module type S = Digestif_sig.S | ||
module type T = Digestif_sig.T | ||
|
||
type hash = Digestif_sig.hash | ||
|
||
val digest_size : hash -> int | ||
|
||
module MD5 : S | ||
module SHA1 : S | ||
module SHA224 : S | ||
module SHA256 : S | ||
module SHA384 : S | ||
module SHA512 : S | ||
module BLAKE2B : S | ||
module BLAKE2S : S | ||
module RMD160 : S | ||
|
||
module Bytes : T | ||
with type t = Bytes.t | ||
and type buffer = Bytes.t | ||
module Bigstring : T | ||
with type t = Digestif_sig.Bigstring.t | ||
and type buffer = Digestif_sig.Bigstring.t |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
Digestif | ||
Digestif_pp | ||
Digestif_bytes | ||
Digestif_bigstring | ||
Baijiu_xor | ||
Baijiu_buffer | ||
Baijiu_sha1 | ||
|
Oops, something went wrong.