Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Tls.Crypto
Sourceval dh_params_unpack :
Core.dh_parameters ->
(Mirage_crypto_pk.Dh.group * string, [> `Msg of string ]) result
val encrypt_aead :
cipher:(module Mirage_crypto.AEAD with type key = 'a) ->
key:'a ->
nonce:string ->
?adata:string ->
string ->
string
val decrypt_aead :
cipher:(module Mirage_crypto.AEAD with type key = 'a) ->
key:'a ->
nonce:string ->
?adata:string ->
string ->
string option
val encrypt_cbc :
cipher:(module Mirage_crypto.Block.CBC with type key = 'a) ->
key:'a ->
iv:string ->
string ->
string * string
val decrypt_cbc :
cipher:(module Mirage_crypto.Block.CBC with type key = 'a) ->
key:'a ->
iv:string ->
string ->
(string * string) option