Skip to content

Commit f56d3b6

Browse files
authored
Merge pull request #23336 from hannesm/release-mirage-block-ccm-v2.0.0
[new release] mirage-block-ccm (2.0.0)
2 parents 53dbe3e + 151c14e commit f56d3b6

File tree

1 file changed

+59
-0
lines changed
  • packages/mirage-block-ccm/mirage-block-ccm.2.0.0

1 file changed

+59
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
opam-version: "2.0"
2+
homepage: "https://github.com/sg2342/mirage-block-ccm"
3+
dev-repo: "git+https://github.com/sg2342/mirage-block-ccm.git"
4+
bug-reports: "https://github.com/sg2342/mirage-block-ccm/issues"
5+
maintainer: ["Stefan Grundmann <[email protected]>"]
6+
license: "ISC"
7+
synopsis: "AES-CCM encrypted Mirage Mirage_types.BLOCK storage"
8+
description: """
9+
AES-CCM encrypted Mirage Mirage_types.BLOCK storage
10+
11+
uses two sectors of the underlying Mirage_types.BLOCK per provided sector:
12+
13+
```
14+
+-----------------------------------+
15+
| CT | nonce | adata |
16+
+-----------------+-----------------+
17+
| sector n | sector n+1 |
18+
+-----------------+-----------------+
19+
```
20+
21+
- `CT` is `sector_size + maclen` bytes AES-CCM ciphertext
22+
- `nonce` is `nonce_len` bytes random nonce
23+
- `adata` is `sector_size - nonce_len - maclen` random additional authenticated data
24+
"""
25+
26+
build: [
27+
["dune" "subst"] {dev}
28+
["dune" "build" "-p" name "-j" jobs]
29+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
30+
]
31+
32+
depends: [
33+
"ocaml" {>= "4.08.0"}
34+
"dune" {>= "2.7.0"}
35+
"cstruct" {>= "6.0.0"}
36+
"lwt" {>= "2.4.3"}
37+
"mirage-block" {>= "2.0.0"}
38+
"mirage-crypto" {>= "0.11.0"}
39+
"mirage-crypto-rng" {>= "0.11.0"}
40+
"ounit2" {with-test}
41+
"bisect_ppx" {dev}
42+
"cmdliner" {>= "1.1.0"}
43+
"astring"
44+
"mirage-block-unix"
45+
]
46+
post-messages: [
47+
"Any block device created with an earlier (< 0.2.0) version and the default
48+
maclen (8) can no longer be decrypted. The maclen is now 16."
49+
]
50+
authors: "Stefan Grundmann <[email protected]>"
51+
url {
52+
src:
53+
"https://github.com/sg2342/mirage-block-ccm/releases/download/v2.0.0/mirage-block-ccm-2.0.0.tbz"
54+
checksum: [
55+
"sha256=03140f2fef731b3d4497c4827cd0c027e4404e1cd8a115e5aa6f19a049e88ffc"
56+
"sha512=533994a8cc1ebee628403781e7a5eb00ea76ec51891507736d4090325b65fd57e91d5524da3e44bd948c73e38d768cb0f8e224273f6af47bfbdae7f309157e89"
57+
]
58+
}
59+
x-commit-hash: "602606520ab750694660ef0bdd1f3083d7a1d6a6"

0 commit comments

Comments
 (0)