History log of /freebsd-10.1-release/lib/libmd/md5c.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 154479 17-Jan-2006 phk

Fix an 11 year old mistake: Let the hash functions take a void* instead
of unsigned char* argument.


# 115872 05-Jun-2003 markm

Rename local variables to not mask global names of same name. This
fixes lots of lint(1) warnings.


# 98753 24-Jun-2002 mux

Add missing const's.


# 98615 22-Jun-2002 phk

Improve the handling of Encode and Decode operations in MD5.

Use memcpy for all little-endian architectures, sys/kern/md5c.c indicates
this should be safe for all currently supported LE archs.

Change the Encode and Decode functions for other archs to use le32toh()
and htole32() functions instead of explicit byte shuffling.

On sparc64 this gives md5(1) about 8% speed increase.


# 92917 21-Mar-2002 obrien

Remove __P() usage.


# 84211 30-Sep-2001 dillon

add __FBSDID()s to libmd


# 55206 29-Dec-1999 peter

Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"
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.


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 34909 27-Mar-1998 phk

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>


# 22993 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

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.


# 20785 22-Dec-1996 phk

Make this compile in the kernel too, major cosmetic cleanup.


# 19099 22-Oct-1996 phk

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>


# 6684 24-Feb-1995 phk

Clean a bunch of -Wall warnings.


# 6596 21-Feb-1995 phk

Speed md5 up around 30% by shorting out a couple of cumbersome
memcpy equivalent functions.


# 4245 07-Nov-1994 phk

Added "const" to the arguments here and there.


# 1803 24-Jul-1994 phk

This commit was generated by cvs2svn to compensate for changes in r1802,
which included commits to RCS files with non-trunk default branches.


# 1802 24-Jul-1994 phk

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.