summaryrefslogtreecommitdiff
path: root/lib/libmd
Commit message (Collapse)AuthorAgeFilesLines
* Split the padding out into a separate function.Poul-Henning Kamp1998-03-276-22/+62
| | | | | | | | | | | 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
* Don't use the beforedepend target. It was a no-op here except forBruce Evans1998-03-191-3/+1
| | | | | | | helping bsd.dep.mk break `make -jN depend'. Notes: svn path=/head/; revision=34685
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.AqPhilippe Charnier1998-03-191-4/+4
| | | | Notes: svn path=/head/; revision=34669
* If not building a.out, still build a pic version of libmd. This allowsPeter Wemm1997-09-051-1/+3
| | | | | | | | | | | things like libskey.so to be dynamically self contained. Things like md5(1) where speed is critical should still link with libmd.a, but for things like login, where it's a once-off call if skey is used, it's not worth the hassle. Notes: svn path=/head/; revision=29142
* Make the MD* header files C++-aware. Also, string arguments are supposedJoerg Wunsch1997-08-255-10/+20
| | | | | | | | | | to be of type `const char *'. PR: 3291 Submitted by: dima@tejblum.dnttm.rssi.ru (Dmitrij Tejblum) Notes: svn path=/head/; revision=28688
* FIxed arg types (mostly missing consts) in synopsis.Bruce Evans1997-03-191-3/+3
| | | | Notes: svn path=/head/; revision=24008
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-2212-12/+12
| | | | Notes: svn path=/head/; revision=22993
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-147-7/+7
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Just pick up the real thing from <sys/md5.h>Poul-Henning Kamp1996-12-221-39/+1
| | | | Notes: svn path=/head/; revision=20787
* Make this compile in the kernel too, major cosmetic cleanup.Poul-Henning Kamp1996-12-221-260/+277
| | | | Notes: svn path=/head/; revision=20785
* Moved #include of <sys/types.h> earlier so that this compiles whenBruce Evans1996-10-251-7/+8
| | | | | | | | | <stdio.h> doesn't (bogusly) include <sys/types.h>. Cleaned up #includes. Notes: svn path=/head/; revision=19168
* Add #include <sys/types>Poul-Henning Kamp1996-10-221-1/+2
| | | | Notes: svn path=/head/; revision=19100
* close bin/1648 libmd not 64bit safe.Poul-Henning Kamp1996-10-225-12/+15
| | | | | | | | | 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
* Use -mdoc macros properly.Garrett Wollman1996-10-094-52/+63
| | | | | | | | | Translate from Danglish into English. Refer to the alogrithms as ``RSA Data Security MDX message digest'' as required by the license. Notes: svn path=/head/; revision=18845
* cmp -s || install -c ==> install -C, use a .for loopPeter Wemm1996-08-301-10/+5
| | | | Notes: svn path=/head/; revision=17931
* Some minor man page cleanup.Mike Pritchard1996-08-231-1/+1
| | | | Notes: svn path=/head/; revision=17798
* Fix a memory leak in MD[245]End()Poul-Henning Kamp1996-07-241-9/+8
| | | | | | | | Submitted by: Ikuo Nakagawa <ikuo@isl.intec.co.jp> PR: misc/1424 Notes: svn path=/head/; revision=17271
* Correct two errors in the manual page.John Polstra1996-05-281-2/+2
| | | | Notes: svn path=/head/; revision=15963
* Don't install mdX.3, it's the template used to build the other pages.Poul-Henning Kamp1996-02-091-2/+2
| | | | Notes: svn path=/head/; revision=14007
* Bill was a little to fast here...Poul-Henning Kamp1996-02-091-3/+1
| | | | Notes: svn path=/head/; revision=14005
* Add some missing MLINKS, correct some cross references, correct someMike Pritchard1996-02-091-6/+2
| | | | | | | file locations and some minor formatting/style problems. Notes: svn path=/head/; revision=14003
* Added some missing MLINKS for section 3 man pages.Mike Pritchard1996-02-092-1/+3
| | | | | | | | | | Also corrected a few minor formatting errors, file location and cross references in some of the section 3 man pages. This shuts up a lot of the output from "manck" for section 3. Notes: svn path=/head/; revision=13987
* Add a structure definition to the MD* Contexts, so that cvs can usePeter Wemm1995-12-113-3/+3
| | | | | | | the standard libmd version of MD5 instead of it's own seperate copy.. Notes: svn path=/head/; revision=12762
* Back out that last change; we don't build this shared.David Greenman1995-09-061-2/+0
| | | | Notes: svn path=/head/; revision=10591
* Bumped shared lib rev to 2.1.David Greenman1995-09-061-0/+2
| | | | Notes: svn path=/head/; revision=10590
* Change `install' to `${INSTALL}' so that default install flags can beBruce Evans1995-08-061-3/+3
| | | | | | | | | | specified in the top level Makefiles. Previously I missed dozens of Makefiles that skip the install after using `cmp -s' to decide that the install isn't necessary. Notes: svn path=/head/; revision=9970
* Change this to do what it should have done from the start.Poul-Henning Kamp1995-07-127-41/+59
| | | | | | | | Add argument for buffer for output. Fix manuals. Notes: svn path=/head/; revision=9488
* Remove trailing whitespace.Rodney W. Grimes1995-05-302-5/+5
| | | | Notes: svn path=/head/; revision=8870
* No sense in copying the hex[] array in each call to MDXEnd(), it's aGarrett Wollman1995-04-271-2/+2
| | | | | | | constant. (There probably ought to be a single libc version of it.) Notes: svn path=/head/; revision=8103
* Clean a bunch of -Wall warnings.Poul-Henning Kamp1995-02-244-4/+7
| | | | Notes: svn path=/head/; revision=6684
* Speed md5 up around 30% by shorting out a couple of cumbersomePoul-Henning Kamp1995-02-211-36/+38
| | | | | | | memcpy equivalent functions. Notes: svn path=/head/; revision=6596
* Eliminate a bogus tab.Jordan K. Hubbard1995-01-241-1/+1
| | | | Notes: svn path=/head/; revision=5820
* Added "const" to the arguments here and there.Poul-Henning Kamp1994-11-077-20/+20
| | | | Notes: svn path=/head/; revision=4245
* Clean up beforeinstallPaul Traina1994-11-011-6/+3
| | | | Notes: svn path=/head/; revision=4043
* Added beforeinstall rule to install .h files. We might need some .mkPoul-Henning Kamp1994-09-191-0/+14
| | | | | | | support for this kind of thing. Look at src/Makefile target "includes". Notes: svn path=/head/; revision=2882
* libmd no longer built as shared-lib, only static.Poul-Henning Kamp1994-09-181-2/+3
| | | | | | | Renamed the beforeinstall to test. Notes: svn path=/head/; revision=2848
* Build *.3 and *.ref at build time, not at install time.Bruce Evans1994-09-081-1/+3
| | | | Notes: svn path=/head/; revision=2577
* Make mddriver static.Jordan K. Hubbard1994-09-041-3/+3
| | | | | | | Submitted by: jkh Notes: svn path=/head/; revision=2487
* Use ${LDFLAGS} instead of static for compiling binaries. Neither isBruce Evans1994-08-281-8/+8
| | | | | | | | | | sufficient for cross compiling but it's best to test with the flags normally used. Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet. Notes: svn path=/head/; revision=2368
* Added ${.CURDIRb to vuilding of man pages so it works with objPaul Richards1994-08-251-3/+3
| | | | | | | Submitted by: Paul Richards Notes: svn path=/head/; revision=2274
* Boy, was *this* ever bollixed!Jordan K. Hubbard1994-08-081-17/+17
| | | | | | | | | | | | | | | | | 1. Copyright files looked for in the wrong place 2. cmp was looking in wrong place for test data. 3. Driver for test not linked static, thus dynamic resolution of library not working. 4. Man page installation not consistent with source. Reviewed by: Submitted by: jkh Notes: svn path=/head/; revision=1964
* Make obj directory work right. md?hl.c should probably beGarrett Wollman1994-08-041-0/+3
| | | | | | | deleted, but I'll leave that up to PHK. Notes: svn path=/head/; revision=1846
* Reviewed by: phkPoul-Henning Kamp1994-07-2413-0/+1294
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