mirror of
https://github.com/git/git.git
synced 2024-12-14 04:18:16 +08:00
001fd7a90b
Using the previous commit's inredirection mechanism for SHA1, support a chunked implementation of SHA1_Update() that limits the amount of data in the chunk passed to SHA1_Update(). This is enabled by using the Makefile variable SHA1_MAX_BLOCK_SIZE to specify chunk size. When using Apple's CommonCrypto library this is set to 1GiB (the implementation cannot handle more 4GiB). Signed-off-by: Atousa Pahlevan Duprat <apahlevan@ieee.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
3 lines
81 B
C
3 lines
81 B
C
|
|
int git_SHA1_Update_Chunked(platform_SHA_CTX *c, const void *data, size_t len);
|