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

From: David Fetter <david(at)fetter(dot)org>
To: David CARLIER <devnexen(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] using arc4random for strong randomness matters.
Date: 2017-11-22 15:37:14
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

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

David Fetter <david(at)fetter(dot)org>
Phone: +1 415 235 3778

Remember to vote!
Consider donating to Postgres:

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Vicky Vergara 2017-11-22 15:42:20 Re: generic-msvc.h(91): error C2664
Previous Message Arthur Zakirov 2017-11-22 15:23:36 Re: [HACKERS] Bug in to_timestamp().