[ovs-git] Open vSwitch: random: Implement a decent random number generator. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Aug 11 22:59:11 UTC 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  e519ea28d6da56330a46c5b1d7c3ad84a6c45536 (commit)
      from  e85bbd75f7eafe06edcd3edf88bb685e1541bcfe (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e519ea28d6da56330a46c5b1d7c3ad84a6c45536
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e519ea28d6da56330a46c5b1d7c3ad84a6c45536
Author: Ben Pfaff <blp at nicira.com>
		
random: Implement a decent random number generator.
		
Until now this library has based its random number upon those returned
by libc's rand() function.  This has always bugged me--it is not a good
solution since rand() varies in quality so much.  This commit changes
the random library to use a simple but high-quality PRNG.


-----------------------------------------------------------------------

Summary of changes:
 lib/random.c |   77 ++++++++++++++++++++++++++++++++++++----------------------
 1 files changed, 48 insertions(+), 29 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list