All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Use RNG to get random behaviour
@ 2020-12-16 16:28 matthias.bgg at kernel.org
  2020-12-16 16:28 ` [PATCH v2 1/2] lib: uuid: use RNG device if present matthias.bgg at kernel.org
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: matthias.bgg at kernel.org @ 2020-12-16 16:28 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.

Changes in v2:
- fix dm_rng_read() parameters
- add missing include
- fix dm_rng_read() parameters
- add missing include file

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

 lib/uuid.c     | 21 ++++++++++++++++++---
 net/net_rand.h | 19 ++++++++++++++++++-
 2 files changed, 36 insertions(+), 4 deletions(-)

-- 
2.29.2

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

end of thread, other threads:[~2021-01-20 19:56 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16 16:28 [PATCH v2 0/2] Use RNG to get random behaviour matthias.bgg at kernel.org
2020-12-16 16:28 ` [PATCH v2 1/2] lib: uuid: use RNG device if present matthias.bgg at kernel.org
2020-12-18  8:37   ` Torsten Duwe
2020-12-18  9:10     ` mbrugger
2020-12-19  2:29   ` Simon Glass
2020-12-20 16:59     ` Torsten Duwe
2020-12-20 18:17       ` Simon Glass
2020-12-23 10:24         ` Torsten Duwe
2020-12-29  3:32           ` Simon Glass
2021-01-20 11:17             ` Matthias Brugger
2021-01-20 19:50               ` Simon Glass
2021-01-20 19:56                 ` Matthias Brugger
2020-12-23 10:09     ` Matthias Brugger
2020-12-16 16:28 ` [PATCH v2 2/2] net: Use NDRNG device in srand_mac() matthias.bgg at kernel.org
2020-12-19  2:29   ` Simon Glass
2020-12-18  8:31 ` [PATCH v2 0/2] Use RNG to get random behaviour Torsten Duwe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.