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

/freebsd-13-stable/sys/contrib/libsodium/test/default/
H A Dsodium_utils.c13 char nonce_hex[49]; local
36 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce));
40 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce));
44 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce));
48 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce));
53 sodium_bin2hex(nonce_hex, sizeo
[all...]
H A Dchacha20.c10 const char *nonce_hex; member in struct:__anon9647
35 sodium_hex2bin(nonce, sizeof nonce, tests[i].nonce_hex,
36 strlen(tests[i].nonce_hex), NULL, NULL, NULL);
85 const char *nonce_hex; member in struct:__anon9648
122 sodium_hex2bin(nonce, sizeof nonce, tests[i].nonce_hex,
123 strlen(tests[i].nonce_hex), ": ", NULL, NULL);
H A Daead_aes256gcm.c7 const char *nonce_hex; member in struct:__anon9646
3110 assert(strlen(tests[i].nonce_hex) == 2 * crypto_aead_aes256gcm_NPUBBYTES);
3112 tests[i].nonce_hex, strlen(tests[i].nonce_hex),

Completed in 112 milliseconds