diff --git a/contrib/pgcrypto/API b/contrib/pgcrypto/API index 8127f70393be4a160b33e6f8eea4a621bff11266..6664caf8c134ba70676c30c8ae1176feb639d3cf 100644 --- a/contrib/pgcrypto/API +++ b/contrib/pgcrypto/API @@ -22,7 +22,7 @@ unsigned px_gen_salt(const char *salt_type, char *dst, int rounds); Random ====== -int px_rand_get_bytes(uint8 *dst, int num) +int px_get_random_bytes(uint8 *dst, int num) Crypto "objects" diff --git a/contrib/pgcrypto/Makefile b/contrib/pgcrypto/Makefile index c4d7eee76eca731f64d6138a6c80d41c2d9a4e14..823d4ff93c13970ca705dd81ae84710c23b3e778 100644 --- a/contrib/pgcrypto/Makefile +++ b/contrib/pgcrypto/Makefile @@ -1,5 +1,5 @@ # -# $Header: /cvsroot/pgsql/contrib/pgcrypto/Makefile,v 1.8 2001/09/29 03:11:58 momjian Exp $ +# $Header: /cvsroot/pgsql/contrib/pgcrypto/Makefile,v 1.9 2001/09/30 22:18:29 momjian Exp $ # subdir = contrib/pgcrypto @@ -71,6 +71,9 @@ EXTRA_CLEAN := gen-rtab PG_CPPFLAGS := $(CRYPTO_CFLAGS) -I$(srcdir) SHLIB_LINK := $(CRYPTO_LDFLAGS) +REGRESS := init md5 sha1 hmac-md5 hmac-sha1 blowfish rijndael \ + crypt-des crypt-md5 crypt-blowfish crypt-xdes + include $(top_srcdir)/contrib/contrib-global.mk rijndael.o: rijndael.tbl diff --git a/contrib/pgcrypto/README.pgcrypto b/contrib/pgcrypto/README.pgcrypto index ba6c3fd8374963ebaff09ef4c1a53d9a289862c8..0480c4cafffdef82824b1896852a911b8d5297ed 100644 --- a/contrib/pgcrypto/README.pgcrypto +++ b/contrib/pgcrypto/README.pgcrypto @@ -21,6 +21,11 @@ After editing Makefile: make make install +To run regression tests, install both PostgreSQL and pgcrypto +and then run + +make installcheck + SQL FUNCTIONS ============= @@ -181,7 +186,7 @@ OpenSSL (0.9.6): Url: http://www.openssl.org/ -mhash (0.8.9) + mcrypt (2.4.11): +mhash (0.8.9) + mcrypt (2.4.16): Hashes: MD5, SHA1, CRC32, CRC32B, GOST, TIGER, RIPEMD160, HAVAL(256,224,192,160,128) Ciphers: DES, DES3, CAST-128(CAST5), CAST-256, xTEA, 3-way,