Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Kex.Dh
Sourceval derive_keys :
Z.t ->
Mirage_crypto.Hash.digest ->
Mirage_crypto.Hash.digest ->
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 ->
Mirage_crypto.Hash.digest
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 ->
Mirage_crypto.Hash.digest
val ec_secret_pub :
alg ->
[> `Ed25519 of Mirage_crypto_ec.X25519.secret
| `P256 of Mirage_crypto_ec.P256.Dh.secret
| `P384 of Mirage_crypto_ec.P384.Dh.secret
| `P521 of Mirage_crypto_ec.P521.Dh.secret ]
* Z.t