Home
last modified time | relevance | path

Searched full:random (Results 1 – 25 of 2659) sorted by relevance

12345678910>>...107

/OK3568_Linux_fs/kernel/drivers/char/hw_random/
H A DKconfig3 # Hardware Random Number Generator (RNG) configuration
7 tristate "Hardware Random Number Generator Core support"
10 Hardware Random Number Generator Core infrastructure.
15 of possibly several hardware random number generators.
17 These hardware random number generators do feed into the
18 kernel's random number generator entropy pool.
25 tristate "Timer IOMEM HW Random Number Generator support"
28 This driver provides kernel-side support for a generic Random
39 tristate "Intel HW Random Number Generator support"
43 This driver provides kernel-side support for the Random Number
[all …]
/OK3568_Linux_fs/kernel/include/crypto/
H A Drng.h3 * RNG: Random Number Generator algorithms under the crypto API
17 * struct rng_alg - random number generator definition
20 * random number. The random number generator transform
21 * must generate the random number out of the context
24 * @seed: Seed or reseed the random number generator. With the
25 * invocation of this function call, the random number
27 * random number generator requires a seed for setting
33 * @seedsize: The seed size required for a random number generator
35 * random number generators does not require a seed
64 * DOC: Random number generator API
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/tr1/
H A Drandom.h1 // random number generation -*- C++ -*-
26 * @file tr1/random.h
28 * Do not attempt to use it directly. @headername{tr1/random}
42 // [5.1] Random number generation in _GLIBCXX_VISIBILITY()
45 * @addtogroup tr1_random Random Number Generation in _GLIBCXX_VISIBILITY()
46 * A facility for generating random numbers on selected distributions. in _GLIBCXX_VISIBILITY()
119 * Converts a value generated by the adapted random number generator in _GLIBCXX_VISIBILITY()
120 * into a value in the input domain for the dependent random number in _GLIBCXX_VISIBILITY()
218 * Produces random numbers on a given distribution function using a in _GLIBCXX_VISIBILITY()
219 * non-uniform random number generation engine. in _GLIBCXX_VISIBILITY()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/tr1/
H A Drandom.h1 // random number generation -*- C++ -*-
26 * @file tr1/random.h
28 * Do not attempt to use it directly. @headername{tr1/random}
42 // [5.1] Random number generation in _GLIBCXX_VISIBILITY()
45 * @addtogroup tr1_random Random Number Generation in _GLIBCXX_VISIBILITY()
46 * A facility for generating random numbers on selected distributions. in _GLIBCXX_VISIBILITY()
119 * Converts a value generated by the adapted random number generator in _GLIBCXX_VISIBILITY()
120 * into a value in the input domain for the dependent random number in _GLIBCXX_VISIBILITY()
218 * Produces random numbers on a given distribution function using a in _GLIBCXX_VISIBILITY()
219 * non-uniform random number generation engine. in _GLIBCXX_VISIBILITY()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/signal/
H A Dsigfuz.c14 * test depends on random numbers, and, based on them, it sets different TM
18 * to the sigreturn system call with random data, in order to make sure that
153 ucp->uc_mcontext.gp_regs[PT_MSR] = random(); in trap_signal_handler()
155 ucp->uc_mcontext.gp_regs[PT_NIP] = random(); in trap_signal_handler()
157 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] = random(); in trap_signal_handler()
159 ucp->uc_link->uc_mcontext.gp_regs[PT_NIP] = random(); in trap_signal_handler()
161 ucp->uc_mcontext.gp_regs[PT_TRAP] = random(); in trap_signal_handler()
162 ucp->uc_mcontext.gp_regs[PT_DSISR] = random(); in trap_signal_handler()
163 ucp->uc_mcontext.gp_regs[PT_DAR] = random(); in trap_signal_handler()
164 ucp->uc_mcontext.gp_regs[PT_ORIG_R3] = random(); in trap_signal_handler()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/bits/
H A Drandom.h1 // random number generation -*- C++ -*-
26 * @file bits/random.h
28 * Do not attempt to use it directly. @headername{random}
41 // [26.4] Random number generation in _GLIBCXX_VISIBILITY()
44 * @defgroup random Random Number Generation in _GLIBCXX_VISIBILITY()
47 * A facility for generating random numbers on selected distributions. in _GLIBCXX_VISIBILITY()
55 * uniform random number generator to a floatng point result in the range in _GLIBCXX_VISIBILITY()
183 * Converts a value generated by the adapted random number generator in _GLIBCXX_VISIBILITY()
184 * into a value in the input domain for the dependent random number in _GLIBCXX_VISIBILITY()
205 // a random number engine _Engine with result type _Res. in _GLIBCXX_VISIBILITY()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/bits/
H A Drandom.h1 // random number generation -*- C++ -*-
26 * @file bits/random.h
28 * Do not attempt to use it directly. @headername{random}
41 // [26.4] Random number generation in _GLIBCXX_VISIBILITY()
44 * @defgroup random Random Number Generation in _GLIBCXX_VISIBILITY()
47 * A facility for generating random numbers on selected distributions. in _GLIBCXX_VISIBILITY()
55 * uniform random number generator to a floatng point result in the range in _GLIBCXX_VISIBILITY()
183 * Converts a value generated by the adapted random number generator in _GLIBCXX_VISIBILITY()
184 * into a value in the input domain for the dependent random number in _GLIBCXX_VISIBILITY()
205 // a random number engine _Engine with result type _Res. in _GLIBCXX_VISIBILITY()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/ump/linux/
H A Dump_kernel_random_mapping.h26 * The random mapping object
41 * Create a random mapping object
42 * Create a random mapping capable of holding 2^20 entries
43 * @return Pointer to a random mapping object, NULL on failure
48 * Destroy a random mapping object
54 * Allocate a new mapping entry (random ID)
58 * @return The random allocated, a negative value on error
63 * Get the value mapped to by a random ID
67 * @param map The map to lookup the random id in
77 * Free the random ID
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/flann/
H A Drandom.h58 * Seeds the random number generator
59 * @param seed Random seed
71 * Generates a random double value.
74 * Generates a random double value.
77 * @return Random double value
85 * Generates a random integer value.
88 * @return Random integer value
96 * Random number generator that returns a distinct number from
118 * @param n the size of the interval from which to generate random numbers.
138 * Return a distinct random integer in greater or equal to 0 and less
[all …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/
H A Dhw_random.rst2 Linux support for random number generator in i8xx chipsets
10 a Random Number Generator (RNG). The software has two parts:
24 /dev/random special files.
30 and read() system calls, you can read random data from
36 data before assuming it is truly random.
54 Hardware driver for Intel/AMD/VIA Random Number Generators (RNG)
62 The Firmware Hub integrates a Random Number Generator (RNG)
63 using thermal noise generated from inherently random quantum
64 mechanical properties of silicon. When not generating new random
97 Random Number Generator
[all …]
/OK3568_Linux_fs/kernel/arch/x86/lib/
H A Dkaslr.c56 unsigned long raw, random = get_boot_seed(); in kaslr_get_random_long() local
65 random ^= raw; in kaslr_get_random_long()
74 random ^= raw; in kaslr_get_random_long()
80 random ^= i8254(); in kaslr_get_random_long()
85 : "=a" (random), "=d" (raw) in kaslr_get_random_long()
86 : "a" (random), "rm" (mix_const)); in kaslr_get_random_long()
87 random += raw; in kaslr_get_random_long()
91 return random; in kaslr_get_random_long()
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c105 s1[j] = random(); in testcase()
107 rand_s1 += random() % MAX_OFFSET_DIFF_S1_S2; in testcase()
108 rand_s2 += random() % MAX_OFFSET_DIFF_S1_S2; in testcase()
112 change = random() % comp_size; in testcase()
113 rand_s2[change] = random() & 0xff; in testcase()
131 s1[j] = random(); in testcase()
133 rand_s1 += random() % MAX_OFFSET_DIFF_S1_S2; in testcase()
134 rand_s2 += random() % MAX_OFFSET_DIFF_S1_S2; in testcase()
139 change = random() % comp_size; in testcase()
140 s2[change] = random() & 0xff; in testcase()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/parallel/
H A Drandom_number.h26 * @brief Random number generator based on the Mersenne twister.
36 #include <tr1/random>
41 /** @brief Random number generator, based on the Mersenne twister. */
51 // Assumed to be twice as long as the usual random number.
82 * @param __seed Random __seed.
83 * @param _M_supremum Generate integer random numbers in the
92 /** @brief Generate unsigned random 32-bit integer. */
97 /** @brief Generate unsigned random 32-bit integer in the
106 /** @brief Generate a number of random bits, run-time parameter.
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/parallel/
H A Drandom_number.h26 * @brief Random number generator based on the Mersenne twister.
36 #include <tr1/random>
41 /** @brief Random number generator, based on the Mersenne twister. */
51 // Assumed to be twice as long as the usual random number.
82 * @param __seed Random __seed.
83 * @param _M_supremum Generate integer random numbers in the
92 /** @brief Generate unsigned random 32-bit integer. */
97 /** @brief Generate unsigned random 32-bit integer in the
106 /** @brief Generate a number of random bits, run-time parameter.
/OK3568_Linux_fs/kernel/drivers/firmware/efi/libstub/
H A Drandom.c29 * efi_get_random_bytes() - fill a buffer with random bytes
31 * @out: caller allocated buffer to receive the random bytes
34 * EFI_RNG_PROTOCOL or there are not enough random bytes available to fill
53 * efi_random_get_seed() - provide random seed as configuration table
55 * The EFI_RNG_PROTOCOL is used to read random bytes. These random bytes are
57 * for the initialization of its pseudo random number generator.
59 * If the EFI_RNG_PROTOCOL is not available or there are not enough random bytes
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/initscripts/initscripts-1.0/
H A Durandom12 # Short-Description: Save and restore the random seed
13 # Description: Save the random seed on shutdown and restore it on boot,
20 RANDOM_SEED_FILE=/var/lib/urandom/random-seed
27 test "$VERBOSE" != no && echo "Initializing random number generator..."
40 # Carry a random seed from shut-down to start-up;
41 # see documentation in linux/drivers/char/random.c
42 test "$VERBOSE" != no && echo "Saving random seed..."
/OK3568_Linux_fs/buildroot/package/urandom-scripts/
H A DS20urandom3 # Preserve the random seed between reboots. See urandom(4).
9 URANDOM_SEED="/var/lib/random-seed"
14 if pool_bits=$(cat /proc/sys/kernel/random/poolsize 2> /dev/null); then
30 printf 'Initializing random number generator: '
43 printf 'Saving random seed: '
64 # Carry a random seed from start-up to start-up
68 # Carry a random seed from shut-down to start-up
/OK3568_Linux_fs/kernel/arch/s390/boot/
H A Dkaslr.c56 unsigned long seed, random; in get_random() local
65 cpacf_trng(NULL, 0, (u8 *) &random, sizeof(random)); in get_random()
70 cpacf_prno(CPACF_PRNO_SHA512_DRNG_GEN, &prno, (u8 *) &random, in get_random()
71 sizeof(random), NULL, 0); in get_random()
82 random = seed; in get_random()
83 cpacf_kmc(CPACF_KMC_PRNG, prng.parm_block, (u8 *) &random, in get_random()
84 (u8 *) &random, sizeof(random)); in get_random()
89 *value = random % limit; in get_random()
115 * addresses we generate random value just once. For that we need to build a
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/valgrind/valgrind/
H A Davoid-neon-for-targets-which-don-t-support-it.patch6 The sh-mem-random.c test app tries to use neon loads and stores to
15 memcheck/tests/sh-mem-random.c | 2 +-
18 diff --git a/memcheck/tests/sh-mem-random.c b/memcheck/tests/sh-mem-random.c
20 --- a/memcheck/tests/sh-mem-random.c
21 +++ b/memcheck/tests/sh-mem-random.c
/OK3568_Linux_fs/u-boot/drivers/rng/
H A DKconfig2 bool "Driver support for Random Number Generator devices"
5 Enable driver model for random number generator(rng) devices.
7 read the random seed from the device.
12 bool "Enable random number generator for rockchip crypto rng"
16 Enable random number generator for rockchip.This driver is
/OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/mlxsw/
H A Dsharedbuffer_configuration.py6 import random
16 objects, pool, tcbind and portpool. Provide an interface to get random
19 - random size
22 - random pool number
23 - random threshold
26 - random threshold
49 th = random.randint(3, 16)
67 return arr[random.randint(0, len(arr) - 1)]
223 # For each pool, set random size and static threshold type
296 # Bind each port and unicast TC (TCs < 8) to a random pool and a random
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bs4/
H A Ddiagnose.py14 import random
137 "Generate a random word-like string."
144 s += random.choice(t)
148 "Generate a random sentence-like string."
149 return " ".join(rword(random.randint(4,9)) for i in range(length))
156 choice = random.randint(0,3)
159 tag_name = random.choice(tag_names)
162 elements.append(rsentence(random.randint(1,4)))
165 tag_name = random.choice(tag_names)
/OK3568_Linux_fs/u-boot/include/
H A Drng.h12 * dm_rng_read() - read a random number seed from the rng device
13 * @buffer: input buffer to put the read random seed into
14 * @size: number of bytes of random seed read
23 * @read() - read a random number seed
25 * @data: input buffer to read the random seed
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/verifier/
H A Dld_dw.c2 "ld_dw: xor semi-random 64 bit imms, test 1",
11 "ld_dw: xor semi-random 64 bit imms, test 2",
20 "ld_dw: xor semi-random 64 bit imms, test 3",
29 "ld_dw: xor semi-random 64 bit imms, test 4",
38 "ld_dw: xor semi-random 64 bit imms, test 5",
/OK3568_Linux_fs/yocto/poky/meta/recipes-support/curl/
H A Dcurl_7.82.0.bb51 # Entropy source for random PACKAGECONFIG option
52 RANDOM ?= "/dev/urandom"
54 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} libidn openssl proxy random th…
55 PACKAGECONFIG:class-native = "ipv6 openssl proxy random threaded-resolver verbose zlib"
56 PACKAGECONFIG:class-nativesdk = "ipv6 openssl proxy random threaded-resolver verbose zlib"
79 PACKAGECONFIG[random] = "--with-random=${RANDOM},--without-random"

12345678910>>...107