summaryrefslogtreecommitdiffstats
path: root/sbin/md5
Commit message (Collapse)AuthorAgeFilesLines
* Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.callanjude2015-12-273-4/+29
| | | | | | | | | | | | | | | | | | cperciva's libmd implementation is 5-30% faster The same was done for SHA256 previously in r263218 cperciva's implementation was lacking SHA-384 which I implemented, validated against OpenSSL and the NIST documentation Extend sbin/md5 to create sha384(1) Chase dependancies on sys/crypto/sha2/sha2.{c,h} and replace them with sha512{c.c,.h} Reviewed by: cperciva, des, delphij Approved by: secteam, bapt (mentor) MFC after: 2 weeks Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3929
* Add META_MODE support.sjg2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-272-22/+18
| |\ | |/ |/|
| * Merge head from 7/28sjg2014-08-191-8/+10
| |\
| * | Updated dependenciessjg2014-05-161-1/+0
| | |
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Merge from headsjg2013-09-051-0/+1
| |\ \
| * | | Updated dependenciessjg2013-03-111-0/+1
| | | |
| * | | Updated dependenciessjg2013-02-161-2/+0
| | | |
| | | |
| | \ \
| *-. \ \ Sync from headsjg2012-11-043-10/+36
| |\ \ \ \
| * | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+20
| | |/ / / | |/| | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | Constify.delphij2015-03-311-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | Suggested by: rdivacky MFC after: 2 weeks
* | | | | Fix remaining warnings.delphij2015-03-272-5/+2
| | | | | | | | | | | | | | | | | | | | MFC after: 2 weeks
* | | | | - Correct type for checkAgainst.delphij2015-03-261-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Staticify flags that are not used outside the file scope. PR: bin/193471 Submitted by: Robert Sprowson <webpages sprow.co.uk> MFC after: 2 weeks
* | | | | Convert sbin/ to LIBADDbapt2014-11-251-2/+1
| |_|_|/ |/| | | | | | | | | | | Reduce overlinking
* | | | use .Mt to mark up email addresses consistently (part1)bapt2014-06-201-1/+1
| | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
* | | | Assorted updates to md5.1bjk2014-05-181-7/+9
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that the -c argument's parameter is compared against the digest of the file, not the file. [1] Update the "current time" parentheticals for notes about reversing and colliding the hash functions. [1] Some general mdoc updates. PR: docs/188043 [1] Submitted by: Jamie Landeg-Jones [1] Approved by: hrs (mentor) MFC after: 1 week
* | | Add the Clang specific -Wmissing-variable-declarations to WARNS=6.ed2013-04-191-0/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | This compiler flag enforces that that people either mark variables static or use an external declarations for the variable, similar to how -Wmissing-prototypes works for functions. Due to the fact that Yacc/Lex generate code that cannot trivially be changed to not warn because of this (lots of yy* variables), add a NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this specific compiler warning. Announced on: toolchain@
* | Teach md5(1) about sha512.delphij2012-08-013-10/+36
|/ | | | MFC after: 1 month
* General mdoc(7) and typo fixes.gjb2012-05-101-1/+1
| | | | | | PR: 167696 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* Document the -c option in --help outputeadler2012-05-091-1/+1
| | | | | | | PR: bin/167463 Submitted by: "Bryan Drewery" <bryan@shatow.net> Approved by: cperciva MFC after: 3 days
* - new sentence should start on new line.eadler2011-11-131-2/+2
| | | | | | PR: bin/146541 Submitted by: bjk Approved by: bjk
* - add "check" option to MD5 and friends to compare files against known hash.eadler2011-11-132-8/+40
| | | | | | | | | PR: bin/146541 Submitted by: eadler Reviewed by: jhell@dataix.net Approved by: secteam (cperciva) Approved by: cperciva MFC after: 3 weeks
* Switch the default WARNS level for sbin/ to 6.ru2009-10-191-1/+0
| | | | Submitted by: Ulrich Spörlein
* Minor markup fix for the r186836 update.simon2009-01-061-1/+2
|
* Strengthen some of the language concerning attacks on MD5, in light of thecperciva2009-01-061-8/+16
| | | | | | | | recent demonstration of a forged SSL certificate. Add text pointing out that SHA-1 is at least theoretically broken. Add a recommendation that new applications use SHA-256. MFC after: 1 month
* Bring a paragraph in this manual page a bit closer to the present date.trhodes2008-09-071-2/+2
| | | | Discussed with: des
* Use RUSAGE_SELF for the current process instead of hardcoded valuekevlo2008-09-021-2/+2
|
* style(9) (verifed no-change in .o's)obrien2008-02-071-14/+13
|
* Fix an 11 year old mistake: Let the hash functions take a void* insteadphk2006-01-171-1/+1
| | | | of unsigned char* argument.
* Belatedly update the md5(1) man page to reflect the addition of sha256.cperciva2005-03-101-6/+11
|
* In light of the recent 2^69 operation collision-finding attack on SHA1,cperciva2005-03-092-4/+24
| | | | | | | | add support for SHA256. Tested on: i386, sparc64 Tested using: NIST test vectors, built-in tests X-MFC-after: 5.4-RELEASE
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* mdoc(7) fixes.ru2004-07-071-1/+1
|
* fix handling of an unknown progeam nameeik2004-06-221-1/+1
| | | | | Noticed by: Joshua Goodall <joshua@roughtrade.net> Approved by: ru
* Add sha1 and rmd160 checksum tools.eik2004-06-113-67/+206
| | | | | | | | Since the algorithms are already supported in libmd, the size increase is small when a dynamic root is used. Approved by: joerg, ru MFC after: 2 weeks
* Assorted markup, grammar, and spelling fixes.ru2004-05-171-1/+2
|
* Fixed style of DPADD and LDADD assignments as per style.Makefile(5).ru2004-02-051-2/+2
|
* Set exit code to 1 in case at least one of the input filesse2003-11-022-2/+13
| | | | could not be opened.
* Use __FBSDID() to quiet GCC 3.3 warnings.obrien2003-05-031-4/+2
|
* Improvements to md5.c so that it uses getrusage to timesilby2003-02-141-8/+12
| | | | benchmarks, and prints out results in float format.
* Change the -x option so that it does an actual REAL test ofsilby2003-01-261-11/+35
| | | | | | the correctness of this program. Previously, it printed out the MD5 values of some test strings, but did not tell you if they were correct or not!
* Use `The .Nm utility'charnier2002-04-191-2/+3
|
* Fixphk2001-12-191-1/+3
| | | | | | | md5 -q -s foo to not expect input on stdin after hashing the string. MFC after: 1 week
* Default to WARNS=2.obrien2001-12-041-2/+0
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Add missing cast for improper time_t use in computation.dillon2001-10-281-1/+1
|
* mdoc(7) police: removed hard sentence breaks.ru2001-09-041-6/+14
|
* Mention collision attacks on MD5. From the md5(3) man page.murray2001-09-041-0/+6
| | | | | | PR: docs/14158 Reviewed by: kris Submitted by: Eric Frias <efrias@sg505.net>
* mdoc(7) police:ru2001-08-071-1/+1
| | | | | | | 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.
OpenPOWER on IntegriCloud