Hi,

I noticed that ECL seems to use poor random implementation on OpenBSD.
The file in question is src/c/num_rand.d.
There the 'good' implementation uses /dev/urandom but such device is not
available on OpenBSD so it will fallback to poorer implementation.
OpenBSD has /dev/random and /dev/arandom and as far as I know both use same
implementation.
It seems that it would be trivial to patch the code to use for example
/dev/arandom on OpenBSD but I was wondering would it be better to use arc4random
functions instead?

Details about OpenBSD random devices can be found here:
http://www.openbsd.org/cgi-bin/man.cgi?query=random&apropos=0&sektion=4&manpath=OpenBSD+Current&arch=i386&format=html

Timo

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to