Skip to content
Commit f44b3dc4 authored by Gerard Marull-Paretas's avatar Gerard Marull-Paretas Committed by Marti Bolivar
Browse files

random: rand32_ctr_drbg: obtain entropy device using DEVICE_DT_GET



The entropy device can be obtained at compile time. Adjusted the
assertion message slightly, as it no longer uses the entropy macro
label. Also adjusted the entropy_driver variable to entropy_dev, since
it does not hold a "driver" but a "device".

Signed-off-by: default avatarGerard Marull-Paretas <gerard.marull@nordicsemi.no>
parent 7a0026a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment