]> git.ipfire.org Git - thirdparty/krb5.git/commit
Add OS prng intended for use with getrandom()
authorRobbie Harwood <rharwood@redhat.com>
Wed, 14 Sep 2016 20:12:57 +0000 (16:12 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 22 Sep 2016 17:40:42 +0000 (13:40 -0400)
commit0be7642b2b6f7b9e0acebb2c3d60aa6c3f7543aa
tree7112da0658eb27c27e6fc6f77223c3b06f775985
parenta9a48392c088b53d8dd86b8008b4059ab78a3679
Add OS prng intended for use with getrandom()

Add the prng_os.c module, using the name previously occupied by what
is now prng_device.c.  Unlike prng_device.c, this PRNG module
maintains no file descriptor and just uses k5_os_random(), which is
most efficient on platforms which have a getrandom() system call.

[ghudson@mit.edu: expanded on commit message]

ticket: 8499
src/lib/crypto/krb/prng_os.c [new file with mode: 0644]