Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/random/
Drandom_ctr_drbg.c24 static const struct device *entropy_dev; variable
33 return entropy_get_entropy(entropy_dev, (void *)buf, len); in ctr_drbg_entropy_func()
40 entropy_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_entropy)); in ctr_drbg_initialize()
42 if (!device_is_ready(entropy_dev)) { in ctr_drbg_initialize()
43 __ASSERT(0, "Entropy device %s not ready", entropy_dev->name); in ctr_drbg_initialize()
Drandom_entropy_device.c12 static const struct device *const entropy_dev = variable
20 __ASSERT(device_is_ready(entropy_dev), "Entropy device %s not ready", in rand_get()
21 entropy_dev->name); in rand_get()
23 ret = entropy_get_entropy(entropy_dev, dst, outlen); in rand_get()