Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=03140f2fef731b3d4497c4827cd0c027e4404e1cd8a115e5aa6f19a049e88ffc
sha512=533994a8cc1ebee628403781e7a5eb00ea76ec51891507736d4090325b65fd57e91d5524da3e44bd948c73e38d768cb0f8e224273f6af47bfbdae7f309157e89
Description
AES-CCM encrypted Mirage Mirage_types.BLOCK storage
uses two sectors of the underlying Mirage_types.BLOCK per provided sector:
+-----------------------------------+
| CT | nonce | adata |
+-----------------+-----------------+
| sector n | sector n+1 |
+-----------------+-----------------+
CTissector_size + maclenbytes AES-CCM ciphertextnonceisnonce_lenbytes random nonceadataissector_size - nonce_len - maclenrandom additional authenticated data
Added to opam-repository:
README
mirage-block-ccm
AES-CCM encrypted Mirage Mirage_block.S storage
uses two sectors of the underlying Mirage_bloc.S per provided sector:
+-----------------------------------+
| CT | nonce | adata |
+-----------------+-----------------+
| sector n | sector n+1 |
+-----------------+-----------------+CTissector_size + maclenbytes AES-CCM ciphertextnonceisnonce_lenbytes random nonceadataissector_size - nonce_len - maclenrandom additional authenticated data
Notes on bisect and ounit tests
$ dune runtest --instrument-with bisect_ppx --force
$ bisect-ppx-report html
$ open _coverage/index.htmlconvert AES-CCM encrypted disk images from/to unencrypted images
$ dune exec -- ccmblock --help
Dependencies (10)
- mirage-block-unix
- astring
-
cmdliner
>= "1.1.0" -
mirage-crypto-rng
>= "0.11.0" & < "1.0.0" -
mirage-crypto
>= "0.11.0" & < "1.0.0" -
mirage-block
>= "2.0.0" -
lwt
>= "2.4.3" -
cstruct
>= "6.0.0" -
dune
>= "2.7.0" -
ocaml
>= "4.08.0"
Dev Dependencies (2)
-
bisect_ppx
dev -
ounit2
with-test
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building mirage-block-ccm with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 2.0.0 (this version) | good | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure