/freebsd/sys/contrib/libsodium/test/default/ |
H A D | chacha20.c | 38 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 D | sodium_utils.c | 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() 138 sodium_bin2hex(nonce_hex, sizeof nonce_hex, nonce, sizeof nonce)); in main() [all …]
|
H A D | kx.c | 30 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 D | scalarmult.c | 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() 52 sodium_bin2hex(hex, sizeof hex, k, crypto_scalarmult_BYTES); in main()
|
H A D | stream.c | 29 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 D | ed25519_convert.c | 36 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 D | kdf.c | 27 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 D | sign.c | 1242 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 D | pwhash_scrypt.c | 111 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 D | aead_aes256gcm.c | 3149 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 D | xchacha20.c | 171 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 D | pwhash_argon2i.c | 101 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 D | pwhash_argon2id.c | 101 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 D | codecs.c | 22 sodium_bin2hex(buf3, 33U, (const unsigned char *) "0123456789ABCDEF", in main()
|
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/ |
H A D | utils.h | 58 char *sodium_bin2hex(char * const hex, const size_t hex_maxlen,
|
/freebsd/sys/contrib/libsodium/src/libsodium/sodium/ |
H A D | codecs.c | 14 sodium_bin2hex(char *const hex, const size_t hex_maxlen, in sodium_bin2hex() function
|
/freebsd/sys/contrib/libsodium/ |
H A D | ChangeLog | 283 - 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().
|