Skip to content

Commit 92ac98e

Browse files
committed
[new release] mirage-crypto (7 packages) (2.1.0)
CHANGES: * Add new module Mirage_crypto_ec.Dsa.Primitive exposing the generator, point add, scalar multiplication for NIST curves. This is useful for implementing some protocols (such as spake2) (mirage/mirage-crypto#278 mirage/mirage-crypto#277 @samoht @hannesm) * Cleanup gen_tables (mirage/mirage-crypto#273 mirage/mirage-crypto#275 @reynir) * Use 'architecture' 'riscv' to not execute the entropy test on riscv64 (mirage/mirage-crypto#272 mirage/mirage-crypto#273 mirage/mirage-crypto#274 @reynir @hannesm)
1 parent 4f056bf commit 92ac98e

File tree

7 files changed

+303
-0
lines changed
  • packages
    • mirage-crypto-ec/mirage-crypto-ec.2.1.0
    • mirage-crypto-pk/mirage-crypto-pk.2.1.0
    • mirage-crypto-rng-miou-unix/mirage-crypto-rng-miou-unix.2.1.0
    • mirage-crypto-rng-mirage/mirage-crypto-rng-mirage.2.1.0
    • mirage-crypto-rng-mkernel/mirage-crypto-rng-mkernel.2.1.0
    • mirage-crypto-rng/mirage-crypto-rng.2.1.0
    • mirage-crypto/mirage-crypto.2.1.0

7 files changed

+303
-0
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
opam-version: "2.0"
2+
synopsis: "Elliptic Curve Cryptography with primitives taken from Fiat"
3+
description: """
4+
An implementation of key exchange (ECDH) and digital signature (ECDSA/EdDSA)
5+
algorithms using code from Fiat (<https://github.com/mit-plv/fiat-crypto>).
6+
7+
The curves P256 (SECP256R1), P384 (SECP384R1),
8+
P521 (SECP521R1), and 25519 (X25519, Ed25519) are implemented by this package.
9+
"""
10+
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
11+
authors: [
12+
"Hannes Mehnert <hannes@mehnert.org>"
13+
"Nathan Rebours <nathan.p.rebours@gmail.com>"
14+
"Clément Pascutto <clement@tarides.com>"
15+
"Etienne Millon <me@emillon.org>"
16+
"Virgile Robles <virgile.robles@protonmail.ch>"
17+
# and from the fiat-crypto AUTHORS file
18+
"Andres Erbsen <andreser@mit.edu>"
19+
"Google Inc."
20+
"Jade Philipoom <jadep@mit.edu> <jade.philipoom@gmail.com>"
21+
"Massachusetts Institute of Technology"
22+
"Zoe Paraskevopoulou <zoe.paraskevopoulou@gmail.com>"
23+
]
24+
license: "MIT"
25+
homepage: "https://github.com/mirage/mirage-crypto"
26+
doc: "https://mirage.github.io/mirage-crypto/doc"
27+
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
28+
depends: [
29+
"dune" {>= "2.7"}
30+
"ocaml" {>= "4.13.0"}
31+
"dune-configurator"
32+
"eqaf" {>= "0.7"}
33+
"mirage-crypto-rng" {=version}
34+
"digestif" {>= "1.2.0"}
35+
"alcotest" {with-test & >= "0.8.1"}
36+
"ppx_deriving_yojson" {with-test}
37+
"ppx_deriving" {with-test}
38+
"yojson" {with-test & >= "1.6.0"}
39+
"asn1-combinators" {with-test & >= "0.3.1"}
40+
"ohex" {with-test & >= "0.2.0"}
41+
"ounit2" {with-test}
42+
]
43+
conflicts: [
44+
"ocaml-freestanding"
45+
]
46+
build: [
47+
["dune" "subst"] {dev}
48+
["dune" "build" "-p" name "-j" jobs]
49+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
50+
]
51+
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
52+
tags: ["org:mirage"]
53+
x-maintenance-intent: [ "(latest)" ]
54+
url {
55+
src:
56+
"https://github.com/mirage/mirage-crypto/releases/download/v2.1.0/mirage-crypto-2.1.0.tbz"
57+
checksum: [
58+
"sha256=fbeda89a3d7bfa9992fdbef3ebbfc7280fcefdd425a0405e33305125cd409815"
59+
"sha512=0deace3ebc756ea02808bd0cb394012403bb949b2514637df1af8be50e6c3bd12dcc46742c5c0cbb6dd43234574291ecf27e4179da2ab9b6ec6520c5195e5803"
60+
]
61+
}
62+
x-commit-hash: "a8e62cd00118041214b7539f099f0ec3f73031a2"
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
opam-version: "2.0"
2+
homepage: "https://github.com/mirage/mirage-crypto"
3+
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
4+
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
5+
doc: "https://mirage.github.io/mirage-crypto/doc"
6+
authors: ["David Kaloper <dk505@cam.ac.uk>" "Hannes Mehnert <hannes@mehnert.org>" ]
7+
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
8+
license: "ISC"
9+
synopsis: "Simple public-key cryptography for the modern age"
10+
11+
build: [ ["dune" "subst"] {dev}
12+
["dune" "build" "-p" name "-j" jobs ]
13+
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]
14+
15+
depends: [
16+
"conf-gmp-powm-sec" {build}
17+
"ocaml" {>= "4.13.0"}
18+
"dune" {>= "2.7"}
19+
"ounit2" {with-test}
20+
"randomconv" {with-test & >= "0.2.0"}
21+
"ohex" {with-test & >= "0.2.0"}
22+
"mirage-crypto" {=version}
23+
"mirage-crypto-rng" {=version}
24+
"digestif" {>= "1.2.0"}
25+
"zarith" {>= "1.13"}
26+
"eqaf" {>= "0.8"}
27+
]
28+
conflicts: [
29+
"ocaml-freestanding"
30+
]
31+
description: """
32+
Mirage-crypto-pk provides public-key cryptography (RSA, DSA, DH).
33+
"""
34+
x-maintenance-intent: [ "(latest)" ]
35+
url {
36+
src:
37+
"https://github.com/mirage/mirage-crypto/releases/download/v2.1.0/mirage-crypto-2.1.0.tbz"
38+
checksum: [
39+
"sha256=fbeda89a3d7bfa9992fdbef3ebbfc7280fcefdd425a0405e33305125cd409815"
40+
"sha512=0deace3ebc756ea02808bd0cb394012403bb949b2514637df1af8be50e6c3bd12dcc46742c5c0cbb6dd43234574291ecf27e4179da2ab9b6ec6520c5195e5803"
41+
]
42+
}
43+
x-commit-hash: "a8e62cd00118041214b7539f099f0ec3f73031a2"
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
opam-version: "2.0"
2+
homepage: "https://github.com/mirage/mirage-crypto"
3+
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
4+
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
5+
doc: "https://mirage.github.io/mirage-crypto/doc"
6+
authors: ["Romain Calascibetta <romain.calascibetta@gmail.com>" ]
7+
maintainer: "Romain Calascibetta <romain.calascibetta@gmail.com>"
8+
license: "ISC"
9+
synopsis: "Feed the entropy source in an miou.unix-friendly way"
10+
11+
build: [ ["dune" "subst"] {dev}
12+
["dune" "build" "-p" name "-j" jobs ]
13+
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]
14+
15+
depends: [
16+
"ocaml" {>= "5.0.0"}
17+
"dune" {>= "2.7"}
18+
"miou" {>= "0.2.0"}
19+
"logs"
20+
"mirage-crypto-rng" {=version}
21+
"duration"
22+
"mtime" {>= "1.0.0"}
23+
"digestif" {>= "1.2.0"}
24+
"ohex" {with-test & >= "0.2.0"}
25+
]
26+
description: """
27+
Mirage-crypto-rng-miou-unix feeds the entropy source for Mirage_crypto_rng-based
28+
random number generator implementations, in an miou.unix-friendly way.
29+
"""
30+
x-maintenance-intent: [ "(latest)" ]
31+
url {
32+
src:
33+
"https://github.com/mirage/mirage-crypto/releases/download/v2.1.0/mirage-crypto-2.1.0.tbz"
34+
checksum: [
35+
"sha256=fbeda89a3d7bfa9992fdbef3ebbfc7280fcefdd425a0405e33305125cd409815"
36+
"sha512=0deace3ebc756ea02808bd0cb394012403bb949b2514637df1af8be50e6c3bd12dcc46742c5c0cbb6dd43234574291ecf27e4179da2ab9b6ec6520c5195e5803"
37+
]
38+
}
39+
x-commit-hash: "a8e62cd00118041214b7539f099f0ec3f73031a2"
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
opam-version: "2.0"
2+
homepage: "https://github.com/mirage/mirage-crypto"
3+
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
4+
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
5+
doc: "https://mirage.github.io/mirage-crypto/doc"
6+
authors: ["David Kaloper <dk505@cam.ac.uk>" "Hannes Mehnert <hannes@mehnert.org>" ]
7+
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
8+
license: "BSD-2-Clause"
9+
synopsis: "Entropy collection for a cryptographically secure PRNG"
10+
11+
build: [ ["dune" "subst"] {dev}
12+
["dune" "build" "-p" name "-j" jobs ]
13+
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]
14+
15+
depends: [
16+
"ocaml" {>= "4.13.0"}
17+
"dune" {>= "2.7"}
18+
"mirage-crypto-rng" {=version}
19+
"duration"
20+
"logs"
21+
"lwt" {>= "4.0.0"}
22+
"mirage-runtime" {>= "3.8.0"}
23+
"mirage-sleep" {>= "4.0.0"}
24+
"mirage-mtime" {>= "4.0.0"}
25+
"mirage-unix" {with-test & >= "5.0.0"}
26+
"ohex" {with-test & >= "0.2.0"}
27+
]
28+
description: """
29+
Mirage-crypto-rng-mirage provides entropy collection code for the RNG.
30+
"""
31+
x-maintenance-intent: [ "(latest)" ]
32+
url {
33+
src:
34+
"https://github.com/mirage/mirage-crypto/releases/download/v2.1.0/mirage-crypto-2.1.0.tbz"
35+
checksum: [
36+
"sha256=fbeda89a3d7bfa9992fdbef3ebbfc7280fcefdd425a0405e33305125cd409815"
37+
"sha512=0deace3ebc756ea02808bd0cb394012403bb949b2514637df1af8be50e6c3bd12dcc46742c5c0cbb6dd43234574291ecf27e4179da2ab9b6ec6520c5195e5803"
38+
]
39+
}
40+
x-commit-hash: "a8e62cd00118041214b7539f099f0ec3f73031a2"
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
opam-version: "2.0"
2+
homepage: "https://github.com/mirage/mirage-crypto"
3+
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
4+
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
5+
doc: "https://mirage.github.io/mirage-crypto/doc"
6+
authors: ["Romain Calascibetta <romain.calascibetta@gmail.com>" ]
7+
maintainer: "Romain Calascibetta <romain.calascibetta@gmail.com>"
8+
license: "ISC"
9+
synopsis: "Feed the entropy source in a mkernel friendly way"
10+
11+
build: [ ["dune" "subst"] {dev}
12+
["dune" "build" "-p" name "-j" jobs ]
13+
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]
14+
15+
depends: [
16+
"ocaml" {>= "5.0.0"}
17+
"dune" {>= "2.7"}
18+
"miou" {>= "0.2.0"}
19+
"logs"
20+
"mirage-crypto-rng" {=version}
21+
"duration"
22+
"digestif" {>= "1.2.0"}
23+
"mkernel"
24+
]
25+
description: """
26+
Mirage-crypto-rng-mkernel feeds the entropy source for Mirage_crypto_rng-based
27+
random number generator implementations, in a mkernel friendly way.
28+
"""
29+
x-maintenance-intent: [ "(latest)" ]
30+
url {
31+
src:
32+
"https://github.com/mirage/mirage-crypto/releases/download/v2.1.0/mirage-crypto-2.1.0.tbz"
33+
checksum: [
34+
"sha256=fbeda89a3d7bfa9992fdbef3ebbfc7280fcefdd425a0405e33305125cd409815"
35+
"sha512=0deace3ebc756ea02808bd0cb394012403bb949b2514637df1af8be50e6c3bd12dcc46742c5c0cbb6dd43234574291ecf27e4179da2ab9b6ec6520c5195e5803"
36+
]
37+
}
38+
x-commit-hash: "a8e62cd00118041214b7539f099f0ec3f73031a2"
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
opam-version: "2.0"
2+
homepage: "https://github.com/mirage/mirage-crypto"
3+
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
4+
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
5+
doc: "https://mirage.github.io/mirage-crypto/doc"
6+
authors: ["David Kaloper <dk505@cam.ac.uk>" "Hannes Mehnert <hannes@mehnert.org>" ]
7+
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
8+
license: "ISC"
9+
synopsis: "A cryptographically secure PRNG"
10+
11+
build: [ ["dune" "subst"] {dev}
12+
["dune" "build" "-p" name "-j" jobs ]
13+
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]
14+
15+
depends: [
16+
"ocaml" {>= "4.14.0"}
17+
"dune" {>= "2.7"}
18+
"dune-configurator" {>= "2.0.0"}
19+
"duration"
20+
"logs"
21+
"mirage-crypto" {=version}
22+
"digestif" {>= "1.1.4"}
23+
"ounit2" {with-test}
24+
"randomconv" {with-test & >= "0.2.0"}
25+
"ohex" {with-test & >= "0.2.0"}
26+
]
27+
conflicts: [ "mirage-runtime" {< "3.8.0"} ]
28+
description: """
29+
Mirage-crypto-rng provides a random number generator interface, and
30+
implementations: Fortuna, HMAC-DRBG, getrandom/getentropy based (in the unix
31+
sublibrary)
32+
"""
33+
x-maintenance-intent: [ "(latest)" ]
34+
url {
35+
src:
36+
"https://github.com/mirage/mirage-crypto/releases/download/v2.1.0/mirage-crypto-2.1.0.tbz"
37+
checksum: [
38+
"sha256=fbeda89a3d7bfa9992fdbef3ebbfc7280fcefdd425a0405e33305125cd409815"
39+
"sha512=0deace3ebc756ea02808bd0cb394012403bb949b2514637df1af8be50e6c3bd12dcc46742c5c0cbb6dd43234574291ecf27e4179da2ab9b6ec6520c5195e5803"
40+
]
41+
}
42+
x-commit-hash: "a8e62cd00118041214b7539f099f0ec3f73031a2"
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
opam-version: "2.0"
2+
homepage: "https://github.com/mirage/mirage-crypto"
3+
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
4+
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
5+
doc: "https://mirage.github.io/mirage-crypto/doc"
6+
authors: ["David Kaloper <dk505@cam.ac.uk>" "Hannes Mehnert <hannes@mehnert.org>" ]
7+
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
8+
license: "ISC"
9+
synopsis: "Simple symmetric cryptography for the modern age"
10+
11+
build: [ ["dune" "subst"] {dev}
12+
["dune" "build" "-p" name "-j" jobs ]
13+
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]
14+
15+
depends: [
16+
"ocaml" {>= "4.13.0"}
17+
"dune" {>= "2.7"}
18+
"dune-configurator" {>= "2.0.0"}
19+
"ounit2" {with-test}
20+
"ohex" {with-test & >= "0.2.0"}
21+
"eqaf" {>= "0.8"}
22+
]
23+
conflicts: [
24+
"ocaml-freestanding"
25+
"result" {< "1.5"}
26+
]
27+
description: """
28+
Mirage-crypto provides symmetric ciphers (DES, AES, RC4, ChaCha20/Poly1305).
29+
"""
30+
x-maintenance-intent: [ "(latest)" ]
31+
url {
32+
src:
33+
"https://github.com/mirage/mirage-crypto/releases/download/v2.1.0/mirage-crypto-2.1.0.tbz"
34+
checksum: [
35+
"sha256=fbeda89a3d7bfa9992fdbef3ebbfc7280fcefdd425a0405e33305125cd409815"
36+
"sha512=0deace3ebc756ea02808bd0cb394012403bb949b2514637df1af8be50e6c3bd12dcc46742c5c0cbb6dd43234574291ecf27e4179da2ab9b6ec6520c5195e5803"
37+
]
38+
}
39+
x-commit-hash: "a8e62cd00118041214b7539f099f0ec3f73031a2"

0 commit comments

Comments
 (0)