Re: p5-BSD-Random use libc

2016-10-14 Thread Abel Abraham Camarillo Ojeda
On Wed, Oct 12, 2016 at 10:46 AM, Alexander Bluhm wrote: > Hi, > > My idea of the p5-BSD-arc4random port in OpenBSD is to keep the API > of the BSD::arc4random Perl module, but use our libc functions > internally. This has been done with BSD::arc4random::arc4random() > a

Re: p5-BSD-Random use libc

2016-10-12 Thread Todd C. Miller
On Wed, 12 Oct 2016 17:46:20 +0200, Alexander Bluhm wrote: > My idea of the p5-BSD-arc4random port in OpenBSD is to keep the API > of the BSD::arc4random Perl module, but use our libc functions > internally. This has been done with BSD::arc4random::arc4random() > a while ago, but

Re: p5-BSD-Random use libc

2016-10-12 Thread Alexander Bluhm
On Wed, Oct 12, 2016 at 11:50:53AM -0400, Devin Ceartas wrote: > That makes sense to me as a heavy perl user; This is not mainly about speed. We know that our libc functions work correctly, so we don't want a different implementation in Perl. > presumably the pure-perl > version can still be

Re: p5-BSD-Random use libc

2016-10-12 Thread Devin Ceartas
That makes sense to me as a heavy perl user; presumably the pure-perl version can still be installed from CPAN if desired. On 12 Oct 2016, at 11:46, Alexander Bluhm wrote: Hi, My idea of the p5-BSD-arc4random port in OpenBSD is to keep the API of the BSD::arc4random Perl module, but use our

p5-BSD-Random use libc

2016-10-12 Thread Alexander Bluhm
Hi, My idea of the p5-BSD-arc4random port in OpenBSD is to keep the API of the BSD::arc4random Perl module, but use our libc functions internally. This has been done with BSD::arc4random::arc4random() a while ago, but BSD::arc4random::arc4random_bytes() and BSD::arc4random::arc4random_uniform()