Re: Refactoring HMAC in the core code

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Daniel Gustafsson <daniel(at)yesql(dot)se>
Subject: Re: Refactoring HMAC in the core code
Date: 2021-01-23 04:43:20
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Fri, Jan 08, 2021 at 04:11:53PM +0900, Michael Paquier wrote:
> Please find attached a rebased version. I have simplified the
> implementation to use an opaque pointer similar to the cryptohash
> part, leading to a large cleanup of the allocation logic for both
> implementations, with and without OpenSSL.

Rebased patch is attached wiht SHA1 added as of a8ed6bb. Now that
SHA1 is part of the set of options for cryptohashes, a lot of code of
pgcrypto can be cleaned up thanks to the refactoring done here, but
I am leaving that as a separate item to address later.

Attachment Content-Type Size
v4-0001-Refactor-HMAC-implementations.patch text/x-diff 37.1 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Dilip Kumar 2021-01-23 04:47:13 Re: Is Recovery actually paused?
Previous Message Bharath Rupireddy 2021-01-23 04:40:26 Re: [PATCH] postgres_fdw connection caching - cause remote sessions linger till the local session exit