incubator-milagro-crypto-c icon indicating copy to clipboard operation
incubator-milagro-crypto-c copied to clipboard

Use the OS CSPRNG to generate random bytes when using Linux

Open kealan opened this issue 2 years ago • 3 comments

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

  1. Code is commented
  2. Tests pass
  3. Tests pass with more than 80% test coverage
  4. Static analysis should pass
  5. Code should be reviewed by two engineers

kealan avatar Feb 28 '23 09:02 kealan