Re: [PATCH] using arc4random for strong randomness matters.
От | David Fetter |
---|---|
Тема | Re: [PATCH] using arc4random for strong randomness matters. |
Дата | |
Msg-id | 20171122153714.GA19138@fetter.org обсуждение исходный текст |
Ответ на | [PATCH] using arc4random for strong randomness matters. (David CARLIER <devnexen@gmail.com>) |
Ответы |
Re: [PATCH] using arc4random for strong randomness matters.
|
Список | 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 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
В списке pgsql-hackers по дате отправления: