type mac = Cstruct.tempty is the empty context with the given key.
- raises Invalid_argument
if key is not 32 bytes.
mac ~key msg is the all-in-one mac computation: get (feed (empty ~key) msg).
Mirage_crypto.Poly1305The poly1305 message authentication code
type mac = Cstruct.tempty is the empty context with the given key.
if key is not 32 bytes.
mac ~key msg is the all-in-one mac computation: get (feed (empty ~key) msg).