From: Harvey Harrison <harvey.harrison@gmail.com>
To: Michael Buesch <mb@bu3sch.de>
Cc: bcm43xx-dev@lists.berlios.de, linux-wireless@vger.kernel.org
Subject: Re: Thoughts about the b43 RNG
Date: Thu, 08 Jan 2009 17:30:56 -0800 [thread overview]
Message-ID: <1231464656.5715.33.camel@brick> (raw)
In-Reply-To: <1231464519.5715.32.camel@brick>
On Thu, 2009-01-08 at 17:28 -0800, Harvey Harrison wrote:
> On Fri, 2009-01-09 at 02:11 +0100, Michael Buesch wrote:
> > I was doing some random tests on the b43 hardware RNG.
> > These are the results.
> >
> > I patched the firmware to not access the RNG register anymore.
> > The unpatched firmware does two things. It reads the RNG register to get random values
> > and it writes 0 to the register every now and then for whatever reason.
> > Both reads and writes were patched out during my test. So the driver was
> > the only one accessing the RNG.
> >
> > This is the result of reading a few bytes from the RNG with the patched fw:
>
> > I'm not sure about this. There aren't any obvious patterns.
> > But maybe I'm just blind. Does somebody else see some pattern or
> > has some RNG test program to recognize such patterns?
> >
> > So let's do another test. Let's modify the previous test to
> > write 0xFFFF instead of 0:
> >
>
> NIST has a pretty good test suite I think.
Packaged for debian as dieharder if you want the command-line version.
Harvey
next prev parent reply other threads:[~2009-01-09 1:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-09 1:11 Thoughts about the b43 RNG Michael Buesch
2009-01-09 1:28 ` Harvey Harrison
2009-01-09 1:30 ` Harvey Harrison [this message]
2009-01-09 10:15 ` Michael Buesch
2009-01-09 14:00 ` Holger Schurig
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=1231464656.5715.33.camel@brick \
--to=harvey.harrison@gmail.com \
--cc=bcm43xx-dev@lists.berlios.de \
--cc=linux-wireless@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;
as well as URLs for NNTP newsgroup(s).