aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-random.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* switched the rest of FSM + Anduril to use SPDX license headersSelene ToyKeeper2023-04-171-21/+4
| | | | | | | instead of full GPL headers (or all too often, nothing at all) There are a few "FIXME" entries where I'm not sure about the correct copyright.
* Moved pseudo_rand() into its own header, and made it gather entropy from ADC ↵Selene ToyKeeper2018-06-231-0/+33
readings to improve randomness. Adjusted candle mode to use lower bits instead of upper bits, because the lower bits are more random. (also, the lower-bit method is slightly smaller in ROM)