Fwd: Re: Timer randomness
Benjamin
bbrewer at littledystopia.net
Tue Oct 11 15:27:21 PDT 2011
For those of you who read my prior forward:
-------- Original Message --------
Subject: Re: Timer randomness
Date: Tue, 11 Oct 2011 14:36:55 +0800
From: Sandy Harris <sandyinchina at gmail.com>
To: Speculators <dc-stuff at dc-stuff.org>
On Sun, Oct 2, 2011 at 11:24 AM, Sandy Harris<sandyinchina at gmail.com> wrote:
> I have written a demon for Linux that gathers entropy from timer
> jitter and pushes it into random(4). There is working code and a
> PDF rationale document.
>
> Comment and criticism solicited.
>
> It is at: ftp://ftp.cs.sjtu.edu.cn:990/sandy/maxwell/
Do not use any version earlier than today's. I just found and fixed
and simple but nasty bug.
Dumb, much? To combine two 16-bit items into one 32-bit word,
I used:
x = (a<<16)& b ;
because of the AND, that always gives zero. Of course it has
to be an OR.
More information about the cypherpunks-legacy
mailing list