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

2020-12-18 Thread Simon Glass
Hi Mattias, On Wed, 16 Dec 2020 at 09:28, 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 > > --- > > Changes in v2: > - fix

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

2020-12-16 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 v2: - fix dm_rng_read() parameters - add missing include file net/net_rand.h | 19