bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [address@hidden: Help with entropy?]


From: Michael Casadevall
Subject: Re: [address@hidden: Help with entropy?]
Date: Wed, 20 Jun 2007 13:27:13 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've been messing with the driver more with more debugging info. I think the underlying problem actually comes from GnuPG which I was using to test the entropy with; its not reading from /dev/random (it looks like Debian is building the package without a /dev/random as a source). I rebuilt gpg using Debian's options, and it successfully generating a new key, but still not reading from /dev/random; its possible that the configure script GnuPG uses beleives that Hurd doesn't have a random so it simply setup GPG to use it.
Michael

On Jun 20, 2007, at 9:37 AM, <olafBuddenhagen@gmx.net> <olafBuddenhagen@gmx.net> wrote:

Hi,

I don't get this part:

/* Setup the offset pointer to add data */
 offset = entropy_write_offset + 1;
 if (offset + sizeof(unsigned long)  == ENTROPYBUFSIZE) {
   offset = 0;
 }

Why the +1 ? You sure that's really what you want?...

-antrik-

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFGeWN4V/FBeJ6jsZQRAnVIAJ4uVWM39weMtG4kXSi6aigDA6l2bQCffxfI
1DavZFZaQ+adiW0yoirEDJg=
=QyM8
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]