2 * Based on the Mozilla SHA1 (see mozilla-sha1/sha1.h),
3 * optimized to do word accesses rather than byte accesses,
4 * and to avoid unnecessary copies into the context array.
10 unsigned long long size
;
13 void blk_SHA1_Init(blk_SHA_CTX
*ctx
);
14 void blk_SHA1_Update(blk_SHA_CTX
*ctx
, const void *dataIn
, unsigned long len
);
15 void blk_SHA1_Final(unsigned char hashout
[20], blk_SHA_CTX
*ctx
);
17 #define git_SHA_CTX blk_SHA_CTX
18 #define git_SHA1_Init blk_SHA1_Init
19 #define git_SHA1_Update blk_SHA1_Update
20 #define git_SHA1_Final blk_SHA1_Final