jedisct1 / libhydrogen

A lightweight, secure, easy-to-use crypto library suitable for constrained environments.
https://libhydrogen.org
Other
605 stars 90 forks source link

Nuttx support #78

Closed rligocki closed 4 years ago

rligocki commented 5 years ago

Hi,

I found way how to generate random value on Nuttx real time OS, and now I want to add support for nuttx in libhydrogen. To add support I need to define function hydro_random_init(void) for NuttX. Which value should I enter into defined() or #ifdef condition under which new hydro_random_init function will be defined?

Thanks

jedisct1 commented 5 years ago

You probably know this environment way better than I do :)

rligocki commented 5 years ago

Finally, I found an environment variable for PX4. It's #elif defined(__PX4_NUTTX). I also found way how to generate random seed for libhydrogen. Is it possible to add a new branch and then create a pull request?

I already tried to create a new branch and push a new commit, but my permissions were denied.

jedisct1 commented 5 years ago

You need to fork the project first :)