Skip to content
Commit f2342603 authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Andrew Boie
Browse files

random: rand32_ctr_drbg: Handle error in initialize function



Initialize function has to fail when a call to get entropy fails.
TinyCrypt prng_init relies on a proper entropy data, so we need to
check if the driver return it properly.

Signed-off-by: default avatarFlavio Ceolin <flavio.ceolin@intel.com>
parent ade23d57
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment