8541E and RNG

2 messages, 2 authors, 2007-01-17 · open the first message on its own page

8541E and RNG

From: Steve Iribarne (GMail) <hidden>
Date: 2007-01-17 16:47:05

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)
 */

Re: 8541E and RNG

From: Kim Phillips <hidden>
Date: 2007-01-17 17:45:26

On Wed, 17 Jan 2007 08:47:01 -0800
"Steve Iribarne (GMail)" [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help