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

Andrey A. Chernov ache at FreeBSD.org
Tue Jul 22 12:43:17 UTC 2008


ache        2008-07-22 12:43:09 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/gen         arc4random.c 
  Log:
  SVN rev 180690 on 2008-07-22 12:43:09Z by ache
  
  In arc4random_uniform() detect simple "power of two" case and
  return just (arc4random() % upper_bound)
  
  Revision  Changes    Path
  1.20      +5 -1      src/lib/libc/gen/arc4random.c


More information about the cvs-src mailing list