Module type Nocrypto.Cipher_block.S.CCM

module type CCM = sig .. end
Counter with CBC-MAC mode.

type key 
val of_secret : maclen:int -> Cstruct.t -> key
val key_sizes : int array
val mac_sizes : int array
val block_size : int
val encrypt : key:key ->
nonce:Cstruct.t -> ?adata:Cstruct.t -> Cstruct.t -> Cstruct.t
val decrypt : key:key ->
nonce:Cstruct.t -> ?adata:Cstruct.t -> Cstruct.t -> Cstruct.t option