Searched refs:crypto_kx_PUBLICKEYBYTES (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_kx/ |
H A D | crypto_kx.c | 13 crypto_kx_seed_keypair(unsigned char pk[crypto_kx_PUBLICKEYBYTES], in crypto_kx_seed_keypair() argument 23 crypto_kx_keypair(unsigned char pk[crypto_kx_PUBLICKEYBYTES], in crypto_kx_keypair() argument 27 COMPILER_ASSERT(crypto_kx_PUBLICKEYBYTES == crypto_scalarmult_BYTES); in crypto_kx_keypair() 36 const unsigned char client_pk[crypto_kx_PUBLICKEYBYTES], in crypto_kx_client_session_keys() argument 38 const unsigned char server_pk[crypto_kx_PUBLICKEYBYTES]) in crypto_kx_client_session_keys() argument 61 crypto_generichash_update(&h, client_pk, crypto_kx_PUBLICKEYBYTES); in crypto_kx_client_session_keys() 62 crypto_generichash_update(&h, server_pk, crypto_kx_PUBLICKEYBYTES); in crypto_kx_client_session_keys() 77 const unsigned char server_pk[crypto_kx_PUBLICKEYBYTES], in crypto_kx_server_session_keys() argument 79 const unsigned char client_pk[crypto_kx_PUBLICKEYBYTES]) in crypto_kx_server_session_keys() argument 102 crypto_generichash_update(&h, client_pk, crypto_kx_PUBLICKEYBYTES); in crypto_kx_server_session_keys() [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/ |
H A D | crypto_kx.h | 15 #define crypto_kx_PUBLICKEYBYTES 32 macro 36 int crypto_kx_seed_keypair(unsigned char pk[crypto_kx_PUBLICKEYBYTES], 41 int crypto_kx_keypair(unsigned char pk[crypto_kx_PUBLICKEYBYTES], 47 const unsigned char client_pk[crypto_kx_PUBLICKEYBYTES], 49 const unsigned char server_pk[crypto_kx_PUBLICKEYBYTES]) 55 const unsigned char server_pk[crypto_kx_PUBLICKEYBYTES], 57 const unsigned char client_pk[crypto_kx_PUBLICKEYBYTES])
|
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | kx.c | 26 client_pk = (unsigned char *) sodium_malloc(crypto_kx_PUBLICKEYBYTES); in tv_kx() 30 sodium_bin2hex(hex, sizeof hex, client_pk, crypto_kx_PUBLICKEYBYTES); in tv_kx() 35 server_pk = (unsigned char *) sodium_malloc(crypto_kx_PUBLICKEYBYTES); in tv_kx() 65 sodium_increment(client_pk, crypto_kx_PUBLICKEYBYTES); in tv_kx() 135 assert(crypto_kx_publickeybytes() == crypto_kx_PUBLICKEYBYTES); in tv_kx()
|