Home
last modified time | relevance | path

Searched refs:rotate_xor (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/powerpc/mm/nohash/
H A Dkaslr_booke.c45 static unsigned long __init rotate_xor(unsigned long hash, const void *area, in rotate_xor() function
69 hash = rotate_xor(hash, linux_banner, strlen(linux_banner)); in get_boot_seed()
70 hash = rotate_xor(hash, fdt, fdt_totalsize(fdt)); in get_boot_seed()
299 random = rotate_xor(random, &seed, sizeof(seed)); in kaslr_choose_location()
306 random = rotate_xor(random, &seed, sizeof(seed)); in kaslr_choose_location()
/openbmc/linux/arch/loongarch/kernel/
H A Drelocate.c71 static inline __init unsigned long rotate_xor(unsigned long hash, in rotate_xor() function
98 hash = rotate_xor(hash, linux_banner, strlen(linux_banner)); in get_random_boot()
101 hash = rotate_xor(hash, &entropy, sizeof(entropy)); in get_random_boot()
/openbmc/linux/arch/mips/kernel/
H A Drelocate.c194 static inline __init unsigned long rotate_xor(unsigned long hash, in rotate_xor() function
221 hash = rotate_xor(hash, linux_banner, strlen(linux_banner)); in get_random_boot()
224 hash = rotate_xor(hash, &entropy, sizeof(entropy)); in get_random_boot()
237 hash = rotate_xor(hash, prop, sizeof(*prop)); in get_random_boot()
/openbmc/linux/arch/x86/boot/compressed/
H A Dkaslr.c45 static unsigned long rotate_xor(unsigned long hash, const void *area, in rotate_xor() function
65 hash = rotate_xor(hash, build_str, sizeof(build_str)); in get_boot_seed()
66 hash = rotate_xor(hash, boot_params, sizeof(*boot_params)); in get_boot_seed()