]>
git.ipfire.org Git - thirdparty/git.git/blob - compat/sha1-chunked.c
3 int git_SHA1_Update_Chunked(platform_SHA_CTX
*c
, const void *data
, size_t len
)
7 const char *cdata
= (const char*)data
;
11 if (nr
> SHA1_MAX_BLOCK_SIZE
)
12 nr
= SHA1_MAX_BLOCK_SIZE
;
13 platform_SHA1_Update(c
, cdata
, nr
);