Home
last modified time | relevance | path

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

123456789

/linux-6.6.21/arch/arm64/include/asm/
Dpointer_auth.h60 get_random_bytes(&keys->apia, sizeof(keys->apia)); in ptrauth_keys_init_kernel()
89 get_random_bytes(&keys->apia, sizeof(keys->apia)); in ptrauth_keys_init_user()
90 get_random_bytes(&keys->apib, sizeof(keys->apib)); in ptrauth_keys_init_user()
91 get_random_bytes(&keys->apda, sizeof(keys->apda)); in ptrauth_keys_init_user()
92 get_random_bytes(&keys->apdb, sizeof(keys->apdb)); in ptrauth_keys_init_user()
96 get_random_bytes(&keys->apga, sizeof(keys->apga)); in ptrauth_keys_init_user()
/linux-6.6.21/arch/arm64/kernel/
Dpointer_auth.c37 get_random_bytes(&keys->apia, sizeof(keys->apia)); in ptrauth_prctl_reset_keys()
39 get_random_bytes(&keys->apib, sizeof(keys->apib)); in ptrauth_prctl_reset_keys()
41 get_random_bytes(&keys->apda, sizeof(keys->apda)); in ptrauth_prctl_reset_keys()
43 get_random_bytes(&keys->apdb, sizeof(keys->apdb)); in ptrauth_prctl_reset_keys()
45 get_random_bytes(&keys->apga, sizeof(keys->apga)); in ptrauth_prctl_reset_keys()
/linux-6.6.21/lib/
Duuid.c35 get_random_bytes(uuid, 16); in generate_random_uuid()
45 get_random_bytes(guid, 16); in generate_random_guid()
55 get_random_bytes(b, 16); in __uuid_gen_common()
Dfind_bit_benchmark.c155 get_random_bytes(bitmap, sizeof(bitmap)); in find_bit_test()
156 get_random_bytes(bitmap2, sizeof(bitmap2)); in find_bit_test()
/linux-6.6.21/include/linux/
Donce.h81 DO_ONCE(get_random_bytes, (buf), (nbytes))
84 DO_ONCE_SLEEPABLE(get_random_bytes, (buf), (nbytes))
Drandom.h39 void get_random_bytes(void *buf, size_t len);
129 get_random_bytes(buf, nbytes); in get_random_bytes_wait()
/linux-6.6.21/drivers/net/netdevsim/
Dpsample.c74 get_random_bytes(&udph->source, sizeof(u16)); in nsim_dev_psample_skb_build()
75 get_random_bytes(&udph->dest, sizeof(u16)); in nsim_dev_psample_skb_build()
97 get_random_bytes(&out_tc_occ, sizeof(u64)); in nsim_dev_psample_md_prepare()
105 get_random_bytes(&latency, sizeof(u64)); in nsim_dev_psample_md_prepare()
/linux-6.6.21/drivers/base/regmap/
Dregmap-kunit.c68 get_random_bytes(buf, size); in gen_regmap()
119 get_random_bytes(&val, sizeof(val)); in basic_read_write()
149 get_random_bytes(&val, sizeof(val)); in bulk_write()
186 get_random_bytes(&val, sizeof(val)); in bulk_read()
221 get_random_bytes(&val, sizeof(val)); in write_readonly()
553 get_random_bytes(vals, buf_sz); in stress_insert()
599 get_random_bytes(&val, sizeof(val)); in cache_bypass()
638 get_random_bytes(&val, sizeof(val)); in cache_sync()
677 get_random_bytes(&val, sizeof(val)); in cache_sync_defaults()
718 get_random_bytes(&val, sizeof(val)); in cache_sync_readonly()
[all …]
/linux-6.6.21/Documentation/security/
Dsiphash.rst22 random numbers, either using get_random_bytes or get_random_once::
25 get_random_bytes(&key, sizeof(key));
61 get_random_bytes(&table->key, sizeof(table->key));
145 random numbers, either using get_random_bytes or get_random_once::
148 get_random_bytes(&key, sizeof(key));
183 get_random_bytes(&table->key, sizeof(table->key));
/linux-6.6.21/lib/crypto/
Dblake2s-selftest.c608 get_random_bytes(blocks, sizeof(blocks)); in blake2s_random_test()
609 get_random_bytes(&state, sizeof(state)); in blake2s_random_test()
/linux-6.6.21/sound/drivers/
Dpcmtest.c292 get_random_bytes(runtime->dma_area + buf_pos_n(v_iter, channels, i), in fill_block_rand_n()
296 get_random_bytes(runtime->dma_area + buf_pos_n(v_iter, channels, i), in fill_block_rand_n()
298 get_random_bytes(runtime->dma_area + v_iter->chan_block * i, in fill_block_rand_n()
310 get_random_bytes(&runtime->dma_area[v_iter->buf_pos], v_iter->b_rw); in fill_block_rand_i()
312 get_random_bytes(&runtime->dma_area[v_iter->buf_pos], in_cur_block); in fill_block_rand_i()
313 get_random_bytes(runtime->dma_area, v_iter->b_rw - in_cur_block); in fill_block_rand_i()
/linux-6.6.21/arch/loongarch/include/asm/
Dstackprotector.h31 get_random_bytes(&canary, sizeof(canary)); in boot_init_stack_canary()
/linux-6.6.21/drivers/staging/wlan-ng/
Dp80211wep.c158 get_random_bytes(iv, 3); in wep_encrypt()
160 get_random_bytes(iv, 3); in wep_encrypt()
/linux-6.6.21/Documentation/crypto/
Dapi-samples.rst39 get_random_bytes(key, sizeof(key));
59 get_random_bytes(data, datasize);
62 get_random_bytes(iv, sizeof(iv));
/linux-6.6.21/include/net/
Dtipc.h58 get_random_bytes(&key, sizeof(key)); in tipc_hdr_rps_key()
/linux-6.6.21/drivers/net/wireguard/selftest/
Dallowedips.c287 get_random_bytes(ip, 4); in randomized_test()
302 get_random_bytes(mutate_mask, 4); in randomized_test()
331 get_random_bytes(ip, 16); in randomized_test()
346 get_random_bytes(mutate_mask, 16); in randomized_test()
384 get_random_bytes(ip, 4); in randomized_test()
390 get_random_bytes(ip, 16); in randomized_test()
/linux-6.6.21/tools/testing/kunit/test_data/
Dtest_kernel_panic_interrupt.log2 [ 0.060000] random: get_random_bytes called from init_oops_id+0x35/0x40 with crng_init=0
Dtest_config_printk_time.log2 [ 0.060000] random: get_random_bytes called from init_oops_id+0x35/0x40 with crng_init=0
Dtest_output_with_prefix_isolated_correctly.log2 [ 0.060000] random: get_random_bytes called from init_oops_id+0x35/0x40 with crng_init=0
Dtest_pound_no_prefix.log2 random: get_random_bytes called from init_oops_id+0x35/0x40 with crng_init=0
Dtest_pound_sign.log2 [ 0.060000] random: get_random_bytes called from init_oops_id+0x35/0x40 with crng_init=0
Dtest_multiple_prefixes.log2 [ 0.060000][ T1] random: get_random_bytes called from init_oops_id+0x35/0x40 with crng_init=0
Dtest_interrupted_tap_output.log2 [ 0.060000] random: get_random_bytes called from init_oops_id+0x35/0x40 with crng_init=0
/linux-6.6.21/drivers/net/wireguard/
Dcookie.c24 get_random_bytes(checker->secret, NOISE_HASH_LEN); in wg_cookie_checker_init()
100 get_random_bytes(checker->secret, NOISE_HASH_LEN); in make_cookie()
/linux-6.6.21/drivers/char/hw_random/
Dhisi-rng.c41 get_random_bytes(&seed, sizeof(seed)); in hisi_rng_init()

123456789