Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MFC r300903: Implement SHA-512 truncated (224 and 256 bits) | avg | 2017-02-27 | 1 | -0/+16 |
| | |||||
* | MFC r292782: Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c | avg | 2017-02-27 | 1 | -0/+17 |
| | | | | | | | cperciva's libmd implementation is 5-30% faster The same was done for SHA256 previously in r263218 Approved by: secteam | ||||
* | MFC r280716,280767,280914: | delphij | 2015-04-14 | 1 | -17/+17 |
| | | | | | | | - Correct type for checkAgainst. - Staticify flags that are not used outside the file scope. - Fix warnings. - Constify parameters. | ||||
* | Teach md5(1) about sha512. | delphij | 2012-08-01 | 1 | -2/+20 |
| | | | | MFC after: 1 month | ||||
* | Document the -c option in --help output | eadler | 2012-05-09 | 1 | -1/+1 |
| | | | | | | | PR: bin/167463 Submitted by: "Bryan Drewery" <bryan@shatow.net> Approved by: cperciva MFC after: 3 days | ||||
* | - add "check" option to MD5 and friends to compare files against known hash. | eadler | 2011-11-13 | 1 | -7/+31 |
| | | | | | | | | | PR: bin/146541 Submitted by: eadler Reviewed by: jhell@dataix.net Approved by: secteam (cperciva) Approved by: cperciva MFC after: 3 weeks | ||||
* | Use RUSAGE_SELF for the current process instead of hardcoded value | kevlo | 2008-09-02 | 1 | -2/+2 |
| | |||||
* | style(9) (verifed no-change in .o's) | obrien | 2008-02-07 | 1 | -14/+13 |
| | |||||
* | Fix an 11 year old mistake: Let the hash functions take a void* instead | phk | 2006-01-17 | 1 | -1/+1 |
| | | | | of unsigned char* argument. | ||||
* | In light of the recent 2^69 operation collision-finding attack on SHA1, | cperciva | 2005-03-09 | 1 | -2/+20 |
| | | | | | | | | add support for SHA256. Tested on: i386, sparc64 Tested using: NIST test vectors, built-in tests X-MFC-after: 5.4-RELEASE | ||||
* | fix handling of an unknown progeam name | eik | 2004-06-22 | 1 | -1/+1 |
| | | | | | Noticed by: Joshua Goodall <joshua@roughtrade.net> Approved by: ru | ||||
* | Add sha1 and rmd160 checksum tools. | eik | 2004-06-11 | 1 | -47/+134 |
| | | | | | | | | 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 | ||||
* | Set exit code to 1 in case at least one of the input files | se | 2003-11-02 | 1 | -2/+9 |
| | | | | could not be opened. | ||||
* | Use __FBSDID() to quiet GCC 3.3 warnings. | obrien | 2003-05-03 | 1 | -4/+2 |
| | |||||
* | Improvements to md5.c so that it uses getrusage to time | silby | 2003-02-14 | 1 | -8/+12 |
| | | | | benchmarks, and prints out results in float format. | ||||
* | Change the -x option so that it does an actual REAL test of | silby | 2003-01-26 | 1 | -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! | ||||
* | Fix | phk | 2001-12-19 | 1 | -1/+3 |
| | | | | | | | md5 -q -s foo to not expect input on stdin after hashing the string. MFC after: 1 week | ||||
* | Add missing cast for improper time_t use in computation. | dillon | 2001-10-28 | 1 | -1/+1 |
| | |||||
* | Fix include ordering breakage from rev. 1.23. | des | 2001-06-29 | 1 | -2/+2 |
| | | | | Please-read-style(9): dd | ||||
* | Only checksum stdin if nothing has been checksummed yet. | ru | 2001-06-25 | 1 | -2/+2 |
| | | | | PR: bin/28386 | ||||
* | Include missing header files which define functions for which gcc has | dd | 2001-06-24 | 1 | -0/+1 |
| | | | | builtins (e.g., exit, strcmp). | ||||
* | Fix argument processing. | ru | 2001-05-22 | 1 | -51/+45 |
| | | | | | | | Make this compile with WARNS=2. PR: bin/27524 MFC after: 3 days | ||||
* | Update usage(). | obrien | 2000-11-08 | 1 | -1/+1 |
| | | | | Submitted by: nectar | ||||
* | Add -q quite mode. | obrien | 1999-12-04 | 1 | -3/+11 |
| | |||||
* | Make `-r -s' also match the BSDI output. | obrien | 1999-11-11 | 1 | -1/+1 |
| | |||||
* | Change the "-r" output format to match BSDI's default output format. | obrien | 1999-11-09 | 1 | -2/+2 |
| | |||||
* | Add a new "-r" (right) option that reverses the order a filename and the | obrien | 1999-11-07 | 1 | -3/+15 |
| | | | | hash is printed. This aids visual diffs. | ||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 1 | -1/+1 |
| | |||||
* | Since we are using strlen() let's assign it to the correct type and | billf | 1999-07-21 | 1 | -2/+3 |
| | | | | include the proper header. | ||||
* | Fixes for -t option: | kris | 1999-05-01 | 1 | -3/+4 |
| | | | | | | | | | | * Don't buffer "Digesting..." output - flush it immediately. * Increase the number of repetitions by a factor of 100, and the block size by a factor of 10 so as to give meaningful results on modern machines (108 seconds on my P120, and ~26 seconds on a P-II 350). PR: bin/10604 Submitted by: Stanislav Shalunov <shalunov@lynxhub.lz.att.com> | ||||
* | Correct use of .Nm. Spelling. Add rcsid, remove unused #includes, use err(3). | charnier | 1998-07-06 | 1 | -12/+10 |
| | |||||
* | Fix a few style nits from previous commit. | steve | 1997-12-29 | 1 | -11/+10 |
| | | | | Submitted by: Bruce Evans <bde@zeta.org.au> | ||||
* | Get md5(1) to use getopt(3). Also some minor -Wall cleaning | steve | 1997-12-29 | 1 | -18/+41 |
| | | | | | | | while here. PR: 5387 Submitted by: Matthew Hunt <mph@pobox.com> | ||||
* | Revert $FreeBSD$ to $Id$ | peter | 1997-02-22 | 1 | -1/+1 |
| | |||||
* | Trivial fix for braino. | phk | 1997-01-16 | 1 | -1/+1 |
| | | | | | Reviewed by: phk Submitted by: Martin Ibert <mib@ppe.bb-data.de> | ||||
* | Make the long-awaited change from $Id$ to $FreeBSD$ | jkh | 1997-01-14 | 1 | -1/+1 |
| | | | | | | | | 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. | ||||
* | Moved #include of <sys/types.h> earlier so that this compiles when | bde | 1996-10-25 | 1 | -3/+6 |
| | | | | | | <stdio.h> doesn't (bogusly) include <sys/types.h>. Cleaned up #includes. | ||||
* | Fix to match new API. Fixes memory leak, faster. | phk | 1995-07-12 | 1 | -6/+9 |
| | |||||
* | Remove trailing whitespace. | rgrimes | 1995-05-30 | 1 | -2/+2 |
| | |||||
* | oops. | phk | 1995-02-26 | 1 | -4/+6 |
| | |||||
* | Add a '-p' option to md5. This will save some time in generation of the | phk | 1995-02-26 | 1 | -6/+11 |
| | | | | ctm deltas. | ||||
* | Clean this file up so it is readable... | phk | 1995-02-20 | 1 | -188/+121 |
| | |||||
* | Incorproate version of md5 placed into public domain by RSA. | pst | 1994-10-29 | 1 | -0/+231 |