Home
last modified time | relevance | path

Searched refs:random (Results 1 – 21 of 21) sorted by relevance

/arch/x86/lib/
A Dkaslr.c56 unsigned long raw, random = get_boot_seed(); in kaslr_get_random_long() local
68 random ^= raw; in kaslr_get_random_long()
78 random ^= raw; in kaslr_get_random_long()
85 random ^= i8254(); in kaslr_get_random_long()
90 : "=a" (random), "=d" (raw) in kaslr_get_random_long()
91 : "a" (random), "rm" (mix_const)); in kaslr_get_random_long()
92 random += raw; in kaslr_get_random_long()
97 return random; in kaslr_get_random_long()
/arch/s390/boot/
A Dkaslr.c57 unsigned long seed, random; in get_random() local
66 cpacf_trng(NULL, 0, (u8 *) &random, sizeof(random)); in get_random()
71 cpacf_prno(CPACF_PRNO_SHA512_DRNG_GEN, &prno, (u8 *) &random, in get_random()
72 sizeof(random), NULL, 0); in get_random()
83 random = seed; in get_random()
84 cpacf_kmc(CPACF_KMC_PRNG, prng.parm_block, (u8 *) &random, in get_random()
85 (u8 *) &random, sizeof(random)); in get_random()
90 *value = random % limit; in get_random()
/arch/powerpc/mm/nohash/
A Dkaslr_booke.c286 unsigned long offset, random; in kaslr_choose_location() local
295 random = get_boot_seed(dt_ptr); in kaslr_choose_location()
299 random = rotate_xor(random, &seed, sizeof(seed)); in kaslr_choose_location()
306 random = rotate_xor(random, &seed, sizeof(seed)); in kaslr_choose_location()
338 index = random & 0xFF; in kaslr_choose_location()
342 offset = random % (SZ_64M - kernel_sz); in kaslr_choose_location()
/arch/xtensa/platforms/iss/
A Dnetwork.c126 goto random; in setup_etheraddr()
131 goto random; in setup_etheraddr()
136 goto random; in setup_etheraddr()
141 goto random; in setup_etheraddr()
149 random: in setup_etheraddr()
/arch/x86/tools/
A Dinsn_sanity.c150 *(unsigned short *)(&insn_buff[i]) = random() & 0xffff; in generate_insn()
153 insn_buff[i++] = random() & 0xff; in generate_insn()
/arch/s390/crypto/
A Dprng.c298 static const u8 random[] __initconst = { in prng_sha512_selftest() local
332 u8 buf[sizeof(random)]; in prng_sha512_selftest()
357 if (memcmp(buf, random, sizeof(random)) != 0) { in prng_sha512_selftest()
/arch/um/drivers/
A DMakefile43 obj-$(CONFIG_UML_RANDOM) += random.o
A Dvector_kern.c1548 goto random; in vector_setup_etheraddr()
1553 goto random; in vector_setup_etheraddr()
1558 goto random; in vector_setup_etheraddr()
1563 goto random; in vector_setup_etheraddr()
1574 random: in vector_setup_etheraddr()
/arch/mips/boot/dts/brcm/
A Dbcm6368.dtsi227 random: rng@10004180 { label
/arch/um/
A DKconfig125 that have their libraries in random /nix directories and
/arch/arm64/boot/dts/qcom/
A Dsdm845-oneplus-common.dtsi103 * random crashes which are most likely modem related, more testing needed.
A Dmsm8996-sony-xperia-tone.dtsi640 /* Pinned to a high value for now to avoid random crashes. */
A Dsdm845-samsung-starqltechn.dts113 * random crashes which are most likely modem related, more testing needed.
/arch/arm/boot/dts/st/
A Dste-dbx5x0.dtsi114 * 640KB ESRAM (embedded static random access memory), divided
/arch/m68k/ifpsp060/src/
A Dilsp.S403 # - according to Knuth, this is done only 2 out of 65536 times for random
/arch/x86/math-emu/
A DREADME342 to measure the emulator (the values, being random, were in general not
/arch/
A DKconfig1160 determine the random offset to the base address of vma regions
1194 determine the random offset to the base address of vma regions
/arch/arm64/boot/dts/rockchip/
A Drk356x-base.dtsi1048 * low quality of random data, so the HWRNG isn't enabled for all RK356x
/arch/riscv/
A DKconfig1153 random u64 value in /chosen/kaslr-seed at kernel entry.
/arch/x86/
A DKconfig2757 random kernel OOPSes or reboots that don't seem to be related to
2761 Some other things you should try when experiencing seemingly random,
/arch/arm64/
A DKconfig2331 random u64 value in /chosen/kaslr-seed at kernel entry.

Completed in 51 milliseconds