From: Michael Buesch <mb@bu3sch.de>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] hw_random: add quality categories
Date: Sun, 24 Jun 2007 16:43:44 +0200 [thread overview]
Message-ID: <200706241643.45126.mb@bu3sch.de> (raw)
In-Reply-To: <20070624143059.GA2944@martell.zuzino.mipt.ru>
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.
next prev parent reply other threads:[~2007-06-24 14:44 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-24 13:55 [PATCH] hw_random: add quality categories Michael Buesch
2007-06-24 14:30 ` Alexey Dobriyan
2007-06-24 14:43 ` Michael Buesch [this message]
2007-06-25 23:21 ` Andrew Morton
2007-06-26 13:56 ` Michael Buesch
2007-06-26 3:13 ` Matt Mackall
2007-06-26 14:06 ` Henrique de Moraes Holschuh
2007-06-26 14:20 ` Michael Buesch
2007-06-27 2:00 ` Henrique de Moraes Holschuh
2007-06-27 12:58 ` Michael Buesch
2007-06-27 16:40 ` Henrique de Moraes Holschuh
2007-06-27 17:56 ` Michael Buesch
2007-06-28 7:57 ` Henrique de Moraes Holschuh
2007-06-26 14:12 ` Michael Buesch
2007-06-26 14:32 ` Matt Mackall
2007-06-26 14:45 ` Michael Buesch
2007-06-27 3:18 ` Matt Mackall
2007-06-27 12:52 ` Michael Buesch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200706241643.45126.mb@bu3sch.de \
--to=mb@bu3sch.de \
--cc=adobriyan@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox