From: Kim Phillips <kim.phillips@freescale.com>
To: "Steve Iribarne (GMail)" <netstv@gmail.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: 8541E and RNG
Date: Wed, 17 Jan 2007 11:45:23 -0600 [thread overview]
Message-ID: <20070117114523.633b3b12.kim.phillips@freescale.com> (raw)
In-Reply-To: <b4b98b690701170847m622c9080yc493793d00908088@mail.gmail.com>
On Wed, 17 Jan 2007 08:47:01 -0800
"Steve Iribarne (GMail)" <netstv@gmail.com> wrote:
> Anyone ever tried to use the Random Number Generator on the MPC8541E?
> I can't get it to behave, so if you've used it and there were any
> tricks, I'd appreciate some insite.
>
the only problem I ran into was I needed to make sure the accesses to the pool were in 64 bits (two sequential 32bit ioreads), after of course resetting the device properly. Feel free to reference talitos_rng_init() and talitos_read_random() from here:
http://git.openswan.org/cgi-bin/gitweb.cgi?p=klips;a=blob;h=ec8ccfdb5873e0c583cc50cf23a3521df6834ccd;hb=ocf_v2.6.18;f=crypto/ocf/talitos/talitos.c
> I'm using in Linux 2.4.xx.
>
yeah..the talitos ocf driver needs some modding to work with 2.4, sorry 'bout that.
Kim
prev parent reply other threads:[~2007-01-17 17:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-17 16:47 8541E and RNG Steve Iribarne (GMail)
2007-01-17 17:45 ` Kim Phillips [this message]
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=20070117114523.633b3b12.kim.phillips@freescale.com \
--to=kim.phillips@freescale.com \
--cc=linuxppc-embedded@ozlabs.org \
--cc=netstv@gmail.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;
as well as URLs for NNTP newsgroup(s).