From: Denis Vlasenko Date: Thu, 12 Mar 2009 16:05:02 +0000 (-0000) Subject: add comment about sha testing X-Git-Tag: 1_14_0~251 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ddb1b85053da8405e661db762c59406da6cb8476;p=oweals%2Fbusybox.git add comment about sha testing --- 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 @@ * * SHA256 and SHA512 parts are: * Released into the Public Domain by Ulrich Drepper . - * TODO: shrink them. + * Shrank by Denys Vlasenko. + * + * --------------------------------------------------------------------------- + * + * The best way to test random blocksizes is to go to coreutils/md5_sha1_sum.c + * and replace "4096" with something like "2000 + time(NULL) % 2097", + * then rebuild and compare "shaNNNsum bigfile" results. */ #include "libbb.h"