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

Improve randomness syscalls #143

Closed
newpavlov opened this issue Dec 18, 2020 · 1 comment · Fixed by #640
Closed

Improve randomness syscalls #143

newpavlov opened this issue Dec 18, 2020 · 1 comment · Fixed by #640

Comments

@newpavlov
Copy link

The RDRAND code used in generate_random_number32/64 does not contain a workaround for the AMD glitch. You can take a look at the getrandom code for reference.

Also it would be nice if instead of generate_random_number32/64 you will expose a Linux-like interface, i.e. a syscall which will work on buffers.

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

Successfully merging a pull request may close this issue.

2 participants