cvs commit: src/lib/libc/gen arc4random.c

Andrey A. Chernov ache at FreeBSD.org
Sun Aug 3 20:15:30 UTC 2008


ache        2008-08-03 20:15:22 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/gen         arc4random.c 
  Log:
  SVN rev 181261 on 2008-08-03 20:15:22Z by ache
  
  Restored from previous backing out (because that is OpenBSD way, so
  assumed to be reviewd by them):
  Stir directly from the kernel PRNG, without taking less random pid & time
  bytes too (when it is possible).
  
  The difference with OpenBSD code is that they have KERN_ARND sysctl for
  that task, while we need to read /dev/random
  
  Revision  Changes    Path
  1.24      +16 -12    src/lib/libc/gen/arc4random.c


More information about the cvs-src mailing list