Searched refs:rand (Results 1 - 25 of 27) sorted by relevance

12

/u-boot/lib/
H A Drand.c10 #include <rand.h>
23 unsigned int rand(void) function
H A Duuid.c15 #include <rand.h>
392 srand(get_ticks() + rand());
396 ptr[i] = rand();
H A DMakefile129 obj-$(CONFIG_LIB_RAND) += rand.o
/u-boot/include/
H A Drand.h16 * point. This affects future calls to rand() to start from that point
23 * rand() - Get a 32-bit pseudo-random number
27 unsigned int rand(void);
H A Dnet.h23 #include <rand.h>
/u-boot/drivers/rng/
H A Dsandbox_rng.c7 #include <rand.h>
22 seed = get_timer(0) ^ rand();
26 random = rand();
33 random = rand();
H A Dmeson-rng.c46 u32 rand = priv->read(pdata->base); local
53 memcpy(buffer, &rand, step);
H A Dnpcm_rng.c116 unsigned int rand(void) function
/u-boot/tools/
H A Dgen_eth_addr.c24 ethaddr_high = (rand() & 0xfeff) | 0x0200;
25 ethaddr_low = rand();
/u-boot/arch/arm/include/asm/armv8/
H A Dsec_firmware.h18 int sec_firmware_get_random(uint8_t *rand, int bytes);
/u-boot/test/dm/
H A Dmux-cmd.c15 #include <rand.h>
129 srand(get_ticks() + rand());
133 state = rand() % mux->states;
163 srand(get_ticks() + rand());
167 state = rand() % mux->states;
H A Dnand.c8 #include <rand.h>
67 gold[i] = rand();
H A Dregmap.c12 #include <rand.h>
/u-boot/arch/arm/cpu/armv8/
H A Dsec_firmware.c328 * @rand: random number buffer to be filled
332 int sec_firmware_get_random(uint8_t *rand, int bytes) argument
353 memcpy(rand, &num, bytes);
420 u8 rand[8]; local
429 err = sec_firmware_get_random(rand, 8);
446 err = fdt_setprop(fdt, nodeoffset, "kaslr-seed", rand,
447 sizeof(rand));
/u-boot/drivers/crypto/
H A Dace_sha.c9 #include <rand.h>
143 unsigned int rand(void) function
183 return rand();
/u-boot/test/lib/
H A Dtest_aes.c11 #include <rand.h>
41 buf[i] = rand() & 0xff;
/u-boot/cmd/
H A D2048.c9 #include <rand.h>
264 r = rand() % len;
267 n = ((rand() % 10) / 9 + 1) * 2;
H A Dmem.c26 #include <rand.h>
1292 seed = get_timer(0) ^ rand();
1299 *buf++ = rand();
1303 *buf8++ = rand() & 0xFF;
/u-boot/net/
H A Ddhcpv6.c627 srand(get_ticks() + rand());
635 udelay((rand() % SOL_MAX_DELAY_MS) * 1000);
641 sm_params.trans_id = rand() & 0xFFFFFF;
642 sm_params.ia_id = rand();
676 rand_minus_plus_100 = ((rand() % 200) - 100);
H A Dbootp.c18 #include <rand.h>
750 rand_ms = rand() >> (22 - bootp_try);
752 rand_ms = rand() >> 19;
H A Dlink_local.c18 #include <rand.h>
H A Dndisc.c209 udelay(((unsigned int)rand() % 1000000) * MAX_SOLICITATION_DELAY);
/u-boot/drivers/ram/stm32mp1/
H A Dstm32mp1_tests.c12 #include <rand.h>
610 seed = rand();
612 writel(rand(), addr + offset);
620 value = rand();
1285 (rand() & (STM32_DDR_SIZE - 1) & ~0x3));
1334 (rand() & (STM32_DDR_SIZE - 1) & ~0x3));
1335 data = rand();
/u-boot/drivers/mtd/nand/raw/
H A Dsand_nand.c12 #include <rand.h>
199 unsigned int u = rand();
/u-boot/scripts/kconfig/
H A Dconfdata.c1149 def = (rand() % cnt);
1263 cnt = rand() % 100;

Completed in 119 milliseconds

12