Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val dh_params_pack :
Mirage_crypto_pk.Dh.group ->
Cstruct_sexp.t ->
Core.dh_parameters
val dh_params_unpack :
Core.dh_parameters ->
(Mirage_crypto_pk.Dh.group * Cstruct_sexp.t, [> `Msg of string ])
Stdlib.result
module Ciphers : sig ... end
val pseudo_header :
Cstruct.uint64 ->
Packet.content_type ->
(Cstruct.uint8 * Cstruct.uint8) ->
Cstruct.uint16 ->
Cstruct.t
val encrypt_aead :
cipher:'a State.aead_cipher ->
key:'a ->
nonce:Cstruct.t ->
?adata:Cstruct.t ->
Cstruct.t ->
Cstruct.t
val decrypt_aead :
cipher:'a State.aead_cipher ->
key:'a ->
nonce:Cstruct.t ->
?adata:Cstruct.t ->
Cstruct.t ->
Cstruct.t option