-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
entropy_write_offset is the value of where the last write ended. You
need to add 1 to move the pointer past the last time it was written.
I'm modifying the driver to print out more debugging info and figure
out what was wrong with the offsets (which might be the problem)
Michael
On Jun 20, 2007, at 9:37 AM, <[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)
iD8DBQFGeVI3V/FBeJ6jsZQRAoUwAJ9Exa8a1SN2d4oDI5I+jCT7Ha89tgCdGU+W
mYsA8LzQ0B+WntjTJPFx99w=
=GPCw
-----END PGP SIGNATURE-----
_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd