| /rk3399_rockchip-uboot/net/ |
| H A D | net_rand.h | 20 unsigned int seed; in seed_mac() local 25 seed = enetaddr[5]; in seed_mac() 26 seed ^= enetaddr[4] << 8; in seed_mac() 27 seed ^= enetaddr[3] << 16; in seed_mac() 28 seed ^= enetaddr[2] << 24; in seed_mac() 29 seed ^= enetaddr[1]; in seed_mac() 30 seed ^= enetaddr[0] << 8; in seed_mac() 32 return seed; in seed_mac()
|
| H A D | link_local.c | 59 static unsigned int seed; variable 73 tmp = rand_r(&seed) & IN_CLASSB_HOST; in pick() 84 return rand_r(&seed) % (secs * 1000); in random_delay_ms() 116 seed = seed_mac(); in link_local_start()
|
| /rk3399_rockchip-uboot/include/linux/ |
| H A D | crc32.h | 14 #define crc32(seed, data, length) crc32_le(seed, (unsigned char const *)data, length) argument
|
| /rk3399_rockchip-uboot/lib/ |
| H A D | rand.c | 29 void srand(unsigned int seed) in srand() argument 31 y = seed; in srand()
|
| /rk3399_rockchip-uboot/drivers/crypto/ |
| H A D | ace_sha.c | 121 void srand(unsigned int seed) in srand() argument 129 writel(seed << i, ®->hash_seed[i]); in srand() 147 unsigned int seed = (unsigned int)&status; in rand() local 151 srand(seed); in rand()
|
| /rk3399_rockchip-uboot/drivers/rng/ |
| H A D | rockchip_rand.c | 36 void srand(unsigned int seed) in srand() argument
|
| H A D | Kconfig | 7 read the random seed from the device.
|
| /rk3399_rockchip-uboot/scripts/kconfig/ |
| H A D | conf.c | 522 unsigned int seed; in main() local 530 seed = (unsigned int)((now.tv_sec + 1) * (now.tv_usec + 1)); in main() 537 seed = tmp; in main() 540 fprintf( stderr, "KCONFIG_SEED=0x%X\n", seed ); in main() 541 srand(seed); in main()
|
| /rk3399_rockchip-uboot/lib/avb/libavb_user/ |
| H A D | avb_ops_user.c | 427 unsigned int seed; in rk_get_random() local 429 seed = (unsigned int)get_timer(0); in rk_get_random() 431 srand(seed); in rk_get_random() 433 seed = (unsigned int)(output[i]); in rk_get_random()
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/ |
| H A D | sunxi_nand_spl.c | 428 int seed = page % conf->nseeds; in nand_detect_ecc_config() local 431 if (seed != page % conf->nseeds) in nand_detect_ecc_config()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | net.h | 819 unsigned int seed = get_timer(0); in net_random_ethaddr() local 822 addr[i] = rand_r(&seed); in net_random_ethaddr()
|
| H A D | common.h | 705 void srand(unsigned int seed);
|
| /rk3399_rockchip-uboot/common/ |
| H A D | Kconfig | 684 bool "Provide /chosen/rng-seed property to the linux kernel" 688 which will be used to populate the /chosen/rng-seed property 692 BSP) where and how to store (or generate) such a seed, how 693 to ensure a given seed is only used once, how to create a 694 new seed for use on subsequent boots, and whether or not the 695 kernel should account any entropy from the given seed.
|
| /rk3399_rockchip-uboot/lib/rsa/ |
| H A D | rsa-verify.c | 215 uint8_t *seed, int seed_len, in mask_generation_function1() argument 226 region[0].data = seed; in mask_generation_function1()
|