dsprenkels / randombytes

A portable C library for generating cypto-secure random bytes
MIT License
96 stars 37 forks source link

randombytes is not support on this plateform #37

Closed shatanyumi closed 2 years ago

shatanyumi commented 2 years ago

Hi, I write a tiny kernel , I want to port this libs , I don't provide /dev/urandom . Could you help me to implement a randmombytes which does not keep any dependence on OS ? thanks very much.

dsprenkels commented 2 years ago

@shatanyumi I do not think this is in the scope of this library, because without a kernel there is no standard method to get secure randomness. In those cases you will have to interface with your specific chip's peripheral.

Feel free to send me an email if you're interested in discussing this; or reach out to me in #crypto on irc.libera.chat; or open a stackoverflow question and tag me. :)