Re: Refactoring HMAC in the core code

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Refactoring HMAC in the core code
Дата
Msg-id YCpaJ7HRaf5489Cg@paquier.xyz
обсуждение исходный текст
Ответ на Re: Refactoring HMAC in the core code  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Refactoring HMAC in the core code
Список pgsql-hackers
On Sat, Jan 23, 2021 at 01:43:20PM +0900, Michael Paquier wrote:
> 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.

Again a new rebase, giving v5:
- Fixed the APIs to return -1 if the caller gives NULL in input, to be
consistent with cryptohash.
- Added a length argument to pg_hmac_final(), wiht sanity checks.
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: 64-bit XIDs in deleted nbtree pages
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: logical replication seems broken