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

Use arc4rand(9) on FreeBSD #35884

Merged
merged 2 commits into from
Aug 25, 2016
Merged

Use arc4rand(9) on FreeBSD #35884

merged 2 commits into from
Aug 25, 2016

Commits on Aug 21, 2016

  1. Reduce duplication in std::sys::unix::rand.

    There were a bunch of more-of-less the same few lines for doing a
    fill_bytes+transmute, and I didn't want to copy-paste it yet again.
    habnabit committed Aug 21, 2016
    Configuration menu
    Copy the full SHA
    ef6aab2 View commit details
    Browse the repository at this point in the history
  2. Use the kernel arc4rand for FreeBSD OsRng.

    This means that /dev/urandom doesn't have to be opened.
    habnabit committed Aug 21, 2016
    Configuration menu
    Copy the full SHA
    0a70944 View commit details
    Browse the repository at this point in the history