summaryrefslogtreecommitdiff
path: root/lib/libmd/md2c.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the RFC 1319 MD2 Message-Digest Algorithm routines from libmd.David E. O'Brien2012-04-281-211/+0
| | | | | | | | | | | | | 1. The licensing terms for the MD2 routines from RFC is not under a BSD-like license. Instead it is only granted for non-commercial Internet Privacy-Enhanced Mail. 2. MD2 is quite deprecated as it is no longer considered a cryptographically strong algorithm. Discussed with: so (cperciva), core Notes: svn path=/head/; revision=234746
* Fix an 11 year old mistake: Let the hash functions take a void* insteadPoul-Henning Kamp2006-01-171-2/+3
| | | | | | | of unsigned char* argument. Notes: svn path=/head/; revision=154479
* Rename local variables to not mask global names of same name. ThisMark Murray2003-06-051-10/+10
| | | | | | | fixes lots of lint(1) warnings. Notes: svn path=/head/; revision=115872
* add __FBSDID()s to libmdMatthew Dillon2001-09-301-1/+3
| | | | Notes: svn path=/head/; revision=84211
* Add a new entrypoint to the hashes in libmd:Poul-Henning Kamp2001-03-171-2/+2
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=74385
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Split the padding out into a separate function.Poul-Henning Kamp1998-03-271-5/+14
| | | | | | | | | | | Synchronize the kernel and libmd versions of md5c.c PR: misc/6127 Reviewed by: phk Submitted by: Ari Suutari <ari@suutari.iki.fi> Notes: svn path=/head/; revision=34909
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22993
* close bin/1648 libmd not 64bit safe.Poul-Henning Kamp1996-10-221-2/+3
| | | | | | | | | if something fails to compile now, you need to add #include <sys/types.h> Partially Submitted by: Jason Thorpe <thorpej@nas.nasa.gov> Notes: svn path=/head/; revision=19099
* Clean a bunch of -Wall warnings.Poul-Henning Kamp1995-02-241-0/+1
| | | | Notes: svn path=/head/; revision=6684
* Added "const" to the arguments here and there.Poul-Henning Kamp1994-11-071-3/+3
| | | | Notes: svn path=/head/; revision=4245
* Reviewed by: phkPoul-Henning Kamp1994-07-241-0/+197
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. Notes: svn path=/cvs2svn/branches/ORIG/; revision=1802