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

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: David CARLIER <devnexen(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] using arc4random for strong randomness matters.
Date: 2017-11-22 11:50:57
Message-ID: CAB7nPqSLCNWqXQr57PD=fwSq79OK71Quk72iKxPuP0YGU291pA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Nov 21, 2017 at 9:08 PM, David CARLIER <devnexen(at)gmail(dot)com> wrote:
> 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.

This looks like a good idea to me at quick glance. Please make sure to
register it in the next commit fest if yo uwould like to get feedback
about this feature:
https://commitfest.postgresql.org/16/
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Taylor, Nathaniel N. 2017-11-22 11:57:33 Logical Replication and PgPool
Previous Message Thomas Munro 2017-11-22 11:36:56 Re: [HACKERS] Parallel Hash take II