summaryrefslogtreecommitdiffstats
path: root/sys/kern/md5c.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix a panic on sparc64 related to inproper aligment - we cannot assume,pjd2006-03-301-7/+13
| | | | | | that 'unsigned char *' argument is 4 byte aligned. MFC after: 3 days
* Fix an 11 year old mistake: Let the hash functions take a void* insteadphk2006-01-171-2/+3
| | | | of unsigned char* argument.
* MD5Pad() should never have been exposed.phk2005-02-101-3/+2
|
* /* -> /*- for copyright notices, minor format tweaks as necessaryimp2005-01-061-1/+1
|
* Revert stuff which accidentally ended up in the previous commit.phk2003-07-221-1/+0
|
* Don't attempt to inline large functions mb_alloc() and mb_free(),phk2003-07-221-0/+1
| | | | | | it more than doubles the text size of this file. GCC has wisely ignored us on this previously
* Use le32dec() instead of le32toh() because we are not guaranteed to havephk2003-05-051-1/+1
| | | | a word aligned input.
* We have memset() and memcpy() in the kernel now, so we don't need tophk2002-10-201-5/+0
| | | | | | #define them to bzero and bcopy. Spotted by: FlexeLint
* Bring sys/kern/md5c.c in sync with the userland version.mux2002-06-241-26/+23
| | | | | | | | Add a comment so that people don't forget to keep the version in src/lib/libmd/md5c.c in sync with this one. This fixes a warning on sparc64. Reviewed by: phk
* Add ia64 support.dfr2000-09-291-1/+1
|
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-2/+2
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* This commit fixes various 64bit portability problems required fordfr1998-06-071-2/+2
| | | | | | | | | | FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time.
* Oops, the previous commit should have changed `i386' to `__i386__',bde1998-05-011-3/+3
| | | | not `__i386'.
* Support compiling with `gcc -ansi'.bde1998-04-151-3/+4
|
* Export MD5Transform in md5.c and remove a private version in random_machdep.cphk1998-03-291-3/+2
| | | | md5 is standard as a consequence of this.
* Split the padding out into a separate function.phk1998-03-271-5/+17
| | | | | | | | Synchronize the kernel and libmd versions of md5c.c PR: misc/6127 Reviewed by: phk Submitted by: Ari Suutari <ari@suutari.iki.fi>
* Add const to a couple of casts to silence some of the warnings Brucephk1997-10-211-3/+3
| | | | has let loose on us.
* Removed unused #includes.bde1997-08-021-2/+1
|
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Make this compile in the kernel too, major cosmetic cleanup.phk1996-12-221-260/+277
|
* close bin/1648 libmd not 64bit safe.phk1996-10-221-3/+4
| | | | | | if something fails to compile now, you need to add #include <sys/types.h> Partially Submitted by: Jason Thorpe <thorpej@nas.nasa.gov>
* Clean a bunch of -Wall warnings.phk1995-02-241-0/+1
|
* Speed md5 up around 30% by shorting out a couple of cumbersomephk1995-02-211-36/+38
| | | | memcpy equivalent functions.
* Added "const" to the arguments here and there.phk1994-11-071-5/+5
|
* Reviewed by: phkphk1994-07-241-0/+310
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.
OpenPOWER on IntegriCloud