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) Rresult.result
val partial : Cstruct.t -> ('a option, string) Rresult.result
val to_msg : Cstruct.t -> (Ssh.message, string) Rresult.result
val decrypt : Kex.keys -> Cstruct.t -> ((Cstruct.t * Cstruct.t * Kex.keys) option, string) Rresult.result
val encrypt : Kex.keys -> Ssh.message -> Cstruct.t * Kex.keys
OCaml

Innovation. Community. Security.