Skip to content

What is the expected way to get randomness on hermitcore? #63

@josephlr

Description

@josephlr

I'm one of the maintainers for getrandom, a no_std library which attempts to define the "standard" way to get cryptographic entropy on every Rust target. The rand crate and others use this crate under the hood.

As far as I can tell HermitCore doesn't expose or have a way to get OS-based randomness. For that reason, we don't currently support Hermit.

Are users simply expected to call RDRAND? This is reasonable, provided that HermitCore is x86_64 only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions