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
Poul-Henning Kamp
40060a90b9
close bin/1648 libmd not 64bit safe.
...
if something fails to compile now, you need to add #include <sys/types.h>
Partially Submitted by: Jason Thorpe <thorpej@nas.nasa.gov>
1996-10-22 16:27:47 +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