Re: [PATCH v3 2/2] net: Use NDRNG device in srand_mac()

2021-01-19 Thread Tom Rini
On Fri, Dec 18, 2020 at 10:28:04AM +0100, matthias@kernel.org wrote: > From: Matthias Brugger > > When calling srand_mac we use a weak seed dependent on the > mac address. If present, use a RNG device instead to incerase entropy. > > Signed-off-by: Matthias Brugger > Reviewed-by: Torsten

Re: [PATCH v3 2/2] net: Use NDRNG device in srand_mac()

2020-12-18 Thread Torsten Duwe
On Fri, 18 Dec 2020 10:28:04 +0100 matthias@kernel.org wrote: > From: Matthias Brugger > > When calling srand_mac we use a weak seed dependent on the > mac address. If present, use a RNG device instead to incerase entropy. > > Signed-off-by: Matthias Brugger Reviewed-by: Torsten Duwe

[PATCH v3 2/2] net: Use NDRNG device in srand_mac()

2020-12-18 Thread matthias . bgg
From: Matthias Brugger When calling srand_mac we use a weak seed dependent on the mac address. If present, use a RNG device instead to incerase entropy. Signed-off-by: Matthias Brugger --- Changes in v3: - use IS_ENABLED instead of #if Changes in v2: - fix dm_rng_read() parameters - add