Searched refs:client_tx (Results 1 - 1 of 1) sorted by relevance

/freebsd-13-stable/sys/contrib/libsodium/test/default/
H A Dkx.c16 unsigned char *client_rx, *client_tx; local
40 client_tx = (unsigned char *) sodium_malloc(crypto_kx_SESSIONKEYBYTES);
42 assert(crypto_kx_client_session_keys(client_rx, client_tx,
45 if (crypto_kx_client_session_keys(client_rx, client_tx,
60 if (memcmp(server_rx, client_tx, crypto_kx_SESSIONKEYBYTES) != 0 ||
70 if (memcmp(server_rx, client_tx, crypto_kx_SESSIONKEYBYTES) == 0 &&
80 if (memcmp(server_rx, client_tx, crypto_kx_SESSIONKEYBYTES) == 0 ||
97 if (crypto_kx_client_session_keys(client_rx, client_tx,
103 sodium_bin2hex(hex, sizeof hex, client_tx, crypto_kx_SESSIONKEYBYTES);
104 printf("client_tx
[all...]

Completed in 42 milliseconds