package awa

  1. Overview
  2. Docs
val derive_keys : Z.t -> String.t -> String.t -> negotiation -> Mtime.t -> (keys * keys * Mtime.t, string) result
val compute_hash : ?signed:bool -> negotiation -> v_c:string -> v_s:string -> i_c:Cstruct.t -> i_s:Cstruct.t -> k_s:Hostkey.pub -> e:Z.t -> f:Z.t -> k:Z.t -> string
val compute_hash_gex : negotiation -> v_c:string -> v_s:string -> i_c:Cstruct.t -> i_s:Cstruct.t -> k_s:Hostkey.pub -> min:Cstruct.uint32 -> n:Cstruct.uint32 -> max:Cstruct.uint32 -> p:Z.t -> g:Z.t -> e:Z.t -> f:Z.t -> k:Z.t -> string
val secret_pub : alg -> Mirage_crypto_pk.Dh.secret * Z.t
val shared : Mirage_crypto_pk.Dh.secret -> Z.t -> (Z.t, string) result
val generate : alg -> Z.t -> (Z.t * Z.t, string) result
OCaml

Innovation. Community. Security.