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
Fix rasperry pi hwGetentropy() #856
Conversation
Will evaluate git discipline... |
Git commit message(s) look good! |
I will change the code to keep the FP open. This speeds up hwGetentropy() |
Will evaluate git discipline... |
Git commit message(s) look good! |
Core tests successful. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor fixes:
Rename RandomFp to randomFp.
For the fread to return the number of bytes read it needs to be:
fread(__buffer, 1, __length, randomFp)
Will evaluate git discipline... |
Git commit message(s) look good! |
@marceloaqno Thank you. I have changed it. |
Core tests successful. |
Now its compatible to Linux distributions without "linux/random.h". Fixes #854