Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2008 12:43:09 +0000 (UTC)
From:      "Andrey A. Chernov" <ache@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/gen arc4random.c
Message-ID:  <200807221243.m6MChHQe030078@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807221243.m6MChHQe030078>