| /Linux-v5.4/arch/arm64/kernel/ |
| D | pointer_auth.c | 34 get_random_bytes(&keys->apia, sizeof(keys->apia)); in ptrauth_prctl_reset_keys() 36 get_random_bytes(&keys->apib, sizeof(keys->apib)); in ptrauth_prctl_reset_keys() 38 get_random_bytes(&keys->apda, sizeof(keys->apda)); in ptrauth_prctl_reset_keys() 40 get_random_bytes(&keys->apdb, sizeof(keys->apdb)); in ptrauth_prctl_reset_keys() 42 get_random_bytes(&keys->apga, sizeof(keys->apga)); in ptrauth_prctl_reset_keys()
|
| /Linux-v5.4/arch/arm64/include/asm/ |
| D | pointer_auth.h | 36 get_random_bytes(&keys->apia, sizeof(keys->apia)); in ptrauth_keys_init() 37 get_random_bytes(&keys->apib, sizeof(keys->apib)); in ptrauth_keys_init() 38 get_random_bytes(&keys->apda, sizeof(keys->apda)); in ptrauth_keys_init() 39 get_random_bytes(&keys->apdb, sizeof(keys->apdb)); in ptrauth_keys_init() 43 get_random_bytes(&keys->apga, sizeof(keys->apga)); in ptrauth_keys_init()
|
| D | stackprotector.h | 32 get_random_bytes(&canary, sizeof(canary)); in boot_init_stack_canary()
|
| /Linux-v5.4/lib/ |
| D | test_vmalloc.c | 82 get_random_bytes(&rnd, sizeof(rnd)); in random_size_align_alloc_test() 165 get_random_bytes(&n, sizeof(i)); in random_size_alloc_test() 309 get_random_bytes(&r, sizeof(i)); in pcpu_alloc_test() 315 get_random_bytes(&r, sizeof(i)); in pcpu_alloc_test() 371 get_random_bytes(&rnd, sizeof(rnd)); in shuffle_array()
|
| D | find_bit_benchmark.c | 120 get_random_bytes(bitmap, sizeof(bitmap)); in find_bit_test() 121 get_random_bytes(bitmap2, sizeof(bitmap2)); in find_bit_test()
|
| D | random32.c | 225 get_random_bytes(&entropy, sizeof(entropy)); in __prandom_timer() 249 get_random_bytes(&seeds, sizeof(seeds)); in prandom_seed_full_state()
|
| D | uuid.c | 35 get_random_bytes(uuid, 16); in generate_random_uuid()
|
| /Linux-v5.4/Documentation/security/ |
| D | siphash.rst | 22 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)); 135 random numbers, either using get_random_bytes or get_random_once: 138 get_random_bytes(&key, sizeof(key)); 173 get_random_bytes(&table->key, sizeof(table->key));
|
| /Linux-v5.4/include/linux/ |
| D | random.h | 38 extern void get_random_bytes(void *buf, int nbytes); 91 get_random_bytes(buf, nbytes); in get_random_bytes_wait()
|
| D | once.h | 56 DO_ONCE(get_random_bytes, (buf), (nbytes))
|
| /Linux-v5.4/arch/xtensa/include/asm/ |
| D | stackprotector.h | 33 get_random_bytes(&canary, sizeof(canary)); in boot_init_stack_canary()
|
| /Linux-v5.4/arch/mips/include/asm/ |
| D | stackprotector.h | 34 get_random_bytes(&canary, sizeof(canary)); in boot_init_stack_canary()
|
| /Linux-v5.4/arch/sh/include/asm/ |
| D | stackprotector.h | 21 get_random_bytes(&canary, sizeof(canary)); in boot_init_stack_canary()
|
| /Linux-v5.4/arch/arm/include/asm/ |
| D | stackprotector.h | 36 get_random_bytes(&canary, sizeof(canary)); in boot_init_stack_canary()
|
| /Linux-v5.4/include/net/ |
| D | tipc.h | 58 get_random_bytes(&key, sizeof(key)); in tipc_hdr_rps_key()
|
| /Linux-v5.4/drivers/staging/wlan-ng/ |
| D | p80211wep.c | 235 get_random_bytes(iv, 3); in wep_encrypt() 237 get_random_bytes(iv, 3); in wep_encrypt()
|
| /Linux-v5.4/Documentation/crypto/ |
| D | api-samples.rst | 39 get_random_bytes(key, sizeof(key)); 59 get_random_bytes(data, datasize); 62 get_random_bytes(iv, sizeof(iv));
|
| /Linux-v5.4/arch/x86/include/asm/ |
| D | stackprotector.h | 75 get_random_bytes(&canary, sizeof(canary)); in boot_init_stack_canary()
|
| /Linux-v5.4/drivers/net/netdevsim/ |
| D | dev.c | 54 get_random_bytes(dummy_data, NSIM_DEV_DUMMY_REGION_SIZE); in nsim_dev_take_snapshot_write() 399 get_random_bytes(&udph->source, sizeof(u16)); in nsim_dev_trap_skb_build() 400 get_random_bytes(&udph->dest, sizeof(u16)); in nsim_dev_trap_skb_build() 673 get_random_bytes(nsim_dev->switch_id.id, nsim_dev->switch_id.id_len); in nsim_dev_create()
|
| /Linux-v5.4/drivers/char/hw_random/ |
| D | hisi-rng.c | 41 get_random_bytes(&seed, sizeof(seed)); in hisi_rng_init()
|
| /Linux-v5.4/net/tipc/ |
| D | core.c | 65 get_random_bytes(&tn->random, sizeof(int)); in tipc_init_net()
|
| /Linux-v5.4/fs/crypto/ |
| D | policy.c | 126 get_random_bytes(ctx->nonce, sizeof(ctx->nonce)); in fscrypt_new_context_from_policy() 142 get_random_bytes(ctx->nonce, sizeof(ctx->nonce)); in fscrypt_new_context_from_policy()
|
| /Linux-v5.4/net/rxrpc/ |
| D | net_ns.c | 49 get_random_bytes(&rxnet->epoch, sizeof(rxnet->epoch)); in rxrpc_init_net()
|
| /Linux-v5.4/drivers/infiniband/sw/siw/ |
| D | siw_mem.c | 26 get_random_bytes(&next, 4); in siw_mem_add() 111 get_random_bytes(&next, 4); in siw_mr_add_mem()
|
| /Linux-v5.4/drivers/staging/uwb/i1480/dfu/ |
| D | dfu.c | 91 get_random_bytes(&context, 1); in i1480_cmd()
|