Re: Refactoring HMAC in the core code - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Refactoring HMAC in the core code
Date
Msg-id YAupaDtux0mykWtR@paquier.xyz
Whole thread Raw
In response to Re: Refactoring HMAC in the core code  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Refactoring HMAC in the core code  (Michael Paquier <michael@paquier.xyz>)
List 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.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: [PATCH] postgres_fdw connection caching - cause remote sessions linger till the local session exit
Next
From: Dilip Kumar
Date:
Subject: Re: Is Recovery actually paused?