package awa

  1. Overview
  2. Docs
val len_off : int
val get_pkt_len : Cstruct.t -> int
val set_pkt_len : Cstruct.t -> int -> unit
val pad_len_off : int
val get_pad_len : Cstruct.t -> Cstruct.uint8
val set_pad_len : Cstruct.t -> Cstruct.uint8 -> unit
val sizeof_pkt_hdr : int
val get_payload : Cstruct.t -> (Cstruct.t, string) Stdlib.result
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.