Re: [PATCH] using arc4random for strong randomness matters.

From: David CARLIER <devnexen(at)gmail(dot)com>
To: David Fetter <david(at)fetter(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] using arc4random for strong randomness matters.
Date: 2017-11-22 15:43:53
Message-ID: CA+XhMqwadKPKGjQcFQuR-AJYZwPxuv1=saBftW46D9yUa93igg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I m not against as such that depends of the implementation but I ve seen in
quick glance it s RC4 ?

Regards.

On 22 November 2017 at 15:37, David Fetter <david(at)fetter(dot)org> wrote:

> On Tue, Nov 21, 2017 at 12:08:46PM +0000, David CARLIER wrote:
> > Hello,
> >
> > This is my first small personal contribution.
> >
> > Motivation :
> > - Using fail-safe, file descriptor free solution on *BSD and Darwin
> system
> > - Somehow avoiding at the moment FreeBSD as it still uses RC4 (seemingly
> > updated to Chacha20 for FreeBSD 12.0 and eventually backported later on).
> > - For implementation based on Chacha* it is known to be enough fast for
> the
> > purpose.
> > - make check passes.
> >
> > Hope it is good.
> >
> > Thanks in advance.
>
> This is neat. Apparently, it's useable on Linux with a gizmo called
> libbsd. Would it be worth it to test for that library on that
> platform?
>
> Best,
> David.
> --
> David Fetter <david(at)fetter(dot)org> http://fetter.org/
> Phone: +1 415 235 3778
>
> Remember to vote!
> Consider donating to Postgres: http://www.postgresql.org/about/donate
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2017-11-22 16:06:17 Re: [PATCH] using arc4random for strong randomness matters.
Previous Message Vicky Vergara 2017-11-22 15:42:20 Re: generic-msvc.h(91): error C2664