Home
last modified time | relevance | path

Searched refs:randombytes_buf (Results 1 – 25 of 59) sorted by relevance

123

/freebsd/sys/contrib/libsodium/test/default/
H A Dsodium_utils.c22 randombytes_buf(buf1, sizeof buf1); in main()
56 randombytes_buf(buf1, bin_len); in main()
57 randombytes_buf(buf2, bin_len); in main()
86 randombytes_buf(buf1, bin_len); in main()
99 randombytes_buf(buf1, bin_len); in main()
150 randombytes_buf(bin_padded, bin_padded_maxlen); in main()
H A Dmetamorphic.c34 randombytes_buf(k, klen); in mm_generichash()
35 randombytes_buf(m, mlen); in mm_generichash()
75 randombytes_buf(m, mlen); in mm_onetimeauth()
115 randombytes_buf(m, mlen); in mm_hmacsha256()
155 randombytes_buf(m, mlen); in mm_hmacsha512()
H A Dverify1.c22 randombytes_buf(v16, 16); in main()
23 randombytes_buf(v32, 32); in main()
24 randombytes_buf(v64, 64); in main()
H A Dkx.c106 randombytes_buf(client_rx, crypto_kx_SESSIONKEYBYTES); in tv_kx()
107 randombytes_buf(client_tx, crypto_kx_SESSIONKEYBYTES); in tv_kx()
108 randombytes_buf(server_rx, crypto_kx_SESSIONKEYBYTES); in tv_kx()
109 randombytes_buf(server_tx, crypto_kx_SESSIONKEYBYTES); in tv_kx()
H A Dsecretbox7.c20 randombytes_buf(n, crypto_secretbox_NONCEBYTES); in main()
21 randombytes_buf(m + crypto_secretbox_ZEROBYTES, mlen); in main()
H A Dsecretbox8.c21 randombytes_buf(n, crypto_secretbox_NONCEBYTES); in main()
22 randombytes_buf(m + crypto_secretbox_ZEROBYTES, mlen); in main()
H A Dbox7.c29 randombytes_buf(n, crypto_box_NONCEBYTES); in main()
30 randombytes_buf(m + crypto_box_ZEROBYTES, mlen); in main()
H A Dbox8.c29 randombytes_buf(n, crypto_box_NONCEBYTES); in main()
30 randombytes_buf(m + crypto_box_ZEROBYTES, mlen); in main()
H A Dsecretbox_easy2.c25 randombytes_buf(m, mlen); in main()
26 randombytes_buf(nonce, crypto_secretbox_NONCEBYTES); in main()
H A Dsecretstream.c51 randombytes_buf(ad, ad_len); in main()
53 randombytes_buf(m1, m1_len); in main()
55 randombytes_buf(m2, m2_len); in main()
57 randombytes_buf(m3, m3_len); in main()
H A Dcore_ed25519.c48 randombytes_buf(h, crypto_core_ed25519_UNIFORMBYTES); in main()
59 randombytes_buf(h, crypto_core_ed25519_UNIFORMBYTES); in main()
H A Dbox_easy2.c48 randombytes_buf(m, mlen); in main()
49 randombytes_buf(nonce, crypto_box_NONCEBYTES); in main()
H A Dxchacha20.c148 randombytes_buf(out, 64); in tv_stream_xchacha20()
149 randombytes_buf(out2, 64); in tv_stream_xchacha20()
327 randombytes_buf(nonce, crypto_box_curve25519xchacha20poly1305_NONCEBYTES); in tv_box_xchacha20poly1305()
328 randombytes_buf(m, m_len); in tv_box_xchacha20poly1305()
H A Donetimeauth7.c16 randombytes_buf(c, clen); in main()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/
H A Dstream_chacha20.c103 randombytes_buf(k, crypto_stream_chacha20_ietf_KEYBYTES); in crypto_stream_chacha20_ietf_keygen()
109 randombytes_buf(k, crypto_stream_chacha20_KEYBYTES); in crypto_stream_chacha20_keygen()
/freebsd/sys/contrib/libsodium/src/libsodium/randombytes/
H A Drandombytes.c150 randombytes_buf(void * const buf, const size_t size) in randombytes_buf() function
205 randombytes_buf(buf, (size_t) buf_len); in randombytes()
/freebsd/sys/crypto/libsodium/
H A Drandombytes.c9 randombytes_buf(void *buf, size_t size) in randombytes_buf() function
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa2012/
H A Dstream_salsa2012.c25 randombytes_buf(k, crypto_stream_salsa2012_KEYBYTES); in crypto_stream_salsa2012_keygen()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa208/
H A Dstream_salsa208.c25 randombytes_buf(k, crypto_stream_salsa208_KEYBYTES); in crypto_stream_salsa208_keygen()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_shorthash/
H A Dcrypto_shorthash.c33 randombytes_buf(k, crypto_shorthash_KEYBYTES); in crypto_shorthash_keygen()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_auth/
H A Dcrypto_auth.c40 randombytes_buf(k, crypto_auth_KEYBYTES); in crypto_auth_keygen()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_generichash/blake2b/
H A Dgenerichash_blake2.c54 randombytes_buf(k, crypto_generichash_blake2b_KEYBYTES); in crypto_generichash_blake2b_keygen()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_kdf/
H A Dcrypto_kdf.c48 randombytes_buf(k, crypto_kdf_KEYBYTES); in crypto_kdf_keygen()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/
H A Dcrypto_stream.c48 randombytes_buf(k, crypto_stream_KEYBYTES); in crypto_stream_keygen()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_secretbox/
H A Dcrypto_secretbox.c66 randombytes_buf(k, crypto_secretbox_KEYBYTES); in crypto_secretbox_keygen()

123