Home
last modified time | relevance | path

Searched refs:entropy (Results 1 – 11 of 11) sorted by relevance

/arch/x86/mm/
A Dkaslr.c142 unsigned long entropy; in kernel_randomize_memory() local
148 entropy = remain_entropy / (ARRAY_SIZE(kaslr_regions) - i); in kernel_randomize_memory()
150 entropy = (rand % (entropy + 1)) & PUD_MASK; in kernel_randomize_memory()
151 vaddr += entropy; in kernel_randomize_memory()
167 remain_entropy -= entropy; in kernel_randomize_memory()
/arch/s390/boot/
A Dkaslr.c59 __u64 entropy[4]; in get_random() local
79 (u8 *) entropy, (u8 *) entropy, in get_random()
80 sizeof(entropy)); in get_random()
81 memcpy(prng.parm_block, entropy, sizeof(entropy)); in get_random()
/arch/riscv/include/asm/
A Darchrandom.h21 u16 *entropy = (u16 *)v; in csr_seed_long() local
32 entropy[valid_seeds++] = csr_seed & SEED_ENTROPY_MASK; in csr_seed_long()
/arch/loongarch/kernel/
A Drelocate.c111 unsigned long entropy = random_get_entropy(); in get_random_boot() local
117 hash = rotate_xor(hash, &entropy, sizeof(entropy)); in get_random_boot()
/arch/s390/crypto/
A Dprng.c189 __u64 entropy[4]; in prng_tdes_add_entropy() local
194 (char *) entropy, (char *) entropy, in prng_tdes_add_entropy()
195 sizeof(entropy)); in prng_tdes_add_entropy()
196 memcpy(prng_data->prngws.parm_block, entropy, sizeof(entropy)); in prng_tdes_add_entropy()
/arch/mips/kernel/
A Drelocate.c217 unsigned long entropy = random_get_entropy(); in get_random_boot() local
224 hash = rotate_xor(hash, &entropy, sizeof(entropy)); in get_random_boot()
/arch/x86/
A DKconfig2094 of entropy). Note that this also reduces the memory space
2099 512MB (8 bits of entropy).
2103 the entropy pool as well. If neither RDRAND nor RDTSC are
2104 supported, then entropy is read from the i8254 timer. The
2105 usable entropy is limited by the kernel being built using
2107 minimum of 2MB. As a result, only 10 bits of entropy are
2173 for memory hotplug support but reduces the entropy available for
/arch/riscv/
A DKconfig1152 It is the bootloader's job to provide entropy, by passing a
1156 EFI_RNG_PROTOCOL implementation (if available) to supply entropy
/arch/
A DKconfig1080 enough entropy for module space randomization, for instance
1481 roughly 5 bits of entropy, frustrating memory corruption
/arch/arm64/
A DKconfig2330 It is the bootloader's job to provide entropy, by passing a
2334 EFI_RNG_PROTOCOL implementation (if available) to supply entropy
/arch/mips/
A DKconfig1200 to allow access to command line and entropy sources.

Completed in 46 milliseconds