Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Aug 2004 19:43:05 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: Summary of discussion of harvester/random locking andperformance optimization
Message-ID:  <411EA389.2050305@mac.com>
In-Reply-To: <Pine.NEB.3.96L.1040814105622.99198C-100000@fledge.watson.org>
References:  <Pine.NEB.3.96L.1040814105622.99198C-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Watson wrote:
[ ...yay! much stuff about S = k log W... ]
> Finally, a question I raised by e-mail previously and think it's worth
> thinking about is how to decide what impact we're having on entropy
> quality.  In particular, are there scores or other easily understood
> numerical or statistical results that can be exposed to a user or
> developer to allow them to measure the impact on entropy quality and
> availability resulting from specific configuration, optimization, etc.

I think what you're asking about is something like:

http://csrc.nist.gov/rng/

...which have a fairly straightforward set of descriptions on a link off of 
that page, as well as source code and datasets.  The code compiles with 
minimal changes-- use gmake and #ifdef 0 two sections of code involving 
definitions for INFINITY and NAN which already exist in the system header files.

There's something about the way these tests abstract away the results into the 
"distribution of P-values" which is not entirely easy to understand, 
unfortunately, although some experimentation reveals that the stats from using 
data from /dev/random are fairly distiguishable from those of feeding the 
output of random() or rand() (or /usr/share/dict/*) into a file.

-- 
-Chuck



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