svn commit: [25631] trunk/busybox/libbb

vda at busybox.net vda at busybox.net
Thu Mar 12 16:05:02 UTC 2009


Author: vda
Date: 2009-03-12 16:05:02 +0000 (Thu, 12 Mar 2009)
New Revision: 25631

Log:
add comment about sha testing



Modified:
   trunk/busybox/libbb/sha1.c


Changeset:
Modified: trunk/busybox/libbb/sha1.c
===================================================================
--- trunk/busybox/libbb/sha1.c	2009-03-12 15:40:27 UTC (rev 25630)
+++ trunk/busybox/libbb/sha1.c	2009-03-12 16:05:02 UTC (rev 25631)
@@ -19,7 +19,13 @@
  *
  * SHA256 and SHA512 parts are:
  * Released into the Public Domain by Ulrich Drepper <drepper at redhat.com>.
- * 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"



More information about the busybox-cvs mailing list