]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/test/test-random-util.c
random-util: optionally enable blocking getrandom() behaviour
authorLennart Poettering <lennart@poettering.net>
Wed, 7 Nov 2018 18:04:04 +0000 (19:04 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 8 Nov 2018 08:44:27 +0000 (09:44 +0100)
commit68534345b8af31e8df3d45cf21a832a42af52996
tree5cf5830af039c20b6ab7869410dd93754e996478
parent94d457e8d936555b3b1ae25592d0624746994166
random-util: optionally enable blocking getrandom() behaviour

When generating the salt for the firstboot password logic, let's use
getrandom() blocking mode, and insist in the very best entropy.
src/basic/random-util.c
src/basic/random-util.h
src/firstboot/firstboot.c
src/test/test-random-util.c