[PATCH v3 1/2] lib: uuid: use RNG device if present

2020-12-18 Thread matthias . bgg
From: Matthias Brugger When calculating a random UUID we use a weak seed. Use a RNG device if present to increase entropy. Signed-off-by: Matthias Brugger --- Changes in v3: - use IS_ENABLED instead of #if - use 4 byte for entropy Changes in v2: - fix dm_rng_read() parameters - add missing i

Re: [PATCH v3 1/2] lib: uuid: use RNG device if present

2021-10-22 Thread Patrick DELAUNAY
Hi On 12/18/20 10:28 AM, matthias@kernel.org wrote: From: Matthias Brugger When calculating a random UUID we use a weak seed. Use a RNG device if present to increase entropy. Signed-off-by: Matthias Brugger --- Changes in v3: - use IS_ENABLED instead of #if - use 4 byte for entropy Ch

Re: [PATCH v3 1/2] lib: uuid: use RNG device if present

2021-01-19 Thread Tom Rini
On Fri, Dec 18, 2020 at 10:28:03AM +0100, matthias@kernel.org wrote: > From: Matthias Brugger > > When calculating a random UUID we use a weak seed. > Use a RNG device if present to increase entropy. > > Signed-off-by: Matthias Brugger > Reviewed-by: Torsten Duwe Applied to u-boot/master

Re: [PATCH v3 1/2] lib: uuid: use RNG device if present

2020-12-18 Thread Torsten Duwe
On Fri, 18 Dec 2020 10:28:03 +0100 matthias@kernel.org wrote: > From: Matthias Brugger > > When calculating a random UUID we use a weak seed. > Use a RNG device if present to increase entropy. > > Signed-off-by: Matthias Brugger Reviewed-by: Torsten Duwe