Home
last modified time | relevance | path

Searched refs:sodium_bin2hex (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/contrib/libsodium/test/default/
H A Dchacha20.c38 sodium_bin2hex(out_hex, sizeof out_hex, out, sizeof out); in tv()
53 sodium_bin2hex(out_hex, sizeof out_hex, out, sizeof out); in tv()
58 sodium_bin2hex(out_hex, sizeof out_hex, out, sizeof out); in tv()
68 sodium_bin2hex(out_hex, sizeof out_hex, out, sizeof out); in tv()
72 sodium_bin2hex(out_hex, sizeof out_hex, out, sizeof out); in tv()
76 sodium_bin2hex(out_hex, sizeof out_hex, out, sizeof out); in tv()
126 sodium_bin2hex(out_hex, sizeof out_hex, out, sizeof out); in tv_ietf()
141 sodium_bin2hex(out_hex, sizeof out_hex, out, sizeof out); in tv_ietf()
146 sodium_bin2hex(out_hex, sizeof out_hex, out, sizeof out); in tv_ietf()
156 sodium_bin2hex(out_hex, sizeof out_hex, out, sizeof out); in tv_ietf()
[all …]
H A Dsodium_utils.c36 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()
138 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main()
[all …]
H A Dkx.c30 sodium_bin2hex(hex, sizeof hex, client_pk, crypto_kx_PUBLICKEYBYTES); in tv_kx()
32 sodium_bin2hex(hex, sizeof hex, client_sk, crypto_kx_SECRETKEYBYTES); in tv_kx()
92 sodium_bin2hex(hex, sizeof hex, server_rx, crypto_kx_SESSIONKEYBYTES); in tv_kx()
94 sodium_bin2hex(hex, sizeof hex, server_tx, crypto_kx_SESSIONKEYBYTES); in tv_kx()
101 sodium_bin2hex(hex, sizeof hex, client_rx, crypto_kx_SESSIONKEYBYTES); in tv_kx()
103 sodium_bin2hex(hex, sizeof hex, client_tx, crypto_kx_SESSIONKEYBYTES); in tv_kx()
H A Dscalarmult.c38 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()
52 sodium_bin2hex(hex, sizeof hex, k, crypto_scalarmult_BYTES); in main()
H A Dstream.c29 sodium_bin2hex(hex, sizeof hex, h, sizeof h); in main()
40 sodium_bin2hex(hex, sizeof hex, h, sizeof h); in main()
46 sodium_bin2hex(hex, sizeof hex, output, 64); in main()
53 sodium_bin2hex(hex, 192 * 2 + 1, output, 192); in main()
H A Ded25519_convert.c36 sodium_bin2hex(curve25519_pk_hex, sizeof curve25519_pk_hex, curve25519_pk, in main()
38 sodium_bin2hex(curve25519_sk_hex, sizeof curve25519_sk_hex, curve25519_sk, in main()
H A Dkdf.c27 sodium_bin2hex(hex, sizeof hex, subkey, crypto_kdf_BYTES_MAX); in tv_kdf()
36 sodium_bin2hex(hex, sizeof hex, subkey, (size_t) i); in tv_kdf()
H A Dsign.c1242 sodium_bin2hex(sig_hex, sizeof sig_hex, sig, sizeof sig); in main()
1281 sodium_bin2hex(sig_hex, sizeof sig_hex, sig, sizeof sig); in main()
1305 sodium_bin2hex(pk_hex, sizeof pk_hex, pk, sizeof pk); in main()
1306 sodium_bin2hex(sk_hex, sizeof sk_hex, sk, sizeof sk); in main()
H A Dpwhash_scrypt.c111 sodium_bin2hex(out_hex, sizeof out_hex, out, tests[i].outlen); in tv()
160 sodium_bin2hex(out_hex, sizeof out_hex, out, tests[i].outlen); in tv2()
H A Daead_aes256gcm.c3149 sodium_bin2hex(hex, (size_t) ciphertext_len * 2 + 1, in tv()
3163 sodium_bin2hex(hex, (size_t) found_ciphertext_len * 2 + 1, in tv()
H A Dxchacha20.c171 sodium_bin2hex(hex, 192 * 2 + 1, out, 192); in tv_stream_xchacha20()
399 sodium_bin2hex(hex, sizeof hex, pk, crypto_box_curve25519xchacha20poly1305_PUBLICKEYBYTES); in tv_box_xchacha20poly1305()
401 sodium_bin2hex(hex, sizeof hex, sk, crypto_box_curve25519xchacha20poly1305_SECRETKEYBYTES); in tv_box_xchacha20poly1305()
H A Dpwhash_argon2i.c101 sodium_bin2hex(out_hex, sizeof out_hex, out, tests[i].outlen); in tv()
152 sodium_bin2hex(out_hex, sizeof out_hex, out, tests[i].outlen); in tv2()
H A Dpwhash_argon2id.c101 sodium_bin2hex(out_hex, sizeof out_hex, out, tests[i].outlen); in tv()
152 sodium_bin2hex(out_hex, sizeof out_hex, out, tests[i].outlen); in tv2()
H A Dcodecs.c22 sodium_bin2hex(buf3, 33U, (const unsigned char *) "0123456789ABCDEF", in main()
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dutils.h58 char *sodium_bin2hex(char * const hex, const size_t hex_maxlen,
/freebsd/sys/contrib/libsodium/src/libsodium/sodium/
H A Dcodecs.c14 sodium_bin2hex(char *const hex, const size_t hex_maxlen, in sodium_bin2hex() function
/freebsd/sys/contrib/libsodium/
H A DChangeLog283 - In addition to sodium_bin2hex(), sodium_hex2bin() is now a
324 - sodium_bin2hex() is now constant-time.
428 - sodium_hex2bin() has been added to complement sodium_bin2hex().
468 - New convenience function (prototyped in utils.h): sodium_bin2hex().