aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-03-12 16:05:02 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-03-12 16:05:02 +0000
commitddb1b85053da8405e661db762c59406da6cb8476 (patch)
treea123e10d895f24555d64c4a635383b62ee1b1f1e
parentcd2cd312b70e53b2095827d84c675b85cef4d2f6 (diff)
downloadbusybox-w32-ddb1b85053da8405e661db762c59406da6cb8476.tar.gz
busybox-w32-ddb1b85053da8405e661db762c59406da6cb8476.tar.bz2
busybox-w32-ddb1b85053da8405e661db762c59406da6cb8476.zip
add comment about sha testing
-rw-r--r--libbb/sha1.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/libbb/sha1.c b/libbb/sha1.c
index 1584e98cd..745ac693c 100644
--- a/libbb/sha1.c
+++ b/libbb/sha1.c
@@ -19,7 +19,13 @@
19 * 19 *
20 * SHA256 and SHA512 parts are: 20 * SHA256 and SHA512 parts are:
21 * Released into the Public Domain by Ulrich Drepper <drepper@redhat.com>. 21 * Released into the Public Domain by Ulrich Drepper <drepper@redhat.com>.
22 * TODO: shrink them. 22 * Shrank by Denys Vlasenko.
23 *
24 * ---------------------------------------------------------------------------
25 *
26 * The best way to test random blocksizes is to go to coreutils/md5_sha1_sum.c
27 * and replace "4096" with something like "2000 + time(NULL) % 2097",
28 * then rebuild and compare "shaNNNsum bigfile" results.
23 */ 29 */
24 30
25#include "libbb.h" 31#include "libbb.h"