]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib: uuid: use RNG device if present
authorMatthias Brugger <mbrugger@suse.com>
Fri, 18 Dec 2020 09:28:03 +0000 (10:28 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 19 Jan 2021 14:15:02 +0000 (09:15 -0500)
commit92fdad28cfdf078fe34c198ef430933e7b2825a1
treee5a6dec70cb67885d0c575b387472b869ca02d54
parent0be3d1fafb54bc2fd3d5862304528d7a21e500d9
lib: uuid: use RNG device if present

When calculating a random UUID we use a weak seed.
Use a RNG device if present to increase entropy.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Reviewed-by: Torsten Duwe <duwe@suse.de>
lib/uuid.c