package awa

  1. Overview
  2. Docs

Module Awa.PacketSource

Sourceval len_off : int
Sourceval get_pkt_len_str : string -> int
Sourceval get_pkt_len : Cstruct.t -> int
Sourceval set_pkt_len : bytes -> int -> unit
Sourceval pad_len_off : int
Sourceval get_pad_len_str : string -> int
Sourceval get_pad_len : Cstruct.t -> Cstruct.uint8
Sourceval set_pad_len : bytes -> int -> unit
Sourceval sizeof_pkt_hdr : int
Sourceval get_payload : Cstruct.t -> (Cstruct.t, string) result
Sourceval hmac : Hmac.key -> int32 -> String.t -> string
Sourceval peek_len : Cipher.key -> int32 -> int -> Cstruct.t -> (int, string) result
Sourceval partial : Cstruct.t -> ('a option, string) result
Sourceval to_msg : Cstruct.t -> (Ssh.message, string) result
Sourceval decrypt : Kex.keys -> Cstruct.t -> ((Cstruct.t * Cstruct.t * Kex.keys) option, string) result
OCaml

Innovation. Community. Security.