Skip to content

Commit

Permalink
[new release] mirage-crypto, mirage-crypto-rng, mirage-crypto-rng-mir…
Browse files Browse the repository at this point in the history
…age, mirage-crypto-rng-async, mirage-crypto-pk and mirage-crypto-ec (0.10.6)

CHANGES:

- Use _WIN32 instead of __WIN32__, as proposed by @jonahbeckford in mirage/mirage-crypto#137
- PKG_CONFIG_PATH via cygpath on Window (mirage/mirage-crypto#150 @MisterDA)
- ocaml-solo5 (formerly ocaml-freestanding) defines __ocaml_solo5__, use this
  in ifdef (arm only, mirage/mirage-crypto#152 @hannesm)
- mirag-crypto-rng-mirage test: require mirage-unix >= 5.0.0 (mirage/mirage-crypto#151 @hannesm)
- use oUnit2 as dependency, instead of oUnit (mirage/mirage-crypto#149 @MisterDA)
- support mipsel and mips64el compilation (mirage/mirage-crypto#148 @glondu)
- bugfix: define _POSIX_C_SOURCE in entropy_cpu_stubs.c (otherwise clock_gettime
  is not defined - at least on armhf) (mirage/mirage-crypto#148 @glondu)
- bugfix: compilation on kfreebsd-* (adding __FreeBSD_kernel__ to ifdef)
  (mirage/mirage-crypto#148 @glondu)
  • Loading branch information
hannesm committed Mar 29, 2022
1 parent 743a272 commit d8e80f8
Show file tree
Hide file tree
Showing 6 changed files with 273 additions and 0 deletions.
64 changes: 64 additions & 0 deletions packages/mirage-crypto-ec/mirage-crypto-ec.0.10.6/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
opam-version: "2.0"
synopsis: "Elliptic Curve Cryptography with primitives taken from Fiat"
description: """
An implementation of key exchange (ECDH) and digital signature (ECDSA/EdDSA)
algorithms using code from Fiat (<https://github.com/mit-plv/fiat-crypto>).

The curves P224 (SECP224R1), P256 (SECP256R1), P384 (SECP384R1),
P521 (SECP521R1), and 25519 (X25519, Ed25519) are implemented by this package.
"""
maintainer: "Hannes Mehnert <[email protected]>"
authors: [
"Hannes Mehnert <[email protected]>"
"Nathan Rebours <[email protected]>"
"Clément Pascutto <[email protected]>"
"Etienne Millon <[email protected]>"
# and from the fiat-crypto AUTHORS file
"Andres Erbsen <[email protected]>"
"Google Inc."
"Jade Philipoom <[email protected]> <[email protected]>"
"Massachusetts Institute of Technology"
"Zoe Paraskevopoulou <[email protected]>"
]
license: "MIT"
homepage: "https://github.com/mirage/mirage-crypto"
doc: "https://mirage.github.io/mirage-crypto/doc"
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
depends: [
"conf-pkg-config" {build}
"dune" {>= "2.6"}
"ocaml" {>= "4.08.0"}
"cstruct" {>= "6.0.0"}
"dune-configurator"
"eqaf" {>= "0.7"}
"mirage-crypto" {=version}
"mirage-crypto-rng" {=version}
"mirage-crypto-pk" {with-test & =version}
"hex" {with-test}
"alcotest" {with-test}
"asn1-combinators" {with-test & >= "0.2.5"}
"ppx_deriving_yojson" {with-test}
"ppx_deriving" {with-test}
"yojson" {with-test & >= "1.6.0"}
]
depopts: ["ocaml-freestanding"]
conflicts: [
"mirage-xen" {< "6.0.0"}
"ocaml-freestanding" {< "0.4.1"}
]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
tags: ["org:mirage"]
url {
src:
"https://github.com/mirage/mirage-crypto/releases/download/v0.10.6/mirage-crypto-0.10.6.tbz"
checksum: [
"sha256=01d6477a4edcad007b56983955d327f0e61c3f36494822f3755017d26e8f9410"
"sha512=870b7d0d32acde970afcd3fac2cb51131ac74bb20c887d07ddfccd239467a5dc8b700adf463427fa916393c503f106feb733cba5bf4b9d1f8eb57f52b5af9f9c"
]
}
x-commit-hash: "cb946119d60f180e2e5ff1eecfa3ff79c249cd9e"
43 changes: 43 additions & 0 deletions packages/mirage-crypto-pk/mirage-crypto-pk.0.10.6/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
opam-version: "2.0"
homepage: "https://github.com/mirage/mirage-crypto"
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
doc: "https://mirage.github.io/mirage-crypto/doc"
authors: ["David Kaloper <[email protected]>" "Hannes Mehnert <[email protected]>" ]
maintainer: "Hannes Mehnert <[email protected]>"
license: "ISC"
synopsis: "Simple public-key cryptography for the modern age"

build: [ ["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs ]
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]

depends: [
"conf-gmp-powm-sec" {build}
"ocaml" {>= "4.08.0"}
"dune" {>= "2.6"}
"ounit2" {with-test}
"randomconv" {with-test & >= "0.1.3"}
"cstruct" {>="6.00"}
"mirage-crypto" {=version}
"mirage-crypto-rng" {=version}
"sexplib0"
"zarith" {>= "1.4"}
"eqaf" {>= "0.8"}
(("mirage-no-solo5" & "mirage-no-xen") | "zarith-freestanding" | "mirage-runtime" {>= "4.0"})
]
conflicts: [
"mirage-xen" {< "6.0.0"}
]
description: """
Mirage-crypto-pk provides public-key cryptography (RSA, DSA, DH).
"""
url {
src:
"https://github.com/mirage/mirage-crypto/releases/download/v0.10.6/mirage-crypto-0.10.6.tbz"
checksum: [
"sha256=01d6477a4edcad007b56983955d327f0e61c3f36494822f3755017d26e8f9410"
"sha512=870b7d0d32acde970afcd3fac2cb51131ac74bb20c887d07ddfccd239467a5dc8b700adf463427fa916393c503f106feb733cba5bf4b9d1f8eb57f52b5af9f9c"
]
}
x-commit-hash: "cb946119d60f180e2e5ff1eecfa3ff79c249cd9e"
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
opam-version: "2.0"
homepage: "https://github.com/mirage/mirage-crypto"
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
doc: "https://mirage.github.io/mirage-crypto/doc"
authors: ["David Kaloper <[email protected]>" "Hannes Mehnert <[email protected]>" ]
maintainer: "Hannes Mehnert <[email protected]>"
license: "ISC"
synopsis: "Feed the entropy source in an Async-friendly way"

build: [ ["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs ]
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]

depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "2.6"}
"dune-configurator" {>= "2.0.0"}
"async" {>= "v0.14"}
"logs"
"mirage-crypto" {=version}
"mirage-crypto-rng" {=version}
]
available: os != "win32"
description: """

Mirage-crypto-rng-async feeds the entropy source for Mirage_crypto_rng-based
random number genreator implementations, in an Async-friendly way.
"""
url {
src:
"https://github.com/mirage/mirage-crypto/releases/download/v0.10.6/mirage-crypto-0.10.6.tbz"
checksum: [
"sha256=01d6477a4edcad007b56983955d327f0e61c3f36494822f3755017d26e8f9410"
"sha512=870b7d0d32acde970afcd3fac2cb51131ac74bb20c887d07ddfccd239467a5dc8b700adf463427fa916393c503f106feb733cba5bf4b9d1f8eb57f52b5af9f9c"
]
}
x-commit-hash: "cb946119d60f180e2e5ff1eecfa3ff79c249cd9e"

Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
opam-version: "2.0"
homepage: "https://github.com/mirage/mirage-crypto"
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
doc: "https://mirage.github.io/mirage-crypto/doc"
authors: ["David Kaloper <[email protected]>" "Hannes Mehnert <[email protected]>" ]
maintainer: "Hannes Mehnert <[email protected]>"
license: "BSD-2-Clause"
synopsis: "Entropy collection for a cryptographically secure PRNG"

build: [ ["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs ]
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]

depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "2.6"}
"mirage-crypto-rng" {=version}
"duration"
"cstruct" {>= "4.0.0"}
"logs"
"lwt" {>= "4.0.0"}
"mirage-runtime" {>= "3.8.0"}
"mirage-time" {>= "2.0.0"}
"mirage-clock" {>= "3.0.0"}
"mirage-unix" {with-test & >= "5.0.0"}
"mirage-time-unix" {with-test & >= "2.0.0"}
"mirage-clock-unix" {with-test & >= "3.0.0"}
]
description: """
Mirage-crypto-rng-mirage provides entropy collection code for the RNG.
"""
url {
src:
"https://github.com/mirage/mirage-crypto/releases/download/v0.10.6/mirage-crypto-0.10.6.tbz"
checksum: [
"sha256=01d6477a4edcad007b56983955d327f0e61c3f36494822f3755017d26e8f9410"
"sha512=870b7d0d32acde970afcd3fac2cb51131ac74bb20c887d07ddfccd239467a5dc8b700adf463427fa916393c503f106feb733cba5bf4b9d1f8eb57f52b5af9f9c"
]
}
x-commit-hash: "cb946119d60f180e2e5ff1eecfa3ff79c249cd9e"
43 changes: 43 additions & 0 deletions packages/mirage-crypto-rng/mirage-crypto-rng.0.10.6/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
opam-version: "2.0"
homepage: "https://github.com/mirage/mirage-crypto"
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
doc: "https://mirage.github.io/mirage-crypto/doc"
authors: ["David Kaloper <[email protected]>" "Hannes Mehnert <[email protected]>" ]
maintainer: "Hannes Mehnert <[email protected]>"
license: "ISC"
synopsis: "A cryptographically secure PRNG"

build: [ ["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs ]
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]

depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "2.6"}
"dune-configurator" {>= "2.0.0"}
"duration"
"cstruct" {>= "6.0.0"}
"logs"
"mirage-crypto" {=version}
"ounit2" {with-test}
"randomconv" {with-test & >= "0.1.3"}
# lwt sublibrary
"mtime" {>= "1.0.0"}
"lwt" {>= "4.0.0"}
]
conflicts: [ "mirage-runtime" {< "3.8.0"} ]
description: """
Mirage-crypto-rng provides a random number generator interface, and
implementations: Fortuna, HMAC-DRBG, getrandom/getentropy based (in the unix
sublibrary)
"""
url {
src:
"https://github.com/mirage/mirage-crypto/releases/download/v0.10.6/mirage-crypto-0.10.6.tbz"
checksum: [
"sha256=01d6477a4edcad007b56983955d327f0e61c3f36494822f3755017d26e8f9410"
"sha512=870b7d0d32acde970afcd3fac2cb51131ac74bb20c887d07ddfccd239467a5dc8b700adf463427fa916393c503f106feb733cba5bf4b9d1f8eb57f52b5af9f9c"
]
}
x-commit-hash: "cb946119d60f180e2e5ff1eecfa3ff79c249cd9e"
43 changes: 43 additions & 0 deletions packages/mirage-crypto/mirage-crypto.0.10.6/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
opam-version: "2.0"
homepage: "https://github.com/mirage/mirage-crypto"
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
doc: "https://mirage.github.io/mirage-crypto/doc"
authors: ["David Kaloper <[email protected]>" "Hannes Mehnert <[email protected]>" ]
maintainer: "Hannes Mehnert <[email protected]>"
license: "ISC"
synopsis: "Simple symmetric cryptography for the modern age"

build: [ ["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs ]
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]

depends: [
"conf-pkg-config" {build}
"ocaml" {>= "4.08.0"}
"dune" {>= "2.6"}
"dune-configurator" {>= "2.0.0"}
"ounit2" {with-test}
"cstruct" {>="6.0.0"}
"eqaf" {>= "0.8"}
]
depopts: [
"ocaml-freestanding"
]
conflicts: [
"mirage-xen" {< "6.0.0"}
"ocaml-freestanding" {< "0.6.0"}
]
description: """
Mirage-crypto provides symmetric ciphers (DES, AES, RC4, ChaCha20/Poly1305), and
hashes (MD5, SHA-1, SHA-2).
"""
url {
src:
"https://github.com/mirage/mirage-crypto/releases/download/v0.10.6/mirage-crypto-0.10.6.tbz"
checksum: [
"sha256=01d6477a4edcad007b56983955d327f0e61c3f36494822f3755017d26e8f9410"
"sha512=870b7d0d32acde970afcd3fac2cb51131ac74bb20c887d07ddfccd239467a5dc8b700adf463427fa916393c503f106feb733cba5bf4b9d1f8eb57f52b5af9f9c"
]
}
x-commit-hash: "cb946119d60f180e2e5ff1eecfa3ff79c249cd9e"

0 comments on commit d8e80f8

Please sign in to comment.