type compression_alg = | Nothing
val compression_alg_of_string :
string ->
(compression_alg, string) Stdlib.resulttype alg = | Diffie_hellman_group_exchange_sha256| Diffie_hellman_group14_sha256| Diffie_hellman_group14_sha1| Diffie_hellman_group1_sha1| Diffie_hellman_group_exchange_sha1| Curve25519_sha256| Ecdh_sha2_nistp256| Ecdh_sha2_nistp384| Ecdh_sha2_nistp521
val is_rfc4419 : alg -> boolval is_finite_field : alg -> boolval alg_of_string : string -> (alg, string) Stdlib.resultval alg_to_string : alg -> stringval group_of_alg : alg -> Mirage_crypto_pk.Dh.groupval hash_of_alg : alg -> (module Digestif.S)val pp_negotiation : Stdlib.Format.formatter -> negotiation -> unitval make_plaintext : unit -> keysval is_plaintext : keys -> boolval is_keyed : keys -> boolval one_minute_ns : int64val keys_lifespan : Mtime.spanval should_rekey : int64 -> Mtime.t -> Mtime.t -> boolval derive_keys :
(((string -> unit) -> unit) -> string) ->
Z.t ->
string ->
string ->
negotiation ->
Mtime.t ->
(keys * keys * Mtime.t, string) Stdlib.result