Function dryoc::classic::crypto_kx::crypto_kx_client_session_keys
source · pub fn crypto_kx_client_session_keys(
rx: &mut SessionKey,
tx: &mut SessionKey,
client_pk: &PublicKey,
client_sk: &SecretKey,
server_pk: &PublicKey
) -> Result<(), Error>
Expand description
Computes client session keys for rx
and tx
, using client_pk
,
client_sk
, and server_pk
. Returns unit ()
upon success.
Compatible with libsodium’s crypto_kx_client_session_keys
.