public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/2] Use RNG to get random behaviour
@ 2020-12-16 10:41 matthias.bgg at kernel.org
  2020-12-16 10:41 ` [PATCH 1/2] lib: uuid: use RNG device if present matthias.bgg at kernel.org
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: matthias.bgg at kernel.org @ 2020-12-16 10:41 UTC (permalink / raw)
  To: u-boot

From: Matthias Brugger <mbrugger@suse.com>


For now bootp and uuid code use a weak seed for generating random data.
U-Boot as support for RNG devices now, so we should change to code to
use them if they are present. This will help mitigate issues like seen
in CVE-2019-11690.


Matthias Brugger (2):
  lib: uuid: use RNG device if present
  net: Use NDRNG device in srand_mac()

 lib/uuid.c     | 20 +++++++++++++++++---
 net/net_rand.h | 18 +++++++++++++++++-
 2 files changed, 34 insertions(+), 4 deletions(-)

-- 
2.29.2

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-12-16 15:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-16 10:41 [PATCH 0/2] Use RNG to get random behaviour matthias.bgg at kernel.org
2020-12-16 10:41 ` [PATCH 1/2] lib: uuid: use RNG device if present matthias.bgg at kernel.org
2020-12-16 13:22   ` Torsten Duwe
2020-12-16 10:41 ` [PATCH 2/2] net: Use NDRNG device in srand_mac() matthias.bgg at kernel.org
2020-12-16 13:20   ` Torsten Duwe
2020-12-16 15:56     ` Matthias Brugger
2020-12-16 13:17 ` [PATCH 0/2] Use RNG to get random behaviour Torsten Duwe
2020-12-16 13:42   ` Peter Robinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox