Hi Alexey, On Thu, 2 Nov 2023 at 12:57, Alexey Romanov <[email protected]> wrote: > > Add dm_rng_read_default() function, which obtain a series > of random bytes. In some cases, such function would be > useful because it allows the caller to abstract away from > RNG device.
It should not do that. It should create a RNG device for its needs. > > Signed-off-by: Alexey Romanov <[email protected]> > --- > drivers/rng/rng-uclass.c | 18 ++++++++++++++++++ > include/rng.h | 10 ++++++++++ > 2 files changed, 28 insertions(+) Regards, Simon

