Home
last modified time | relevance | path

Searched refs:get_random_bytes (Results 1 – 14 of 14) sorted by relevance

/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Drandom.h42 get_random_bytes(void *buf, int nbytes) in get_random_bytes() function
53 get_random_bytes(&val, sizeof(val)); in get_random_int()
62 get_random_bytes(&val, sizeof(val)); in get_random_long()
71 get_random_bytes(&val, sizeof(val)); in prandom_u32()
H A Dnetdevice.h255 get_random_bytes(buf, len); in netdev_rss_key_fill()
/freebsd-13.1/crypto/openssl/crypto/engine/
H A Deng_rdrand.c25 static int get_random_bytes(unsigned char *buf, int num) in get_random_bytes() function
41 get_random_bytes,
44 get_random_bytes,
/freebsd-13.1/contrib/subversion/subversion/libsvn_subr/
H A Dcrypto.c143 get_random_bytes(const unsigned char **rand_bytes, in get_random_bytes() function
278 SVN_ERR(get_random_bytes(&salt_vector, ctx, SALT_LEN, result_pool)); in svn_crypto__encrypt_password()
300 SVN_ERR(get_random_bytes(&iv_vector, ctx, iv_len, result_pool)); in svn_crypto__encrypt_password()
311 SVN_ERR(get_random_bytes(&prefix, ctx, RANDOM_PREFIX_LEN, scratch_pool)); in svn_crypto__encrypt_password()
331 SVN_ERR(get_random_bytes(&padding, ctx, pad_len, scratch_pool)); in svn_crypto__encrypt_password()
513 SVN_ERR(get_random_bytes(&salt_vector, ctx, SALT_LEN, result_pool)); in svn_crypto__generate_secret_checktext()
535 SVN_ERR(get_random_bytes(&iv_vector, ctx, iv_len, result_pool)); in svn_crypto__generate_secret_checktext()
553 SVN_ERR(get_random_bytes(&stuff_vector, ctx, stuff_len, scratch_pool)); in svn_crypto__generate_secret_checktext()
/freebsd-13.1/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Drandom.h33 get_random_bytes((void *)ptr, (int)len); in random_get_bytes()
/freebsd-13.1/sys/contrib/libsodium/src/libsodium/randombytes/nativeclient/
H A Drandombytes_nativeclient.c27 if (rand_intf.get_random_bytes(buf_, size, &readnb) != 0 || in randombytes_nativeclient_buf()
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/cmd/xattrtest/
H A Dxattrtest.c418 get_random_bytes(char *buf, size_t bytes) in get_random_bytes() function
681 rc = get_random_bytes(xattrbytes, rndsz); in main()
/freebsd-13.1/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-generic.c740 get_random_bytes(s, sizeof (s)); in spl_random_init()
/freebsd-13.1/sys/dev/mlx5/mlx5_core/
H A Dmlx5_health.c453 get_random_bytes(&next, sizeof(next)); in get_next_poll_jiffies()
/freebsd-13.1/sys/compat/linuxkpi/common/include/net/
H A Dcfg80211.h1601 get_random_bytes(dst, ETH_ALEN); in get_random_mask_addr()
/freebsd-13.1/sys/ofed/drivers/infiniband/core/
H A Dib_sa_query.c1553 get_random_bytes(&tid, sizeof tid); in ib_sa_init()
H A Dib_cma.c788 get_random_bytes(&id_priv->seq_num, sizeof id_priv->seq_num); in rdma_create_id()
3192 get_random_bytes(&rand, sizeof(rand)); in cma_alloc_any_port()
H A Dib_cm.c4214 get_random_bytes(&cm.random_id_operand, sizeof cm.random_id_operand); in ib_cm_init()
/freebsd-13.1/sys/dev/mlx4/mlx4_core/
H A Dmlx4_main.c2606 get_random_bytes((char *)&guid, sizeof(guid)); in mlx4_set_random_admin_guid()