Lines Matching defs:client_pk
15 unsigned char *client_pk, *client_sk;
26 client_pk = (unsigned char *) sodium_malloc(crypto_kx_PUBLICKEYBYTES);
28 crypto_kx_seed_keypair(client_pk, client_sk, seed);
30 sodium_bin2hex(hex, sizeof hex, client_pk, crypto_kx_PUBLICKEYBYTES);
31 printf("client_pk: [%s]\n", hex);
43 client_pk, client_sk,
46 client_pk, client_sk, server_pk) != 0) {
57 server_pk, server_sk, client_pk) != 0) {
65 sodium_increment(client_pk, crypto_kx_PUBLICKEYBYTES);
67 server_pk, server_sk, client_pk) != 0) {
75 crypto_kx_keypair(client_pk, client_sk);
77 server_pk, server_sk, client_pk) != 0) {
85 crypto_kx_seed_keypair(client_pk, client_sk, seed);
89 server_pk, server_sk, client_pk) != 0) {
98 client_pk, client_sk, server_pk) != 0) {
111 client_pk, client_sk, server_pk) != 0 ||
113 client_pk, client_sk, server_pk) != 0 ||
115 server_pk, server_sk, client_pk) != 0 ||
117 server_pk, server_sk, client_pk) != 0) {
131 sodium_free(client_pk);