package tls

  1. Overview
  2. Docs

Module Tls.CryptoSource

Sourceval dh_params_unpack : Core.dh_parameters -> (Mirage_crypto_pk.Dh.group * Cstruct_sexp.t, [> `Msg of string ]) result
Sourcemodule Ciphers : sig ... end
Sourceval sequence_buf : Cstruct.uint64 -> Cstruct.t
Sourceval adata_1_3 : Cstruct.uint16 -> Cstruct.t
Sourceval cbc_block : (module Mirage_crypto.Cipher_block.S.CBC with type key = 'a) -> int
Sourceval cbc_pad : int -> Cstruct.t -> Cstruct.t
Sourceval cbc_unpad : Cstruct.t -> Cstruct.t option
Sourceval tag_len : 'a State.aead_cipher -> int
Sourceval encrypt_aead : cipher:'a State.aead_cipher -> key:'a -> nonce:Cstruct.t -> ?adata:Cstruct.t -> Cstruct.t -> Cstruct.t
Sourceval decrypt_aead : cipher:'a State.aead_cipher -> key:'a -> nonce:Cstruct.t -> ?adata:Cstruct.t -> Cstruct.t -> Cstruct.t option
Sourceval encrypt_cbc : cipher:(module Mirage_crypto.Cipher_block.S.CBC with type key = 'a) -> key:'a -> iv:Cstruct.t -> Cstruct.t -> Cstruct.t * Cstruct.t
Sourceval decrypt_cbc : cipher:(module Mirage_crypto.Cipher_block.S.CBC with type key = 'a) -> key:'a -> iv:Cstruct.t -> Cstruct.t -> (Cstruct.t * Cstruct.t) option
OCaml

Innovation. Community. Security.