Skip to content

Bad solution for "use strong randomness" #10

@Sc00bz

Description

@Sc00bz

LibreSSL's getentropy_urandom() calls gotdata() which checks if the data is not all zeros. If you are calling this for short random integers, then all zeros is a very possible random value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions