Current-Users archive

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

Re: use and docs for mertwist.c ?




On Jul 25, 2008, at 8:49 AM, Jeremy C. Reed wrote:

On Fri, 25 Jul 2008, Matthias Drochner wrote:

reed%reedmedia.net@localhost said:
I am testing it as a replacement for arc4random to compare CPU usage.

I'm noy a cryptography expert. Barely able to initiate a google
search -- it yields that the M.T. is not considered suitable for
cryptographic purposes.
So if our version is modified, or there are other reasons which
make it suitable as arc4random() replacement, it should
be documented, to appease such concerns.

Sorry, I didn't mean to imply that I was going to replace arc4random (3) in NetBSD. I just was going to replace it for a specific use in my own code
for some tests.

I still don't understand why src/sys/lib/libkern/mertwist.c is our code
and why it is built. Does anything/anyone actually use it?

It's on my todo list to make the ip_id shuffle code it.  And that would
mean the still-be-done random port-suffler too.


Home | Main Index | Thread Index | Old Index