aboutsummaryrefslogtreecommitdiff
path: root/crypt/md5.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-10-05 20:23:05 +0000
committerRoland McGrath <roland@gnu.org>2005-10-05 20:23:05 +0000
commitd91c4c2eb0927c78a8e24869fc0210235009a961 (patch)
tree32749ef0cf2f0322ec42a67dfabe0ed3d2ea9d65 /crypt/md5.h
parent794102b04778e68faa12be00638aebdea6eb99a1 (diff)
downloadglibc-d91c4c2eb0927c78a8e24869fc0210235009a961.zip
glibc-d91c4c2eb0927c78a8e24869fc0210235009a961.tar.gz
glibc-d91c4c2eb0927c78a8e24869fc0210235009a961.tar.bz2
* crypt/md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): New macros.
Diffstat (limited to 'crypt/md5.h')
-rw-r--r--crypt/md5.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/crypt/md5.h b/crypt/md5.h
index 35088f2..b474a84 100644
--- a/crypt/md5.h
+++ b/crypt/md5.h
@@ -1,6 +1,7 @@
/* Declaration of functions and data types used for MD5 sum computing
library functions.
- Copyright (C) 1995-1997,1999,2000,2001,2004 Free Software Foundation, Inc.
+ Copyright (C) 1995-1997,1999,2000,2001,2004,2005
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -27,6 +28,9 @@
# include <limits.h>
#endif
+#define MD5_DIGEST_SIZE 16
+#define MD5_BLOCK_SIZE 64
+
/* The following contortions are an attempt to use the C preprocessor
to determine an unsigned integral type that is 32 bits wide. An
alternative approach is to use autoconf's AC_CHECK_SIZEOF macro, but