diff options
author | Nicolas Pitre <nico@cam.org> | 2009-08-17 20:09:56 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-08-18 14:19:40 -0700 |
commit | 30ae47b4cc19dce42f51b4fa378d315a71b08957 (patch) | |
tree | 5d0bed0e392fdc912422c3bc7026d35d2229b0ed /arm/sha1.h | |
parent | e9c5dcd1313dd4e2f606419ce3d228c99fae2c40 (diff) | |
download | git-30ae47b4cc19dce42f51b4fa378d315a71b08957.tar.gz |
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 'arm/sha1.h')
-rw-r--r-- | arm/sha1.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/arm/sha1.h b/arm/sha1.h deleted file mode 100644 index b61b618486..0000000000 --- a/arm/sha1.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * SHA-1 implementation optimized for ARM - * - * Copyright: (C) 2005 by Nicolas Pitre <nico@cam.org> - * Created: September 17, 2005 - */ - -#include <stdint.h> - -typedef struct { - uint64_t len; - uint32_t hash[5]; - unsigned char buffer[64]; -} arm_SHA_CTX; - -void arm_SHA1_Init(arm_SHA_CTX *c); -void arm_SHA1_Update(arm_SHA_CTX *c, const void *p, unsigned long n); -void arm_SHA1_Final(unsigned char *hash, arm_SHA_CTX *c); - -#define git_SHA_CTX arm_SHA_CTX -#define git_SHA1_Init arm_SHA1_Init -#define git_SHA1_Update arm_SHA1_Update -#define git_SHA1_Final arm_SHA1_Final |