summaryrefslogtreecommitdiff
path: root/contrib/pgcrypto/md5.h
diff options
context:
space:
mode:
authorBruce Momjian2001-08-21 00:42:41 +0000
committerBruce Momjian2001-08-21 00:42:41 +0000
commit2518e273340406033e65816cff6380e20860af0e (patch)
tree48a8bfa1342f8b2fc088e0d8f0fb4bcdaf8bd583 /contrib/pgcrypto/md5.h
parent5950a984a7478ff877c89632b3792498a38d0c70 (diff)
/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
Diffstat (limited to 'contrib/pgcrypto/md5.h')
-rw-r--r--contrib/pgcrypto/md5.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/pgcrypto/md5.h b/contrib/pgcrypto/md5.h
index 54ca2558dff..868f8a233a0 100644
--- a/contrib/pgcrypto/md5.h
+++ b/contrib/pgcrypto/md5.h
@@ -1,4 +1,4 @@
-/* $Id: md5.h,v 1.4 2001/03/22 03:59:10 momjian Exp $ */
+/* $Id: md5.h,v 1.5 2001/08/21 00:42:41 momjian Exp $ */
/* $KAME: md5.h,v 1.3 2000/02/22 14:01:18 itojun Exp $ */
/*
@@ -62,7 +62,7 @@ typedef struct
} md5_ctxt;
extern void md5_init(md5_ctxt *);
-extern void md5_loop(md5_ctxt *, uint8 *, unsigned int);
+extern void md5_loop(md5_ctxt *, const uint8 *, unsigned int);
extern void md5_pad(md5_ctxt *);
extern void md5_result(uint8 *, md5_ctxt *);
@@ -75,5 +75,4 @@ do { \
md5_pad((y)); \
md5_result((x), (y)); \
} while (0)
-
#endif /* ! _NETINET6_MD5_H_ */