Poul-Henning Kamp
25a14196dd
Fix an 11 year old mistake: Let the hash functions take a void* instead
...
of unsigned char* argument.
2006-01-17 15:35:57 +00:00
Poul-Henning Kamp
8a24546c85
Add a new entrypoint to the hashes in libmd:
...
char *
FooFileChunk(const char *filename, char *buf, off_t offset, off_t length)
Which only hashes part of a file.
Implement FooFile() in terms of this function.
Submitted by: roam
2001-03-17 10:00:50 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Poul-Henning Kamp
c6bcf724da
Split the padding out into a separate function.
...
Synchronize the kernel and libmd versions of md5c.c
PR: misc/6127
Reviewed by: phk
Submitted by: Ari Suutari <ari@suutari.iki.fi>
1998-03-27 10:23:00 +00:00
Joerg Wunsch
f778764443
Make the MD* header files C++-aware. Also, string arguments are supposed
...
to be of type `const char *'.
PR: 3291
Submitted by: dima@tejblum.dnttm.rssi.ru (Dmitrij Tejblum)
1997-08-25 05:24:31 +00:00
Peter Wemm
7e546392b5
Revert $FreeBSD$ to $Id$
1997-02-22 15:12:41 +00:00
Peter Wemm
c60e216884
Add a structure definition to the MD* Contexts, so that cvs can use
...
the standard libmd version of MD5 instead of it's own seperate copy..
1995-12-11 02:18:22 +00:00
Poul-Henning Kamp
05f65b296e
Change this to do what it should have done from the start.
...
Add argument for buffer for output.
Fix manuals.
1995-07-12 09:13:49 +00:00
Poul-Henning Kamp
4385de1699
Added "const" to the arguments here and there.
1994-11-07 20:48:35 +00:00
Poul-Henning Kamp
c9502b535e
Reviewed by: phk
...
Imported libmd. This library contains MD2, MD4 and MD5.
These three boggers pop up all over the place all of the time, so I
decided we needed a library with them. In general they are used for
security checks, so if you use them you want to link them static.
1994-07-24 03:29:56 +00:00