summaryrefslogtreecommitdiff
path: root/block-sha1
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2009-08-18 00:09:56 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-08-18 21:19:40 (GMT)
commit30ae47b4cc19dce42f51b4fa378d315a71b08957 (patch)
tree5d0bed0e392fdc912422c3bc7026d35d2229b0ed /block-sha1
parente9c5dcd1313dd4e2f606419ce3d228c99fae2c40 (diff)
downloadgit-30ae47b4cc19dce42f51b4fa378d315a71b08957.zip
git-30ae47b4cc19dce42f51b4fa378d315a71b08957.tar.gz
git-30ae47b4cc19dce42f51b4fa378d315a71b08957.tar.bz2
remove ARM and Mozilla SHA1 implementations
They are both slower than the new BLK_SHA1 implementation, so it is pointless to keep them around. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'block-sha1')
-rw-r--r--block-sha1/sha1.c6
-rw-r--r--block-sha1/sha1.h6
2 files changed, 8 insertions, 4 deletions
diff --git a/block-sha1/sha1.c b/block-sha1/sha1.c
index 92d9121..d893475 100644
--- a/block-sha1/sha1.c
+++ b/block-sha1/sha1.c
@@ -1,7 +1,9 @@
/*
- * Based on the Mozilla SHA1 (see mozilla-sha1/sha1.c),
- * optimized to do word accesses rather than byte accesses,
+ * SHA1 routine optimized to do word accesses rather than byte accesses,
* and to avoid unnecessary copies into the context array.
+ *
+ * This was initially based on the Mozilla SHA1 implementation, although
+ * none of the original Mozilla code remains.
*/
/* this is only to get definitions for memcpy(), ntohl() and htonl() */
diff --git a/block-sha1/sha1.h b/block-sha1/sha1.h
index 81abfd4..b864df6 100644
--- a/block-sha1/sha1.h
+++ b/block-sha1/sha1.h
@@ -1,7 +1,9 @@
/*
- * Based on the Mozilla SHA1 (see mozilla-sha1/sha1.h),
- * optimized to do word accesses rather than byte accesses,
+ * SHA1 routine optimized to do word accesses rather than byte accesses,
* and to avoid unnecessary copies into the context array.
+ *
+ * This was initially based on the Mozilla SHA1 implementation, although
+ * none of the original Mozilla code remains.
*/
typedef struct {