summaryrefslogtreecommitdiffstats
path: root/lib/libmd/md4.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-03-17 10:00:50 +0000
committerphk <phk@FreeBSD.org>2001-03-17 10:00:50 +0000
commitcf0fcea2b7ae26222f4865e9a6df53972a02f443 (patch)
tree7fe491bdf6b8f8e4c7ca17e38a2e3f0368875806 /lib/libmd/md4.h
parent670e711dd19510316ecaa1f30d78f16ba66492f6 (diff)
downloadFreeBSD-src-cf0fcea2b7ae26222f4865e9a6df53972a02f443.zip
FreeBSD-src-cf0fcea2b7ae26222f4865e9a6df53972a02f443.tar.gz
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
Diffstat (limited to 'lib/libmd/md4.h')
-rw-r--r--lib/libmd/md4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libmd/md4.h b/lib/libmd/md4.h
index 5a648c8..f727d7e 100644
--- a/lib/libmd/md4.h
+++ b/lib/libmd/md4.h
@@ -41,6 +41,7 @@ void MD4Pad(MD4_CTX *);
void MD4Final(unsigned char [16], MD4_CTX *);
char * MD4End(MD4_CTX *, char *);
char * MD4File(const char *, char *);
+char * MD4FileChunk(const char *, char *, off_t, off_t);
char * MD4Data(const unsigned char *, unsigned int, char *);
__END_DECLS
OpenPOWER on IntegriCloud