Home
last modified time | relevance | path

Searched refs:crypto_scalarmult_BYTES (Results 1 – 7 of 7) sorted by relevance

/f-stack/freebsd/contrib/libsodium/test/default/
H A Dscalarmult.c5 static const unsigned char alicesk[crypto_scalarmult_BYTES] = {
11 static const unsigned char bobsk[crypto_scalarmult_BYTES] = {
17 static const unsigned char small_order_p[crypto_scalarmult_BYTES] = {
23 static char hex[crypto_scalarmult_BYTES * 2 + 1];
29 (unsigned char *) sodium_malloc(crypto_scalarmult_BYTES); in main()
31 (unsigned char *) sodium_malloc(crypto_scalarmult_BYTES); in main()
32 unsigned char *k = (unsigned char *) sodium_malloc(crypto_scalarmult_BYTES); in main()
38 sodium_bin2hex(hex, sizeof hex, alicepk, crypto_scalarmult_BYTES); in main()
42 sodium_bin2hex(hex, sizeof hex, bobpk, crypto_scalarmult_BYTES); in main()
47 sodium_bin2hex(hex, sizeof hex, k, crypto_scalarmult_BYTES); in main()
[all …]
H A Dscalarmult6.c26 k = (unsigned char *) sodium_malloc(crypto_scalarmult_BYTES); in main()
H A Dkx.c5 static const unsigned char small_order_p[crypto_scalarmult_BYTES] = {
H A Dxchacha20.c11 static const unsigned char small_order_p[crypto_scalarmult_BYTES] = {
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_kx/
H A Dcrypto_kx.c27 COMPILER_ASSERT(crypto_kx_PUBLICKEYBYTES == crypto_scalarmult_BYTES); in crypto_kx_keypair()
41 unsigned char q[crypto_scalarmult_BYTES]; in crypto_kx_client_session_keys()
59 crypto_generichash_update(&h, q, crypto_scalarmult_BYTES); in crypto_kx_client_session_keys()
82 unsigned char q[crypto_scalarmult_BYTES]; in crypto_kx_server_session_keys()
100 crypto_generichash_update(&h, q, crypto_scalarmult_BYTES); in crypto_kx_server_session_keys()
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_scalarmult/
H A Dcrypto_scalarmult.c26 return crypto_scalarmult_BYTES; in crypto_scalarmult_bytes()
/f-stack/freebsd/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_scalarmult.h13 #define crypto_scalarmult_BYTES crypto_scalarmult_curve25519_BYTES macro