[riot-commits] [RIOT-OS/RIOT] 2f4234: sys/random: add option to use HWRNG as source of r...

Martine Lenders noreply at github.com
Wed Jul 8 19:30:54 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 2f423473fc4b132dd6982a22c65d121767550069
      https://github.com/RIOT-OS/RIOT/commit/2f423473fc4b132dd6982a22c65d121767550069
  Author: Benjamin Valentin <benjamin.valentin at ml-pa.com>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M Makefile.dep
    M sys/include/random.h
    A sys/random/hwrng.c

  Log Message:
  -----------
  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.


  Commit: 04f3a9798c2dc9b07f7f7699a7d46a23292e2472
      https://github.com/RIOT-OS/RIOT/commit/04f3a9798c2dc9b07f7f7699a7d46a23292e2472
  Author: Benjamin Valentin <benpicco at googlemail.com>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M tests/rng/test.c

  Log Message:
  -----------
  tests/rng: print when HWRNG is uses as system RNG


  Commit: 908ec472ce2d4696349a04dcfbe3c49ebb9ab709
      https://github.com/RIOT-OS/RIOT/commit/908ec472ce2d4696349a04dcfbe3c49ebb9ab709
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M Makefile.dep
    M sys/include/random.h
    A sys/random/hwrng.c
    M tests/rng/test.c

  Log Message:
  -----------
  Merge pull request #14453 from benpicco/sys/random-hwrng

sys/random: add option to use HWRNG as source of randomness


Compare: https://github.com/RIOT-OS/RIOT/compare/63a0014456d7...908ec472ce2d


More information about the commits mailing list