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
$ dune runtest --instrument-with bisect_ppx --force
$ bisect-ppx-report html
$ open _coverage/index.html
$ dune exec -- ccmblock --help