CVS Repository/ src/ include/ md5.h


OpenBSD release(s):
1.17 (79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53),  1.16 (52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36),  1.11 (35),  1.10 (34),  1.7 (33),  1.6 (32 31),  1.5 (30 29 28 27),  1.4 (26 25 24 23 22 21),  1.3 (20), 
Tags:
None
revision 1.17/ (Download) - annotate - Wed, 05 Dec 2012 23:19:57 UTC by deraadt
OpenBSD release(s): 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53
Changes since 1.16: +1 -3 (diff)
Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis

revision 1.16/ (Download) - annotate - Tue, 22 Jun 2004 01:57:30 UTC by jfb
OpenBSD release(s): 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36
Changes since 1.15: +3 -3 (diff)
Make the `filename' parameter to HASHFile() and HASHFileChunk() const
ok pedro@, millert@

revision 1.15/ (Download) - annotate - Mon, 03 May 2004 17:30:14 UTC by millert
Changes since 1.14: +4 -1 (diff)
Add Pad and FileChunk functions for each family of hash functions.
The Pad function does padding like in Final but does not finish processing.
The FileChunk function creates a digest from a portion of a file.
Also made the length parameters consistent (and size_t).

revision 1.14/ (Download) - annotate - Thu, 29 Apr 2004 15:51:16 UTC by millert
Changes since 1.13: +4 -4 (diff)
Undo some recent prototype changes; it is legal to pass the helper
functions can take a NULL buf pointer.  They will malloc memory as
needed in this case.

revision 1.13/ (Download) - annotate - Wed, 28 Apr 2004 16:52:08 UTC by millert
Changes since 1.12: +17 -13 (diff)
Rename members of struct MD5Context to match other hash routines.
Add constants for buffer lengths and use them.
Make bit count 64bit based on changes by niklas@ long ago.
Conver htole32n() to macros and unroll loops.

revision 1.12/ (Download) - annotate - Wed, 28 Apr 2004 16:46:02 UTC by millert
Changes since 1.11: +21 -34 (diff)
PD version of md5(3) based on code written by Colin Plumb.

revision 1.11/ (Download) - annotate - Tue, 07 Oct 2003 22:17:27 UTC by avsm
OpenBSD release(s): 35
Changes since 1.10: +14 -7 (diff)
corrent __bounded__ attribute for the *Data functions, and add
__minbytes__ checks where appropriate.  tested by itojun@

fixes PR 3505 from Janjaap van Velthooven

revision 1.10/ (Download) - annotate - Fri, 01 Aug 2003 17:38:33 UTC by avsm
OpenBSD release(s): 34
Changes since 1.9: +3 -2 (diff)
add __bounded__ attributes for userland headers; enabled with -Wbounded
ok deraadt@

revision 1.9/ (Download) - annotate - Thu, 26 Jun 2003 19:34:17 UTC by avsm
Changes since 1.8: +1 -2 (diff)
backout the __bounded__ attributes for a while; requested by deraadt@

revision 1.8/ (Download) - annotate - Thu, 26 Jun 2003 18:35:13 UTC by avsm
Changes since 1.7: +3 -2 (diff)
Mark various standard library functions with the __bounded__ attribute.
You must have an up-to-date gcc for this!
deraadt@ ok

revision 1.7/ (Download) - annotate - Mon, 23 Dec 2002 04:33:31 UTC by millert
OpenBSD release(s): 33
Changes since 1.6: +5 -1 (diff)
o Ansi function headers
o Add __BEGIN_DECLS/__END_DECLS to include files
o Safe macros
o Remove useless variable assignment in the End function of *hl.c
o Some minor KNF, needs more
From Dan Weeks

revision 1.6/ (Download) - annotate - Sat, 16 Feb 2002 21:27:17 UTC by millert
OpenBSD release(s): 32 31
Changes since 1.5: +8 -8 (diff)
Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

revision 1.5/ (Download) - annotate - Tue, 28 Mar 2000 17:35:08 UTC by millert
OpenBSD release(s): 30 29 28 27
Changes since 1.4: +2 -1 (diff)
Expose MDXTransform functions to be consistent with sha1 and rmd160.

revision 1.4/ (Download) - annotate - Sun, 24 Nov 1996 02:25:57 UTC by niklas
OpenBSD release(s): 26 25 24 23 22 21
Changes since 1.3: +4 -4 (diff)
64-bit cleanup + pedantic -W flags

revision 1.3/ (Download) - annotate - Mon, 30 Sep 1996 03:55:48 UTC by millert
OpenBSD release(s): 20
Changes since 1.2: +12 -10 (diff)
Protect prototypes with __P.

revision 1.2/ (Download) - annotate - Sun, 29 Sep 1996 14:53:10 UTC by millert
Changes since 1.1: +3 -3 (diff)
Use bittypes so we work on 64-bit machines.

revision 1.1/ (Download) - annotate - Mon, 03 Jun 1996 22:25:55 UTC by niklas
Add md[245].h include files for use with the md support in libc, from FreeBSD