[ovs-git] Open vSwitch: random: Get random seed from /dev/urandom. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Aug 13 00:19:24 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  10df718e73122df2f3b04ed585e50e4b299a8cbd (commit)
       via  e251c8d0050acf8d3f35c91b6d2708fab5314ce7 (commit)
       via  e2c1a82010cc4f35cb576d41c3c2020010503784 (commit)
      from  2cc906419fd8592c24a281a2c4b0932ad978be3d (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 10df718e73122df2f3b04ed585e50e4b299a8cbd
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=10df718e73122df2f3b04ed585e50e4b299a8cbd
Author: Ben Pfaff <blp at nicira.com>
		
random: Get random seed from /dev/urandom.
		
Even though this PRNG is not meant to be cryptographically secure, there is
no reason not to get a high-quality seed.

CC: Stephen Hemminger <shemminger at vyatta.com>


commit e251c8d0050acf8d3f35c91b6d2708fab5314ce7
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e251c8d0050acf8d3f35c91b6d2708fab5314ce7
Author: Ben Pfaff <blp at nicira.com>
		
uuid: Break code to read /dev/urandom into a new module.
		
This code is useful for seeding other random number generators, so we might
as well make it a separate source file.


commit e2c1a82010cc4f35cb576d41c3c2020010503784
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e2c1a82010cc4f35cb576d41c3c2020010503784
Author: Ben Pfaff <blp at nicira.com>
		
util: Make ovs_fatal() understand EOF also.
		
ovs_error() interprets EOF as "end of file" when printing an error message,
so ovs_fatal() might as well.


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

Summary of changes:
 AUTHORS                           |    1 +
 PORTING                           |    6 ++--
 lib/automake.mk                   |    2 +
 lib/entropy.c                     |   65 +++++++++++++++++++++++++++++++++++++
 extras/ezio/vt.h => lib/entropy.h |   13 ++++---
 lib/random.c                      |   17 +++++----
 lib/util.c                        |    3 +-
 lib/uuid.c                        |   28 ++--------------
 lib/vlog-modules.def              |    1 +
 9 files changed, 94 insertions(+), 42 deletions(-)
 create mode 100644 lib/entropy.c
 copy extras/ezio/vt.h => lib/entropy.h (74%)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list