NetBSD-Bugs archive

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

lib/38883: Replace the algorithm used by random (3) by the Mersenne Twister (mertwist.c)



>Number:         38883
>Category:       lib
>Synopsis:       Replace the algorithm used by random (3) by the Mersenne 
>Twister (mertwist.c)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 07 12:15:00 +0000 2008
>Originator:     Vincent Habchi
>Release:        current
>Organization:
>Environment:
>Description:
The Mersenne Twister algorithm has a virtually infinite period, a very smooth 
distribution and meets all but the most stringent requirements (read: 
cryptographic use) for a pseudorandom (PR) generator. Furthermore it is fast 
and already implemented in src/sys/lib/libkern/mertwist.c. It is therefore 
superior to the current random (3) algorithm we use.

Thus, why not implement it as the standard algorithm for random (3) group of 
calls?


>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index