Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wishlist: Use getentropy() in rng_get_bytes.c if available #589

Open
3 tasks done
oittaa opened this issue Apr 10, 2022 · 0 comments
Open
3 tasks done

Wishlist: Use getentropy() in rng_get_bytes.c if available #589

oittaa opened this issue Apr 10, 2022 · 0 comments
Labels

Comments

@oittaa
Copy link

oittaa commented Apr 10, 2022

Prerequisites

Description

It would be great if you supported getentropy() in https://github.com/libtom/libtomcrypt/blob/develop/src/prngs/rng_get_bytes.c

It's found at least in modern Linux, OpenBSD, and FreeBSD based operating systems. It blocks reads until the random pool is initialized and after that "it just works" without complicated error checks. Thanks for the great library!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants