From: Andi Kleen <andi@firstfloor.org>
To: Sebastian Siewior <linux-crypto@ml.breakpoint.cc>
Cc: Neil Horman <nhorman@tuxdriver.com>,
linux-crypto@vger.kernel.org, herbert@gondor.apana.org.au,
davem@davemloft.net
Subject: Re: [PATCH 0/2] RNG: Add Pseudo Random Number Generator to kernel
Date: Fri, 04 Jul 2008 01:36:33 +0200 [thread overview]
Message-ID: <87iqvmsfpa.fsf@basil.nowhere.org> (raw)
In-Reply-To: <20080703203955.GA13654@Chamillionaire.breakpoint.cc> (Sebastian Siewior's message of "Thu, 3 Jul 2008 22:39:55 +0200")
Sebastian Siewior <linux-crypto@ml.breakpoint.cc> writes:
>
> Anything wrong with get_random_bytes()?
> Whats the advantage over get_random_bytes()?
get_random_bytes() is not a _pseudo_ random number generator,
it doesn't have a seed and you cannot get repeatable sequences
out of it.
random32.c is though, but currently it's not reseedable either.
I needed a true reseedable prng a few times too so this
would be useful, although i guess random32.c could have been
fixed. But perhaps there's a need for a more cryptographically
strong PRNG too.
-Andi
next prev parent reply other threads:[~2008-07-03 23:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-03 20:19 [PATCH 0/2] RNG: Add Pseudo Random Number Generator to kernel Neil Horman
2008-07-03 20:39 ` Sebastian Siewior
2008-07-03 23:36 ` Andi Kleen [this message]
2008-07-04 2:10 ` Neil Horman
2008-07-04 8:44 ` Sebastian Siewior
2008-07-04 11:44 ` Neil Horman
2008-07-07 7:18 ` Herbert Xu
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=87iqvmsfpa.fsf@basil.nowhere.org \
--to=andi@firstfloor.org \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@ml.breakpoint.cc \
--cc=linux-crypto@vger.kernel.org \
--cc=nhorman@tuxdriver.com \
/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