postgresql/contrib/uuid-ossp
Michael Paquier a8ed6bb8f4 Introduce SHA1 implementations in the cryptohash infrastructure
With this commit, SHA1 goes through the implementation provided by
OpenSSL via EVP when building the backend with it, and uses as fallback
implementation KAME which was located in pgcrypto and already shaped for
an integration with a set of init, update and final routines.
Structures and routines have been renamed to make things consistent with
the fallback implementations of MD5 and SHA2.

uuid-ossp has used for ages a shortcut with pgcrypto to fetch a copy of
SHA1 if needed.  This was built depending on the build options within
./configure, so this cleans up some code and removes the build
dependency between pgcrypto and uuid-ossp.

Note that this will help with the refactoring of HMAC, as pgcrypto
offers the option to use MD5, SHA1 or SHA2, so only the second option
was missing to make that possible.

Author: Michael Paquier
Reviewed-by: Heikki Linnakangas
Discussion: https://postgr.es/m/X9HXKTgrvJvYO7Oh@paquier.xyz
2021-01-23 11:33:04 +09:00
..
expected Fix uuid-ossp regression tests based on buildfarm feedback. 2014-05-28 23:15:51 -04:00
sql Fix uuid-ossp regression tests based on buildfarm feedback. 2014-05-28 23:15:51 -04:00
.gitignore Introduce SHA1 implementations in the cryptohash infrastructure 2021-01-23 11:33:04 +09:00
Makefile Introduce SHA1 implementations in the cryptohash infrastructure 2021-01-23 11:33:04 +09:00
uuid-ossp--1.0--1.1.sql Update uuid-ossp extension for parallel query. 2016-06-14 14:56:21 -04:00
uuid-ossp--1.1.sql Update uuid-ossp extension for parallel query. 2016-06-14 14:56:21 -04:00
uuid-ossp.c Introduce SHA1 implementations in the cryptohash infrastructure 2021-01-23 11:33:04 +09:00
uuid-ossp.control Mark some contrib modules as "trusted". 2020-02-13 15:02:35 -05:00