/u-boot/net/ |
A D | net_rand.h | 22 unsigned int seed; in seed_mac() local 27 seed = enetaddr[5]; in seed_mac() 28 seed ^= enetaddr[4] << 8; in seed_mac() 29 seed ^= enetaddr[3] << 16; in seed_mac() 30 seed ^= enetaddr[2] << 24; in seed_mac() 31 seed ^= enetaddr[1]; in seed_mac() 32 seed ^= enetaddr[0] << 8; in seed_mac() 34 return seed; in seed_mac()
|
A D | link_local.c | 62 static unsigned int seed; variable 76 tmp = rand_r(&seed) & IN_CLASSB_HOST; in pick() 87 return rand_r(&seed) % (secs * 1000); in random_delay_ms() 119 seed = seed_mac(); in link_local_start()
|
/u-boot/include/linux/ |
A D | xxhash.h | 65 uint32_t xxh32(const void *input, size_t length, uint32_t seed); 78 uint64_t xxh64(const void *input, size_t length, uint64_t seed); 94 uint64_t seed) in xxhash() argument 97 return xxh64(input, length, seed); in xxhash() 99 return xxh32(input, length, seed); in xxhash() 148 void xxh32_reset(struct xxh32_state *state, uint32_t seed); 182 void xxh64_reset(struct xxh64_state *state, uint64_t seed);
|
A D | crc32.h | 14 #define crc32(seed, data, length) crc32_le(seed, (unsigned char const *)data, length) argument
|
/u-boot/lib/ |
A D | xxhash.c | 66 seed += input * PRIME32_2; in xxh32_round() 67 seed = xxh_rotl32(seed, 13); in xxh32_round() 68 seed *= PRIME32_1; in xxh32_round() 69 return seed; in xxh32_round() 82 uint32_t v3 = seed + 0; in xxh32() 99 h32 = seed + PRIME32_5; in xxh32() 152 uint64_t v3 = seed + 0; in xxh64() 174 h64 = seed + PRIME64_5; in xxh64() 219 state.v2 = seed + PRIME32_2; in xxh32_reset() 220 state.v3 = seed + 0; in xxh32_reset() [all …]
|
A D | rand.c | 29 void srand(unsigned int seed) in srand() argument 31 y = seed; in srand()
|
/u-boot/drivers/rng/ |
A D | sandbox_rng.c | 15 unsigned int i, seed, random; in sandbox_rng_read() local 23 seed = get_timer(0) ^ rand(); in sandbox_rng_read() 24 srand(seed); in sandbox_rng_read()
|
A D | Kconfig | 7 read the random seed from the device.
|
/u-boot/drivers/crypto/ |
A D | ace_sha.c | 122 void srand(unsigned int seed) in srand() argument 130 writel(seed << i, ®->hash_seed[i]); in srand() 148 unsigned int seed = (unsigned int)&status; in rand() local 152 srand(seed); in rand()
|
/u-boot/fs/btrfs/crypto/ |
A D | hash.c | 52 u32 crc32c(u32 seed, const void * data, size_t len) in crc32c() argument 54 return crc32c_cal(seed, data, len, btrfs_crc32c_table); in crc32c()
|
A D | hash.h | 13 u32 crc32c(u32 seed, const void * data, size_t len);
|
/u-boot/include/ |
A D | rand.h | 20 void srand(unsigned int seed);
|
A D | net.h | 848 unsigned int seed = get_ticks(); in net_random_ethaddr() local 851 addr[i] = rand_r(&seed); in net_random_ethaddr()
|
/u-boot/scripts/kconfig/ |
A D | conf.c | 525 unsigned int seed; in main() local 533 seed = (unsigned int)((now.tv_sec + 1) * (now.tv_usec + 1)); in main() 540 seed = tmp; in main() 543 fprintf( stderr, "KCONFIG_SEED=0x%X\n", seed ); in main() 544 srand(seed); in main()
|
/u-boot/cmd/ |
A D | mem.c | 1277 unsigned long seed; // NOT INITIALIZED ON PURPOSE in do_random() local 1289 seed = simple_strtoul(argv[3], NULL, 16); in do_random() 1290 if (seed == 0) { in do_random() 1292 seed = 0xDEADBEEF; in do_random() 1295 seed = get_timer(0) ^ rand(); in do_random() 1298 srand(seed); in do_random()
|
/u-boot/drivers/mtd/nand/raw/ |
A D | sunxi_nand_spl.c | 429 int seed = page % conf->nseeds; in nand_detect_ecc_config() local 432 if (seed != page % conf->nseeds) in nand_detect_ecc_config()
|
/u-boot/fs/btrfs/ |
A D | volumes.h | 63 struct btrfs_fs_devices *seed; member
|
A D | volumes.c | 287 seed_devices = fs_devices->seed; in btrfs_close_devices() 288 fs_devices->seed = NULL; in btrfs_close_devices() 368 cur_devices = cur_devices->seed; in btrfs_find_device()
|
A D | disk-io.c | 77 fs_devices = fs_devices->seed; in check_tree_block()
|
/u-boot/lib/rsa/ |
A D | rsa-verify.c | 121 uint8_t *seed, int seed_len, in mask_generation_function1() argument 132 region[0].data = seed; in mask_generation_function1()
|
/u-boot/drivers/ram/stm32mp1/ |
A D | stm32mp1_tests.c | 597 unsigned int seed; in test_random() local 610 seed = rand(); in test_random() 616 srand(seed); in test_random() 619 srand(seed); in test_random()
|