[PATCH] using arc4random for strong randomness matters. - Mailing list pgsql-hackers

From David CARLIER
Subject [PATCH] using arc4random for strong randomness matters.
Date
Msg-id CA+XhMqy1JvK6UW__aJGx5Y94OqFG4Sr170UB1sZ6GJso9N7OQw@mail.gmail.com
Whole thread Raw
Responses Re: [PATCH] using arc4random for strong randomness matters.  (Michael Paquier <michael.paquier@gmail.com>)
Re: [PATCH] using arc4random for strong randomness matters.  (David Fetter <david@fetter.org>)
List pgsql-hackers
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.
Attachment

pgsql-hackers by date:

Previous
From: amul sul
Date:
Subject: Re: [HACKERS] Parallel Append implementation
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] Partition-wise aggregation/grouping