Mercurial > hg > toybox
comparison toys/other/sha1sum.c @ 656:6df4ccc0acbe
Regularize command headers, update links to standards documents.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 25 Aug 2012 18:08:51 -0500 |
parents | 2986aa63a021 |
children | b88859043af2 |
comparison
equal
deleted
inserted
replaced
655:e235d7d575e5 | 656:6df4ccc0acbe |
---|---|
4 * | 4 * |
5 * Copyright 2007 Rob Landley <rob@landley.net> | 5 * Copyright 2007 Rob Landley <rob@landley.net> |
6 * | 6 * |
7 * Based on the public domain SHA-1 in C by Steve Reid <steve@edmweb.com> | 7 * Based on the public domain SHA-1 in C by Steve Reid <steve@edmweb.com> |
8 * from http://www.mirrors.wiretapped.net/security/cryptography/hashes/sha1/ | 8 * from http://www.mirrors.wiretapped.net/security/cryptography/hashes/sha1/ |
9 * | |
10 * Not in SUSv3. | |
11 | 9 |
12 USE_SHA1SUM(NEWTOY(sha1sum, NULL, TOYFLAG_USR|TOYFLAG_BIN)) | 10 USE_SHA1SUM(NEWTOY(sha1sum, NULL, TOYFLAG_USR|TOYFLAG_BIN)) |
13 | 11 |
14 config SHA1SUM | 12 config SHA1SUM |
15 bool "sha1sum" | 13 bool "sha1sum" |