incubator-milagro-crypto-c
incubator-milagro-crypto-c copied to clipboard
Use the OS CSPRNG to generate random bytes when using Linux
Goal
It should be an option to either use the Milagro CSPRNG or to use the one provided by the OS.
The API should not change when using the OS CSPRNG
Resources
getrandom should be used.
Acceptance criteria
- Code is commented
- Tests pass
- Tests pass with more than 80% test coverage
- Static analysis should pass
- Code should be reviewed by two engineers