You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.
The randomness provided by the RANDOM_BIT register doesn't look that good and it depends on the clock being generated by XIP and/or PLLs.
I recently talked to somebody who maintains a library for generating random numbers using the cpu timing jitter (https://github.com/smuellerDD/jitterentropy-library). We could extract the code relevant for bare metal applications and port it to Zig. Probably requires some work but could be worth it.
Things to consider are:
The rng code must not be optimized
It depends on memory access
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The randomness provided by the
RANDOM_BIT
register doesn't look that good and it depends on the clock being generated by XIP and/or PLLs.I recently talked to somebody who maintains a library for generating random numbers using the cpu timing jitter (https://github.com/smuellerDD/jitterentropy-library). We could extract the code relevant for bare metal applications and port it to Zig. Probably requires some work but could be worth it.
Things to consider are:
The text was updated successfully, but these errors were encountered: