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

26 Commits

Author SHA1 Message Date
Benjamin Valentin
1e69740d18 random: use void * in random_bytes() 2022-07-26 19:46:14 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Rémy Grünblatt
3e8dacde41 sys/include/random: generate documentation for random double generation 2021-03-24 14:34:19 +01:00
Benjamin Valentin
2f423473fc sys/random: add option to use HWRNG as source of randomness
Add the `prng_hwrng` module to enable the HWRNG as source of all randomness, not just
for seeding a PRNG.

saves ~260 bytes compared to using tinymt32.
2020-07-08 18:23:18 +02:00
PeterKietzmann
ec5fb4fbda sys/random: fix distribution of random_uint32_range() 2018-06-26 14:08:43 +02:00
Bas Stottelaar
99755eaa0c sys: random: add fortuna PRNG 2018-05-29 18:40:58 +02:00
Joakim Nohlgård
2cc07f7f05
Merge pull request #7390 from tobhe/random
random: add random_bytes() function
2018-02-09 10:33:46 +01:00
tobhe
7af07bacff random: added random_bytes function 2017-12-19 09:39:55 +01:00
c44f269ba0 sys: include: random: fix RANDOM_SEED_DEFAULT defines 2017-11-08 17:18:26 +01:00
Martine Lenders
c52fde668b sys: random: make fallback seed configurable at compile time 2017-11-08 17:18:26 +01:00
Oleg Hahm
e2914bd351 doc: random: document float PRNG macro 2017-03-10 14:56:28 +01:00
Cenk Gündoğan
83a69c0cb2 random: doc: warn about global PRNG state 2017-03-07 12:15:11 +01:00
Oleg Hahm
f6e9a789ed random: doc: document generic PRNG interface
The header was still referring to the Mersenne Twister only
2016-04-20 18:47:04 +02:00
ded39b461e sys: random: rename genrand_* to random_* 2016-02-29 21:33:17 +01:00
Martine Lenders
b9f4cfbcd9 random: fix doc of genrand_uint32_range() 2015-07-18 17:40:09 +02:00
Martine Lenders
94f913c204 random: provide range functionality 2015-07-18 17:13:00 +02:00
Oleg Hahm
3d411807c0 doc: fix and complemented some doxygen headers 2015-03-18 14:27:48 +01:00
BytesGalore
714ee38355 boards: core: cpu: drivers: sys: added missing header guards 2015-01-27 19:10:57 +01:00
BytesGalore
de3c3cebd0 c++: sys: add extern C to header files 2014-11-08 20:09:55 +01:00
Ludwig Ortmann
289c4c0ee4 doc: add license headers to some .h files 2014-09-18 17:45:11 +02:00
Ludwig Ortmann
2525920426 remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
Hauke Petersen
edcabf7cb6 Fixed a lot of comments by removing tabs and correcting format. 2013-12-16 14:00:33 +01:00
Hauke Petersen
3785fe956b Fixed doxygen comments, focused on file headers and group definitions 2013-12-16 14:00:24 +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