-----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, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> 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-----


_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to