package mirage-block-ccm
AES-CCM encrypted Mirage Mirage_types.BLOCK storage
Install
Dune Dependency
Authors
Maintainers
Sources
mirage-block-ccm-1.1.0.tbz
sha256=5da0c0fa17e6071ee0c66f4455c373d6dd326a62e43a25e3baf68957db62907d
sha512=5d7334094dcefc02ffde9de7b6a1559ae8edb828f132c96265f37f8c0fe80859f05a632c82acbaa8a6a641e06e4645a1bccbcd68d32a17686c68d5267f031357
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 |
+-----------------+-----------------+
CT
issector_size + maclen
bytes AES-CCM ciphertextnonce
isnonce_len
bytes random nonceadata
issector_size - nonce_len - maclen
random additional authenticated data
Published: 26 Oct 2022
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 |
+-----------------+-----------------+
CT
issector_size + maclen
bytes AES-CCM ciphertextnonce
isnonce_len
bytes random nonceadata
issector_size - nonce_len - maclen
random additional authenticated data
Notes on bisect and ounit tests
$ dune runtest --instrument-with bisect_ppx --force
$ bisect-ppx-report html
$ open _coverage/index.html
convert 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"
-
mirage-crypto
>= "0.8.1" & < "0.11.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
Used by
None
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page