package tls

  1. Overview
  2. Docs
type keyed =
  1. | K_CBC : 'k State.cbc_cipher * (Cstruct.t -> 'k) -> keyed
val get_block : Ciphersuite.block_cipher -> keyed
val get_cipher : secret:Cstruct.t -> hmac_secret:State.hmac_key -> iv_mode:State.iv_mode -> nonce:State.nonce -> Ciphersuite.payload_protection -> State.cipher_st
OCaml

Innovation. Community. Security.