package tls

  1. Overview
  2. Docs

Module Tls.CryptoSource

Sourceval dh_params_pack : Mirage_crypto_pk.Dh.group -> string -> Core.dh_parameters
Sourceval dh_params_unpack : Core.dh_parameters -> (Mirage_crypto_pk.Dh.group * string, [> `Msg of string ]) result
Sourcemodule Ciphers : sig ... end
Sourceval sequence_buf : int64 -> string
Sourceval aead_nonce : string -> int64 -> string
Sourceval adata_1_3 : int -> string
Sourceval pseudo_header : int64 -> Packet.content_type -> (int * int) -> int -> string
Sourceval mac : Digestif.hash' -> string -> string -> string -> string
Sourceval cbc_block : (module Mirage_crypto.Block.CBC with type key = 'a) -> int
Sourceval cbc_pad : int -> string -> string
Sourceval cbc_unpad : string -> string option
Sourceval tag_len : (module Mirage_crypto.AEAD with type key = 'a) -> int
Sourceval encrypt_aead : cipher:(module Mirage_crypto.AEAD with type key = 'a) -> key:'a -> nonce:string -> ?adata:string -> string -> string
Sourceval decrypt_aead : cipher:(module Mirage_crypto.AEAD with type key = 'a) -> key:'a -> nonce:string -> ?adata:string -> string -> string option
Sourceval encrypt_cbc : cipher:(module Mirage_crypto.Block.CBC with type key = 'a) -> key:'a -> iv:string -> string -> string * string
Sourceval decrypt_cbc : cipher:(module Mirage_crypto.Block.CBC with type key = 'a) -> key:'a -> iv:string -> string -> (string * string) option
OCaml

Innovation. Community. Security.