Revert "send-pack --keep: do not explode into loose objects on the receiving end."
[alt-git.git] / arm / sha1.h
blob3952646349cf9d033177e69ba9433652a378c0e9
1 /*
2 * SHA-1 implementation optimized for ARM
4 * Copyright: (C) 2005 by Nicolas Pitre <nico@cam.org>
5 * Created: September 17, 2005
6 */
8 #include <stdint.h>
10 typedef struct sha_context {
11 uint64_t len;
12 uint32_t hash[5];
13 unsigned char buffer[64];
14 } SHA_CTX;
16 void SHA1_Init(SHA_CTX *c);
17 void SHA1_Update(SHA_CTX *c, const void *p, unsigned long n);
18 void SHA1_Final(unsigned char *hash, SHA_CTX *c);