lkml.org 
[lkml]   [2007]   [Jun]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromMichael Buesch <>
SubjectRe: [PATCH] hw_random: add quality categories
DateSun, 24 Jun 2007 16:43:44 +0200
On Sunday 24 June 2007 16:30:59 Alexey Dobriyan wrote:
> On Sun, Jun 24, 2007 at 03:55:22PM +0200, Michael Buesch wrote:
> > This adds quality categories for hardware random number generators.
> 
> > +static const char * hwrng_quality_string(enum hwrng_quality qual)
> > +{
> > +	switch (qual) {
> > +	case HWRNG_QUAL_HIGH:
> > +		return "high";
> > +	case HWRNG_QUAL_NORMAL:
> > +		return "normal";
> > +	case HWRNG_QUAL_LOW:
> > +		return "low";
> > +	case HWRNG_QUAL_PSEUDO:
> > +		return "pseudo";
> 
> And how are you going to extend this in future? HWRNG_QUAL_SUPERB ?

Why extend it? "high" means devices which generate truely
random data. Do you have a device which generates data more
random than true-random? how?

See the descriptions in hw_random.h

-- 
Greetings Michael.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-06-24 14:53    [from the cache]
©2003-2008