#
2ff63af9 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .h pattern Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
|
#
62cf53fd |
|
13-Dec-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
SPDX: some uses of the RSA-MD license.
|
#
8254c3c5 |
|
18-Oct-2016 |
Alan Somers <asomers@FreeBSD.org> |
Fix C++ includability of crypto headers with static array sizes C99 allows array function parameters to use the static keyword for their sizes. This tells the compiler that the parameter will have at least the specified size, and calling code will fail to compile if that guarantee is not met. However, this syntax is not legal in C++. This commit reverts r300824, which worked around the problem for sys/sys/md5.h only, and introduces a new macro: min_size(). min_size(x) can be used in headers as a static array size, but will still compile in C++ mode. Reviewed by: cem, ed MFC after: 4 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D8277
|
#
de13c242 |
|
17-Oct-2016 |
Ed Maste <emaste@FreeBSD.org> |
libmd: introduce functions that operate on an fd instead of filename Reviewed by: allanjude, cem MFC after: 2 months Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D8264
|
#
5f4ea90b |
|
26-May-2016 |
Conrad Meyer <cem@FreeBSD.org> |
Ifndef KERNEL the userspace-only routines in sys/md[45].h A follow-up to r300773. Nothing in the kernel uses those definitions, but apparently libmd includes the sys/md45 headers. Fix the build. Reported by: gjb Pointy-hat: cem Sponsored by: EMC / Isilon Storage Division
|
#
571ebf76 |
|
26-May-2016 |
Conrad Meyer <cem@FreeBSD.org> |
crypto routines: Hint minimum buffer sizes to the compiler Use the C99 'static' keyword to hint to the compiler IVs and output digest sizes. The keyword informs the compiler of the minimum valid size for a given array. Obviously not every pointer can be validated (i.e., the compiler can produce false negative but not false positive reports). No functional change. No ABI change. Sponsored by: EMC / Isilon Storage Division
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
b1955eec |
|
15-Mar-2006 |
Andre Oppermann <andre@FreeBSD.org> |
Add definitions for MD5_BLOCK_LENGTH, MD5_DIGEST_LENGTH and MD5_DIGEST_STRING_LENGTH. MFC after: 3 days
|
#
25a14196 |
|
17-Jan-2006 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Fix an 11 year old mistake: Let the hash functions take a void* instead of unsigned char* argument.
|
#
502a35d6 |
|
09-Feb-2005 |
Poul-Henning Kamp <phk@FreeBSD.org> |
MD5Pad() should never have been exposed.
|
#
60727d8b |
|
06-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
/* -> /*- for license, minor formatting changes
|
#
097b91c0 |
|
24-Jun-2002 |
Maxime Henrion <mux@FreeBSD.org> |
Oops, this should have been part of my previous commit. Somehow, it hasn't. Reviewed by: phk
|
#
789f12fe |
|
19-Mar-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Remove __P
|
#
8a24546c |
|
17-Mar-2001 |
Poul-Henning Kamp <phk@FreeBSD.org> |
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
|
#
664a31e4 |
|
28-Dec-1999 |
Peter Wemm <peter@FreeBSD.org> |
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.
|
#
c3aac50f |
|
27-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
#
934f5f33 |
|
29-Mar-1998 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Export MD5Transform in md5.c and remove a private version in random_machdep.c md5 is standard as a consequence of this.
|
#
c6bcf724 |
|
27-Mar-1998 |
Poul-Henning Kamp <phk@FreeBSD.org> |
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>
|
#
f7787644 |
|
24-Aug-1997 |
Joerg Wunsch <joerg@FreeBSD.org> |
Make the MD* header files C++-aware. Also, string arguments are supposed to be of type `const char *'. PR: 3291 Submitted by: dima@tejblum.dnttm.rssi.ru (Dmitrij Tejblum)
|
#
6875d254 |
|
22-Feb-1997 |
Peter Wemm <peter@FreeBSD.org> |
Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not ready for it yet.
|
#
1130b656 |
|
14-Jan-1997 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
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.
|
#
a4c3c477 |
|
22-Dec-1996 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Fixup for new location. This file came here by a repository copy.
|
#
40060a90 |
|
22-Oct-1996 |
Poul-Henning Kamp <phk@FreeBSD.org> |
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>
|
#
c60e2168 |
|
10-Dec-1995 |
Peter Wemm <peter@FreeBSD.org> |
Add a structure definition to the MD* Contexts, so that cvs can use the standard libmd version of MD5 instead of it's own seperate copy..
|
#
05f65b29 |
|
12-Jul-1995 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Change this to do what it should have done from the start. Add argument for buffer for output. Fix manuals.
|
#
4385de16 |
|
07-Nov-1994 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Added "const" to the arguments here and there.
|
#
c9502b53 |
|
23-Jul-1994 |
Poul-Henning Kamp <phk@FreeBSD.org> |
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.
|