mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: moreau francis <francis_moreau2000@yahoo.fr>
To: Michael Buesch <mb@bu3sch.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re : [HW_RNG] How to use generic rng in kernel space
Date: Fri, 4 Aug 2006 13:00:30 +0000 (GMT)	[thread overview]
Message-ID: <20060804130030.90361.qmail@web25805.mail.ukl.yahoo.com> (raw)
In-Reply-To: <200608012249.20324.mb@bu3sch.de>

Michael Buesch wrote:
> The dataflow is as follows:

> HW-RNG -> userspace RNGD (through /dev/hwrng) -> the daemon
> checks it for sanity and puts it back into the kernel through
> /dev/random -> Your driver gets the data from the /dev/random
> entropy pools.

Is that also true for embedded systems ? I mean we may not found
any rngd on these systems.

One other question now: suppose that others drivers need to use
random data during their inits. At this time userspace appli still not
have been started. How does it work ?

> This is very neccesary, because your HW-RNG may fail and
> so you may unintentionally use non-random data, if you use
> the random data from the RNG directly.
> The data _must_ go through userspace rngd, which does FIPS
> sanity checks on the data.

Well I'm working on a secure SOC which have a randown hardware
which is supposed to return true random data. I understand that 
some self tests on the random data are needed but doing them in 
userspace is suprising.

thanks

Francis




  reply	other threads:[~2006-08-04 13:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-01 12:09 moreau francis
2006-08-01 13:29 ` Alan Cox
2006-08-01 13:28   ` Re : " moreau francis
2006-08-01 20:49 ` Michael Buesch
2006-08-04 13:00   ` moreau francis [this message]
2006-08-04 21:08     ` Michael Buesch
2006-08-05  1:44       ` Jeff Garzik
2006-08-08 15:39       ` Re : " moreau francis
2006-08-08 17:34         ` Michael Buesch
2006-08-09 10:02           ` Re : " moreau francis

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=20060804130030.90361.qmail@web25805.mail.ukl.yahoo.com \
    --to=francis_moreau2000@yahoo.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mb@bu3sch.de \
    /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

all inboxes | Powered by JetHome®