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 ]) result
module Ciphers : sig ... end
val digest_eq :
[< Mirage_crypto.Hash.hash ] ->
target:Cstruct.t ->
Cstruct.t ->
bool
val sequence_buf : Cstruct.uint64 -> Cstruct.t
val pseudo_header :
Cstruct.uint64 ->
Packet.content_type ->
(Cstruct.uint8 * Cstruct.uint8) ->
Cstruct.uint16 ->
Cstruct.t
val mac :
[< Mirage_crypto.Hash.hash ] ->
Cstruct.t ->
Cstruct.t ->
Cstruct.t ->
Mirage_crypto.Hash.digest
val cbc_block :
(module Mirage_crypto.Cipher_block.S.CBC with type key = 'a) ->
int
val encrypt_stream :
cipher:(module Mirage_crypto.Cipher_stream.S with type key = 'a) ->
key:'a ->
Cstruct.t ->
Cstruct.t * 'a
val decrypt_stream :
cipher:(module Mirage_crypto.Cipher_stream.S with type key = 'a) ->
key:'a ->
Cstruct.t ->
Cstruct.t * 'a
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