summaryrefslogtreecommitdiff
path: root/lib/libmd
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/6.0.0_cvscvs2svn2005-11-0324-24/+24
| | | | | | 'RELENG_6_0_0_RELEASE'. This commit was manufactured to restore the state of the 6.0-RELEASE image.
* MFC: lib/libmd/sha256.3 1.3Pawel Jakub Dawidek2005-10-081-4/+4
| | | | | | | | | | | Correct type. Approved by: re (scottl) Requested by: delphij OK'ed by: cperciva Notes: svn path=/stable/6/; revision=151106
* Removed redundnt empty line.Ruslan Ermilov2005-06-161-1/+0
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=147444
* Markup fixes.Ruslan Ermilov2005-06-161-1/+2
| | | | | | | Approved by: re Notes: svn path=/head/; revision=147434
* In light of the recent 2^69 operation collision-finding attack on SHA1,Colin Percival2005-03-095-6/+522
| | | | | | | | | | | add support for SHA256. Tested on: i386, sparc64 Tested using: NIST test vectors, built-in tests X-MFC-after: 5.4-RELEASE Notes: svn path=/head/; revision=143334
* The third parameter to SHA_Update and SHA1_Update is a "size_t", not aColin Percival2005-03-091-2/+2
| | | | | | | "unsigned int". Notes: svn path=/head/; revision=143326
* Expand contractions.Ruslan Ermilov2005-02-151-1/+1
| | | | Notes: svn path=/head/; revision=141946
* Expand *n't contractions.Ruslan Ermilov2005-02-133-7/+7
| | | | Notes: svn path=/head/; revision=141846
* Sort sections.Ruslan Ermilov2005-01-203-9/+9
| | | | Notes: svn path=/head/; revision=140505
* Eliminate double whitespace.Ruslan Ermilov2004-07-032-2/+2
| | | | Notes: svn path=/head/; revision=131539
* Backed out rev.1.6 and subsequent copying of it (bogus addition ofBruce Evans2004-02-261-6/+6
| | | | | | | | | | | | | | | | -static to CFLAGS). It just turned rev.1.5 into an obfuscated no-op. As explained in the log for rev.1.5, testing should be done in the host environment but there is a problem in cross-compilation environments. As not explained in the log for rev.1.6, there was apparently a practical problem with cross-compiling (makeworld should have set -static in LDFLAGS but apparently didn't). Cross-compilation was especially complicated because the relevant programs are test programs that were run at beforeinstall time -- dynamic libraries might or might not exist depending on the build options. The complications became moot in rev.1.8 when beforeinstall was renamed "test". Notes: svn path=/head/; revision=126267
* Assorted mdoc(7) fixes:Hiten Pandya2003-10-093-20/+41
| | | | | | | | | | | | | - fix hard sentence breaks - sprinkle a few .Vt's where neccessary - remove incorrect use of `\-' - proper quoting using .Dq, instead of manual ``...'' Approved by: des@ (mentor) Reviewed by: ru@ Notes: svn path=/head/; revision=120957
* style.Makefile(5)David E. O'Brien2003-08-181-1/+1
| | | | Notes: svn path=/head/; revision=119071
* Stage 3 of dynamic root support. Make all the libraries needed to runGordon Tetlow2003-08-171-0/+1
| | | | | | | | | binaries in /bin and /sbin installed in /lib. Only the versioned files reside in /lib, the .so symlink continues to live /usr/lib so the toolchain doesn't need to be modified. Notes: svn path=/head/; revision=119017
* Rename local variables to not mask global names of same name. ThisMark Murray2003-06-053-28/+29
| | | | | | | fixes lots of lint(1) warnings. Notes: svn path=/head/; revision=115872
* The .Fn functionPhilippe Charnier2003-03-242-9/+18
| | | | Notes: svn path=/head/; revision=112541
* Initiate deorbit burn for the i386-only a.out related support. Moves arePeter Wemm2002-09-171-2/+0
| | | | | | | | | | | | | | | | | | under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha Notes: svn path=/head/; revision=103436
* Get this file closer to style(9).Poul-Henning Kamp2002-09-081-51/+55
| | | | Notes: svn path=/head/; revision=103098
* Fix a bug where calling MD5File(3) with a zero-length file generated anBruce A. Mah2002-09-061-0/+1
| | | | | | | | | error, due to an uninitialized variable. Reviewed by: phk, archie Notes: svn path=/head/; revision=103038
* Add missing const's.Maxime Henrion2002-06-241-1/+1
| | | | Notes: svn path=/head/; revision=98753
* Improve the handling of Encode and Decode operations in MD5.Poul-Henning Kamp2002-06-221-22/+15
| | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=98615
* Don't build manuals at inappropriate time.Ruslan Ermilov2002-04-101-13/+5
| | | | | | | Collapse generation of md[245].3 manpages. Notes: svn path=/head/; revision=94367
* Modernize my email address.Poul-Henning Kamp2002-03-253-4/+4
| | | | Notes: svn path=/head/; revision=93151
* Modernize my email address.Poul-Henning Kamp2002-03-251-1/+1
| | | | Notes: svn path=/head/; revision=93149
* Remove __P() usage.David E. O'Brien2002-03-211-1/+1
| | | | Notes: svn path=/head/; revision=92917
* Remove 'register' keyword.David E. O'Brien2002-03-213-15/+15
| | | | Notes: svn path=/head/; revision=92913
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-013-6/+6
| | | | Notes: svn path=/head/; revision=84306
* add __FBSDID()s to libmdMatthew Dillon2001-09-3010-14/+30
| | | | Notes: svn path=/head/; revision=84211
* mdoc(7) police:Ruslan Ermilov2001-08-071-1/+2
| | | | | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block. Notes: svn path=/head/; revision=81251
* Remove whitespace at EOL.Dima Dorfman2001-07-153-13/+13
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-103-3/+3
| | | | Notes: svn path=/head/; revision=79531
* mdoc(7) police: use proper markup for function arguments.Ruslan Ermilov2001-04-043-18/+18
| | | | Notes: svn path=/head/; revision=75161
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+1
| | | | Notes: svn path=/head/; revision=74870
* Add a new entrypoint to the hashes in libmd:Poul-Henning Kamp2001-03-1710-14/+114
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=74385
* mdoc(7) police: removed history info from the .Os FreeBSD call.Ruslan Ermilov2000-12-143-4/+3
| | | | Notes: svn path=/head/; revision=70015
* Introduce .Lb macro to libmd manpagesAlexey Zelkin2000-04-223-0/+6
| | | | Notes: svn path=/head/; revision=59512
* Replace beforeinstall target with new variables used by .mk system.Rodney W. Grimes2000-01-141-6/+2
| | | | | | | Reviewed by: marcel, and make world Notes: svn path=/head/; revision=55955
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"Peter Wemm1999-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. Notes: svn path=/head/; revision=55206
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2819-19/+19
| | | | Notes: svn path=/head/; revision=50476
* add more MLINKSAndrey A. Chernov1999-03-021-1/+8
| | | | Notes: svn path=/head/; revision=44437
* Don't even attempt to build the assembly-language versions of RIPEMD160Garrett Wollman1999-03-012-2/+16
| | | | | | | | | 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). Notes: svn path=/head/; revision=44356
* fix for incorrect specification of alignment (it worked for the elfChuck Robey1999-02-282-4/+4
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=44332
* No, this isn't what I submitted. Seems like the patch I sentMatt Jacob1999-02-271-2/+2
| | | | | | | was ignored and an incorrect hand edit was used instead. Notes: svn path=/head/; revision=44310
* Fixes for Alpha.Garrett Wollman1999-02-262-3/+4
| | | | | | | Submitted by: mjacob Notes: svn path=/head/; revision=44304
* Don't build the assembly for shared linkage, PIC isn't implemented.Garrett Wollman1999-02-261-0/+2
| | | | Notes: svn path=/head/; revision=44302
* Add Eric Young's RIPEMD160 implementation as well, in case SHA-1Garrett Wollman1999-02-2611-15/+3468
| | | | | | | should prove weak. Also fix a few problems with the SHA-1 build. Notes: svn path=/head/; revision=44301
* Fix bug in MDx test suite.Garrett Wollman1999-02-2611-18/+3503
| | | | | | | Add Eric Young's SHA-[01] implementations. Notes: svn path=/head/; revision=44290
* Add a note about the insecurity of MD4 and potential vulnerability ofGarrett Wollman1999-02-111-4/+24
| | | | | | | MD5 to similar attacks. Notes: svn path=/head/; revision=43911
* Build libmd shared for a.out too. Required for some PAM modules.John Polstra1998-11-121-4/+1
| | | | Notes: svn path=/head/; revision=41106
* $@ -> ${.TARGET}Warner Losh1998-09-111-34/+34
| | | | Notes: svn path=/head/; revision=39063