package awa

  1. Overview
  2. Docs
val hmac : Hmac.key -> Cstruct.uint32 -> Cstruct.t -> Mirage_crypto.Hash.digest
val peek_len : Cipher.key -> int32 -> int -> Cstruct.t -> (int, string) Stdlib.result
val partial : Cstruct.t -> ('a option, string) Stdlib.result
val to_msg : Cstruct.t -> (Ssh.message, string) Stdlib.result
val decrypt : Kex.keys -> Cstruct.t -> ((Cstruct.t * Cstruct.t * Kex.keys) option, string) Stdlib.result
val encrypt : Kex.keys -> Ssh.message -> Cstruct.t * Kex.keys
OCaml

Innovation. Community. Security.