Module SharedFunctors.Make_Chacha20_Poly1305_generic

Parameters

module Impl : sig ... end

Signature

type bytes = C.t
module Noalloc : sig ... end
val encrypt : key:bytes -> iv:bytes -> ad:bytes -> pt:bytes -> bytes * bytes
val decrypt : key:bytes -> iv:bytes -> ad:bytes -> ct:bytes -> tag:bytes -> bytes option