Commit Graph

63 Commits

Author SHA1 Message Date
ru
4b0a48252c mdoc(7) police: use proper markup for function arguments. 2001-04-04 10:23:27 +00:00
ru
f85a17a1d7 MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
phk
f3af16b3ba 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
2001-03-17 10:00:50 +00:00
ru
fe2efd38b3 mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
phantom
2514e055d6 Introduce .Lb macro to libmd manpages 2000-04-22 16:11:30 +00:00
rgrimes
7e1486bf06 Replace beforeinstall target with new variables used by .mk system.
Reviewed by:	marcel, and make world
2000-01-14 07:57:47 +00:00
peter
4a06465a4e 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.
1999-12-29 05:07:58 +00:00
peter
e226894fa0 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ache
f66b27e3b4 add more MLINKS 1999-03-02 22:53:24 +00:00
wollman
5baa16887a Don't even attempt to build the assembly-language versions of RIPEMD160
and SHA-1 when OBJFORMAT is not ELF.  Add a warning to the man page
about how SHA-1 uses bswapl, which will trap on 80386es (and the kernel
should, but doesn't currently, emulate).
1999-03-01 02:39:45 +00:00
chuckr
cf96f19950 fix for incorrect specification of alignment (it worked for the elf
build, but broke while doing the aout legacy build).  Now using
.p2align instead of .align.  Fixes broken buildworld.

Submitted by:	John Polstra
Reviewed by:	John Polstra
1999-02-28 18:55:39 +00:00
mjacob
ee84be005f No, this isn't what I submitted. Seems like the patch I sent
was ignored and an incorrect hand edit was used instead.
1999-02-27 02:45:31 +00:00
wollman
fb43c0f117 Fixes for Alpha.
Submitted by:	mjacob
1999-02-26 20:06:46 +00:00
wollman
a231c18a71 Don't build the assembly for shared linkage, PIC isn't implemented. 1999-02-26 18:43:01 +00:00
wollman
318945369d Add Eric Young's RIPEMD160 implementation as well, in case SHA-1
should prove weak.  Also fix a few problems with the SHA-1 build.
1999-02-26 18:41:47 +00:00
wollman
52414b347e Fix bug in MDx test suite.
Add Eric Young's SHA-[01] implementations.
1999-02-26 04:25:01 +00:00
wollman
116953de02 Add a note about the insecurity of MD4 and potential vulnerability of
MD5 to similar attacks.
1999-02-11 20:31:49 +00:00
jdp
847ef2ce73 Build libmd shared for a.out too. Required for some PAM modules. 1998-11-12 04:08:10 +00:00
imp
e1bf841f1a $@ -> ${.TARGET} 1998-09-11 05:42:37 +00:00
jb
ad07d4a0af BINFORMAT -> OBJFORMAT ready for E-day. 1998-08-30 01:57:55 +00:00
phk
463e43d900 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>
1998-03-27 10:23:00 +00:00
bde
570fccf1a3 Don't use the beforedepend target. It was a no-op here except for
helping bsd.dep.mk break `make -jN depend'.
1998-03-19 15:27:08 +00:00
charnier
46f7bb5b5b .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq 1998-03-19 07:34:22 +00:00
peter
247813c4dd If not building a.out, still build a pic version of libmd. This allows
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.
1997-09-05 11:49:43 +00:00
joerg
88662ccfea 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)
1997-08-25 05:24:31 +00:00
bde
e8c3c558fc FIxed arg types (mostly missing consts) in synopsis. 1997-03-19 00:52:58 +00:00
peter
3447762204 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
jkh
9c0cd3f9df 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.
1997-01-14 07:20:47 +00:00
phk
9ad6ff260b Just pick up the real thing from <sys/md5.h> 1996-12-22 10:32:17 +00:00
phk
2a5914d630 Make this compile in the kernel too, major cosmetic cleanup. 1996-12-22 10:27:25 +00:00
bde
7e35783fbe Moved #include of <sys/types.h> earlier so that this compiles when
<stdio.h> doesn't (bogusly) include <sys/types.h>.

Cleaned up #includes.
1996-10-25 06:48:29 +00:00
phk
b74235fd9f Add #include <sys/types> 1996-10-22 16:28:56 +00:00
phk
61dbdd8c4a 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>
1996-10-22 16:27:47 +00:00
wollman
d8b2081c13 Use -mdoc macros properly.
Translate from Danglish into English.
Refer to the alogrithms as ``RSA Data Security MDX message digest'' as
required by the license.
1996-10-09 21:00:48 +00:00
peter
0a95f18e6f cmp -s || install -c ==> install -C, use a .for loop 1996-08-30 01:53:09 +00:00
mpp
d335e4c510 Some minor man page cleanup. 1996-08-23 20:52:53 +00:00
phk
9cd4b14f36 Fix a memory leak in MD[245]End()
Submitted by:	Ikuo Nakagawa <ikuo@isl.intec.co.jp>
PR:	misc/1424
1996-07-24 20:55:38 +00:00
jdp
66807d2413 Correct two errors in the manual page. 1996-05-28 18:57:31 +00:00
phk
1ca1f371d5 Don't install mdX.3, it's the template used to build the other pages. 1996-02-09 22:44:44 +00:00
phk
9d290362f0 Bill was a little to fast here... 1996-02-09 20:57:53 +00:00
mpp
1e4a679a26 Add some missing MLINKS, correct some cross references, correct some
file locations and some minor formatting/style problems.
1996-02-09 16:20:10 +00:00
mpp
bd901d38da Added some missing MLINKS for section 3 man pages.
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.
1996-02-09 00:45:45 +00:00
peter
daedda83da 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..
1995-12-11 02:18:22 +00:00
dg
86ad4d6b6c Back out that last change; we don't build this shared. 1995-09-06 14:34:50 +00:00
dg
31d1dfb7a4 Bumped shared lib rev to 2.1. 1995-09-06 14:27:07 +00:00
bde
0a591c5133 Change install' to ${INSTALL}' so that default install flags can be
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.
1995-08-06 12:24:38 +00:00
phk
a81343c8cc Change this to do what it should have done from the start.
Add argument for buffer for output.
Fix manuals.
1995-07-12 09:13:49 +00:00
rgrimes
1c444a9f7e Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
wollman
e7b7992d0b No sense in copying the hex[] array in each call to MDXEnd(), it's a
constant.  (There probably ought to be a single libc version of it.)
1995-04-27 16:05:51 +00:00
phk
3879062236 Clean a bunch of -Wall warnings. 1995-02-24 08:51:34 +00:00