Home
last modified time | relevance | path

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

/freebsd/sys/contrib/libsodium/test/default/
H A Dsodium_utils.c13 char nonce_hex[49]; in main() local
36 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
40 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
44 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
48 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
53 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
115 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
120 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
124 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
132 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
[all …]
H A Dchacha20.c10 const char *nonce_hex; in tv() member
35 sodium_hex2bin(nonce, sizeof nonce, tests[i].nonce_hex, in tv()
36 strlen(tests[i].nonce_hex), NULL, NULL, NULL); in tv()
85 const char *nonce_hex; in tv_ietf() member
122 sodium_hex2bin(nonce, sizeof nonce, tests[i].nonce_hex, in tv_ietf()
123 strlen(tests[i].nonce_hex), ": ", NULL, NULL); in tv_ietf()
H A Daead_aes256gcm.c7 const char *nonce_hex; member
3110 assert(strlen(tests[i].nonce_hex) == 2 * crypto_aead_aes256gcm_NPUBBYTES); in tv()
3112 tests[i].nonce_hex, strlen(tests[i].nonce_hex), in tv()