Re: [PATCH v1] rng: add dm_rng_read_default() helper

2023-11-01 Thread Heinrich Schuchardt
On 11/1/23 15:49, Alexey Romanov 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. Signed-off-by: Alexey Romanov --- drivers/rng/rng-uclass.c | 20 ++

[PATCH v1] rng: add dm_rng_read_default() helper

2023-11-01 Thread Alexey Romanov
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. Signed-off-by: Alexey Romanov --- drivers/rng/rng-uclass.c | 20 include/rng.h|