* Sami Liedes:

> I suspect the culprit is this line in owntypes.h:
>
> typedef unsigned long int     UINT32;

Oh well.  Quite likely this is the cause.  Looks like the code has
originally been written to be 16-bit clean.  I wonder if it's been
verified that the PRNG has been implemented correctly.

In addition, fread is used to read from /dev/random, which needlessly
sucks up entropy into an internal libc buffer.  Either use the read
system call directly, or use setbuf to disable the internal buffering.

Anyway, good catch!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to