An operating function
Go to file
2018-12-27 11:43:48 -08:00
include/ent Cleanup, MIT license 2018-12-27 11:43:48 -08:00
.gitignore blargh fighting with meson 2018-12-27 10:27:28 -08:00
ent.c Add a sample program 2018-12-27 19:19:59 +00:00
LICENSE Cleanup, MIT license 2018-12-27 11:43:48 -08:00
meson.build Add a sample program 2018-12-27 19:19:59 +00:00
README.md Cleanup, MIT license 2018-12-27 11:43:48 -08:00
sample.c Add a sample program 2018-12-27 19:19:59 +00:00

libent is a cross-platform wrapper around getentropy(2). It exports one symbol, ent_getentropy, which expands to getentropy if the latter is available. Otherwise, it tries to use the next best source of entropy -- /dev/urandom on *nix, BCryptGenRandom on Windows.

References: