Skip to content
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

Seed the RNG on boot #94

Open
mtusnio opened this issue Mar 23, 2017 · 0 comments
Open

Seed the RNG on boot #94

mtusnio opened this issue Mar 23, 2017 · 0 comments

Comments

@mtusnio
Copy link
Member

mtusnio commented Mar 23, 2017

Right now any rand() calls are not really random between boots, similarly seeding with time won't work due to the fact that we do not have any persistent knowledge about current time making it predictable when done at boot. One way to do it is seed the RNG with ca8210_get_random results and rely on cascoda radio.

Acceptance criteria:

  • rand() calls provide different, random results between boots

This would fix ConnectivityFoundry/AwaLWM2M#354

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant