Home
last modified time | relevance | path

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

123456789

/linux/arch/arm64/include/asm/
H A 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/arch/arm64/kernel/
H A 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/lib/
H A 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()
H A 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/drivers/firmware/cirrus/test/
H A Dcs_dsp_test_bin.c125 get_random_bytes(&payload_data, sizeof(payload_data)); in bin_patch_one_word()
173 get_random_bytes(&payload_data, sizeof(payload_data)); in bin_patch_one_multiword()
222 get_random_bytes(&payload_data, sizeof(payload_data)); in bin_patch_multi_oneword()
279 get_random_bytes(&payload_data, sizeof(payload_data)); in bin_patch_multi_oneword_unordered()
341 get_random_bytes(&payload_data, sizeof(payload_data)); in bin_patch_multi_oneword_sparse_unordered()
398 get_random_bytes(&payload_data, sizeof(payload_data)); in bin_patch_one_word_multiple_mems()
499 get_random_bytes(&payload_data, sizeof(payload_data)); in bin_patch_one_word_multiple_algs()
561 get_random_bytes(&payload_data, sizeof(payload_data)); in bin_patch_one_word_multiple_algs_unordered()
620 get_random_bytes(packed_payload, sizeof(packed_payload)); in bin_patch_1_packed()
678 get_random_bytes(packed_payloa in bin_patch_1_packed_1_single_trailing()
[all...]
H A Dcs_dsp_test_wmfw.c116 get_random_bytes(payload_data, payload_size_bytes); in wmfw_write_one_payload()
178 get_random_bytes(payload_data, num_payloads * payload_size_bytes); in wmfw_write_multiple_oneblock_payloads()
245 get_random_bytes(payload_data, num_payloads * payload_size_bytes); in wmfw_write_multiple_oneblock_payloads_reverse()
317 get_random_bytes(payload_data, payload_size_bytes); in wmfw_write_multiple_payloads_sparse_unordered()
386 get_random_bytes(payload_data, payload_size_bytes); in wmfw_write_all_unpacked_pm()
430 get_random_bytes(payload_data, payload_size_bytes); in wmfw_write_all_packed_pm()
499 get_random_bytes(payload_data[i], payload_size_bytes); in wmfw_write_multiple_unpacked_mem()
596 get_random_bytes(payload_data[i], payload_size_bytes); in wmfw_write_multiple_packed_unpacked_mem()
677 get_random_bytes(packed_payload_data, packed_payload_size_bytes); in wmfw_write_packed_1_unpacked_trailing()
679 get_random_bytes(unpacked_payload_dat in wmfw_write_packed_1_unpacked_trailing()
[all...]
H A Dcs_dsp_test_control_cache.c222 get_random_bytes(reg_vals, param->len_bytes); in cs_dsp_ctl_cache_init()
297 get_random_bytes(readback, param->len_bytes); in cs_dsp_ctl_cache_init_write_only()
357 get_random_bytes(reg_vals[i], def.length_bytes); in cs_dsp_ctl_cache_init_multiple_fw_same_controls()
466 get_random_bytes(reg_vals[i], def.length_bytes); in cs_dsp_ctl_cache_init_multiple_fwalgid_same_controls()
545 get_random_bytes(reg_vals[i], def.length_bytes); in cs_dsp_ctl_cache_init_multiple_mems()
667 get_random_bytes(reg_vals[i], def.length_bytes); in cs_dsp_ctl_cache_init_multiple_algs()
768 get_random_bytes(reg_vals[i], def.length_bytes); in cs_dsp_ctl_cache_init_multiple_offsets()
884 get_random_bytes(reg_vals, param->len_bytes); in cs_dsp_ctl_cache_read_not_started()
945 get_random_bytes(reg_vals, param->len_bytes); in cs_dsp_ctl_cache_read_stopped()
1011 get_random_bytes(reg_val in cs_dsp_ctl_cache_read_powered_down()
[all...]
H A Dcs_dsp_test_control_rw.c194 get_random_bytes(reg_vals, param->len_bytes); in cs_dsp_ctl_write_running()
270 get_random_bytes(reg_vals, param->len_bytes); in cs_dsp_ctl_read_volatile_running()
905 get_random_bytes(reg_vals, def.length_bytes); in cs_dsp_ctl_read_with_seek()
972 get_random_bytes(reg_vals, def.length_bytes); in cs_dsp_ctl_read_cache_with_seek()
1037 get_random_bytes(reg_vals, def.length_bytes); in cs_dsp_ctl_read_truncated()
1107 get_random_bytes(reg_vals, def.length_bytes); in cs_dsp_ctl_read_cache_truncated()
1178 get_random_bytes(reg_vals, def.length_bytes); in cs_dsp_ctl_write_with_seek()
1204 get_random_bytes(new_data, def.length_bytes); in cs_dsp_ctl_write_with_seek()
1256 get_random_bytes(reg_vals, def.length_bytes); in cs_dsp_ctl_write_cache_with_seek()
1285 get_random_bytes(new_dat in cs_dsp_ctl_write_cache_with_seek()
[all...]
/linux/Documentation/translations/zh_CN/security/
H A Dsiphash.rst32 get_random_bytes(&key, sizeof(key));
66 get_random_bytes(&table->key, sizeof(table->key));
147 get_random_bytes(&key, sizeof(key));
180 get_random_bytes(&table->key, sizeof(table->key));
/linux/include/linux/
H A Donce.h81 DO_ONCE(get_random_bytes, (buf), (nbytes))
84 DO_ONCE_SLEEPABLE(get_random_bytes, (buf), (nbytes))
H A Drandom.h39 void get_random_bytes(void *buf, size_t len);
124 /* Calls wait_for_random_bytes() and then calls get_random_bytes(buf, nbytes).
129 get_random_bytes(buf, nbytes); in get_random_bytes_wait()
/linux/drivers/net/netdevsim/
H A 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/drivers/crypto/intel/qat/qat_common/
H A Dadf_heartbeat_inject.c55 get_random_bytes(&rand, sizeof(rand)); in adf_heartbeat_inject_error()
59 get_random_bytes(&rand, sizeof(rand)); in adf_heartbeat_inject_error()
/linux/Documentation/security/
H A 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/drivers/base/regmap/
H A Dregmap-kunit.c34 get_random_bytes(new, size); in get_changed_bytes()
42 get_random_bytes(&n[i], 1); in get_changed_bytes()
184 get_random_bytes(buf, size); in gen_regmap()
247 get_random_bytes(&val, sizeof(val)); in basic_read_write()
273 get_random_bytes(&val, sizeof(val)); in bulk_write()
306 get_random_bytes(&val, sizeof(val)); in bulk_read()
336 get_random_bytes(&val, sizeof(val)); in multi_write()
375 get_random_bytes(&val, sizeof(val)); in multi_read()
409 get_random_bytes(&val, sizeof(val)); in read_bypassed()
475 get_random_bytes( in read_bypassed_volatile()
[all...]
/linux/lib/crypto/
H A 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/arch/loongarch/include/asm/
H A Dstackprotector.h31 get_random_bytes(&canary, sizeof(canary)); in boot_init_stack_canary()
/linux/Documentation/crypto/
H A Dapi-samples.rst39 get_random_bytes(key, sizeof(key));
59 get_random_bytes(data, datasize);
62 get_random_bytes(iv, sizeof(iv));
/linux/include/net/
H A Dtipc.h58 get_random_bytes(&key, sizeof(key)); in tipc_hdr_rps_key()
/linux/drivers/net/wireguard/selftest/
H A 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()
389 get_random_bytes(ip, 16); in randomized_test()
/linux/tools/testing/kunit/test_data/
H A Dtest_kernel_panic_interrupt.log2 [ 0.060000] random: get_random_bytes called from init_oops_id+0x35/0x40 with crng_init=0
H A Dtest_config_printk_time.log2 [ 0.060000] random: get_random_bytes called from init_oops_id+0x35/0x40 with crng_init=0
H A Dtest_pound_sign.log2 [ 0.060000] random: get_random_bytes called from init_oops_id+0x35/0x40 with crng_init=0
H A Dtest_output_with_prefix_isolated_correctly.log2 [ 0.060000] random: get_random_bytes called from init_oops_id+0x35/0x40 with crng_init=0
/linux/security/keys/trusted-keys/
H A Dtrusted_dcp.c215 get_random_bytes(b->nonce, AES_KEYSIZE_128); in trusted_dcp_seal()
216 get_random_bytes(plain_blob_key, AES_KEYSIZE_128); in trusted_dcp_seal()

123456789