1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

17 Commits

Author SHA1 Message Date
Martine Lenders
c52fde668b sys: random: make fallback seed configurable at compile time 2017-11-08 17:18:26 +01:00
ccf704bab8 sys: random: use luid to generate random seed 2017-11-08 17:18:26 +01:00
Peter Kietzmann
9964a60759 Merge pull request #7545 from kaspar030/add_prng_xorshift
sys: random: add xorshift prng
2017-10-10 19:13:49 +02:00
d377a17784 sys: random: add xorshift prng 2017-10-10 18:59:58 +02:00
035d266d49 makefile: indentation cleanup 2017-09-22 12:00:47 +02:00
88433cba2f sys: random: make use of submodules in Makefile 2017-08-30 23:49:30 +02:00
0fcc7d3834 cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
Simon Brummer
5e20cd9b67 Added random_init_by_array to tinymt32 wrapper 2016-05-31 20:12:24 +02:00
ded39b461e sys: random: rename genrand_* to random_* 2016-02-29 21:33:17 +01:00
d9cf871e2e sys: random: import tinymt32 PRNG 2016-02-29 12:05:31 +01:00
9c93e72d81 sys: random: add simple LCG PRNGs 2015-11-24 06:52:39 +01:00
René Kijewski
840c0f0a57 make: detect their module name automatically
For many modules the `Makefile` contains a line like
```
MODULE:=$(shell basename $(CURDIR))
```
This conclusively shows that we do not have to set the module name
manually.

This PR removes the need to set the module name manually, if it is the
same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable
make `MODULE` will still be `vtimer`, because it is the basename of the
Makefile.
2014-06-17 15:49:32 +02:00
René Kijewski
e55fd19d5c Fix the makefile of sys/random
The Makefile must not overwrite the include paths.
2014-02-20 17:16:57 +01:00
Ludwig Ortmann
2525920426 remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
Christian Mehlis
0dc5437e31 fixes for PRNG 2013-08-26 22:18:02 +02:00
René Kijewski
49876c15f7 Update on @mehlis' Mersene twister code
* Consistent naming
* C99 style variable definition
* Code de-duplication through mathematical conversions
* Less magic numbers (higher powers of twoof two))
2013-08-26 22:18:02 +02:00
Christian Mehlis
5ccde8340d add mersenne twister 2013-08-26 22:17:46 +02:00