Re: Patch: cprng_fast performance - please review.

Thor Lancelot Simon <[email protected]> Fri, 18 Apr 2014 14:41:32 -0400
Newsgroups gmane.os.netbsd.devel.crypto,gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
On Fri, Apr 18, 2014 at 08:33:20PM +0200, Thomas Klausner wrote:
> On Fri, Apr 18, 2014 at 01:39:18PM -0400, Thor Lancelot Simon wrote:
> > How do you count to 9K?  I see:
> > 
> > 	2K for p
> > 	2K for q
> > 	1280 bytes for w
> 
> Are you talking about this w?
> +       uint32_t w[1280], *p = state->p, *q = state->q;
> 
> This looks like 1280x4 bytes to me.

Sure does.  Whups.  Thanks.

-- 
 Thor Lancelot Simon	                                      [email protected]
"From the tooth paste you use in the morning to the salt on your evening meal,
it's easy to take for granted the many products brought to us with explosives."
    - Institute of Manufacturers of Explosives, "Explosives Make It Possible"