/contrib/pgcrypto:
Bruce Momjian <bruce@momjian.us>
/contrib/pgcrypto: * remove support for encode() as it is in main tree now * remove krb5.c * new 'PX library' architecture * remove BSD license from my code to let the general PostgreSQL one to apply * md5, sha1: ANSIfy, use const where appropriate * various other formatting and clarity changes * hmac() * UN*X-like crypt() - system or internal crypt * Internal crypt: DES, Extended DES, MD5, Blowfish crypt-des.c, crypt-md5.c from FreeBSD crypt-blowfish.c from Solar Designer * gen_salt() for crypt() - Blowfish, MD5, DES, Extended DES * encrypt(), decrypt(), encrypt_iv(), decrypt_iv() * Cipher support in mhash.c, openssl.c * internal: Blowfish, Rijndael-128 ciphers * blf.[ch], rijndael.[ch] from OpenBSD * there will be generated file rijndael-tbl.inc. Marko Kreen
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pgcrypto/internal.c | modified | +471 −39 |
| contrib/pgcrypto/Makefile | modified | +19 −10 |
| contrib/pgcrypto/md5.c | modified | +7 −18 |
| contrib/pgcrypto/md5.h | modified | +2 −3 |
| contrib/pgcrypto/mhash.c | modified | +280 −29 |
| contrib/pgcrypto/openssl.c | modified | +358 −30 |
| contrib/pgcrypto/pgcrypto.c | modified | +422 −48 |
| contrib/pgcrypto/pgcrypto.h | modified | +14 −17 |
| contrib/pgcrypto/pgcrypto.sql.in | modified | +46 −10 |
| contrib/pgcrypto/README.pgcrypto | modified | +163 −35 |
| contrib/pgcrypto/sha1.c | modified | +6 −15 |
| contrib/pgcrypto/sha1.h | modified | +3 −3 |