package tls

  1. Overview
  2. Docs

Module Crypto.CiphersSource

Sourcetype keyed =
  1. | K_CBC : 'k State.cbc_cipher * (string -> 'k) -> keyed
Sourcetype aead_keyed =
  1. | K_AEAD : 'k State.aead_cipher * (string -> 'k) * bool -> aead_keyed
Sourceval get_aead_cipher : secret:string -> nonce:State.nonce -> Ciphersuite.aead_cipher -> State.cipher_st
Sourceval get_cipher : secret:string -> hmac_secret:State.hmac_key -> iv_mode:State.iv_mode -> nonce:State.nonce -> [< `AEAD of Ciphersuite.aead_cipher | `Block of Ciphersuite.block_cipher * Digestif.hash' ] -> State.cipher_st
OCaml

Innovation. Community. Security.