Module type Nocrypto.Cipher_block.S.GCM

module type GCM = sig .. end
Galois/Counter Mode.

type key 
type result = {
   message : Cstruct.t;
   tag : Cstruct.t;
}
val of_secret : Cstruct.t -> key
val key_sizes : int array
val block_size : int
val encrypt : key:key ->
iv:Cstruct.t ->
?adata:Cstruct.t -> Cstruct.t -> result
val decrypt : key:key ->
iv:Cstruct.t ->
?adata:Cstruct.t -> Cstruct.t -> result