Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Nov 2014 06:19:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 194204] getentropy(2): sys call from openbsd
Message-ID:  <bug-194204-8-x3KXQBvE0h@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194204-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194204-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194204

--- Comment #5 from Mateusz Guzik <mjg@FreeBSD.org> ---
I'm no crypto expert.

Turns out FreeBSD's arc4rand uses RC4, while OpenBSD's version uses something
based on ChaCha which is stronger than RC4.

I don't think we should provide a syscall with weaker randomness than one
provided with original implementation.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194204-8-x3KXQBvE0h>