Home
last modified time | relevance | path

Searched refs:randv (Results 1 – 2 of 2) sorted by relevance

/u-boot/net/
A Dnet_rand.h44 u32 randv = 0; in srand_mac() local
49 ret = dm_rng_read(devp, &randv, sizeof(randv)); in srand_mac()
51 randv = 0; in srand_mac()
54 if (randv) in srand_mac()
55 srand(randv); in srand_mac()
/u-boot/lib/
A Duuid.c256 u32 randv = 0; in gen_rand_uuid() local
261 ret = dm_rng_read(devp, &randv, sizeof(randv)); in gen_rand_uuid()
263 randv = 0; in gen_rand_uuid()
266 if (randv) in gen_rand_uuid()
267 srand(randv); in gen_rand_uuid()

Completed in 3 milliseconds