[riot-commits] [RIOT-OS/RIOT] 88fa49: cpu/native: add high-quality random implementation

Ludwig Ortmann ludwig.ortmann at fu-berlin.de
Wed Jan 14 12:41:17 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 88fa49ab38b704a7b22f7bea071ebebd0fd597de
      https://github.com/RIOT-OS/RIOT/commit/88fa49ab38b704a7b22f7bea071ebebd0fd597de
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M cpu/native/include/native_internal.h
    M cpu/native/periph/random.c
    M cpu/native/startup.c

  Log Message:
  -----------
  cpu/native: add high-quality random implementation

Per default random data is read from `/dev/random` now.

If specified (e.g. `-s 4711`), data is generated by calls to POSIX
random function like before. The POSIX random API is initialize with
the given seed (`srandom(4711);` in this example).


  Commit: f8085e5fb94d79094d5f240f0d6685b3283aa891
      https://github.com/RIOT-OS/RIOT/commit/f8085e5fb94d79094d5f240f0d6685b3283aa891
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M cpu/native/include/native_internal.h
    M cpu/native/periph/random.c
    M cpu/native/startup.c

  Log Message:
  -----------
  Merge pull request #2274 from LudwigOrtmann/native-random-hq

cpu/native: add high-quality random implementation


Compare: https://github.com/RIOT-OS/RIOT/compare/6f9073dba946...f8085e5fb94d


More information about the commits mailing list