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

2020-12-16 Thread Matthias Brugger
On 16/12/2020 14:20, Torsten Duwe wrote: > On Wed, 16 Dec 2020 11:41:17 +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. >> >>

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

2020-12-16 Thread Torsten Duwe
On Wed, 16 Dec 2020 11:41:17 +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 > > --- > > net/net_rand.h

[PATCH 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 --- net/net_rand.h | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git