* 8541E and RNG
@ 2007-01-17 16:47 Steve Iribarne (GMail)
2007-01-17 17:45 ` Kim Phillips
0 siblings, 1 reply; 2+ messages in thread
From: Steve Iribarne (GMail) @ 2007-01-17 16:47 UTC (permalink / raw)
To: linuxppc-embedded
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.
I'm using in Linux 2.4.xx.
Thanks.
-stv
--
/*
* Steve Iribarne
* Software Engineer
* (aka Grunt)
*/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 8541E and RNG
2007-01-17 16:47 8541E and RNG Steve Iribarne (GMail)
@ 2007-01-17 17:45 ` Kim Phillips
0 siblings, 0 replies; 2+ messages in thread
From: Kim Phillips @ 2007-01-17 17:45 UTC (permalink / raw)
To: Steve Iribarne (GMail); +Cc: linuxppc-embedded
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-17 17:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-17 16:47 8541E and RNG Steve Iribarne (GMail)
2007-01-17 17:45 ` Kim Phillips
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).