Skip to content

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

Open
@oittaa

Description

@oittaa

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions