-
- Downloads
sha1: allow limiting the size of the data passed to SHA1_Update()
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>
Showing
- Makefile 13 additions, 0 deletionsMakefile
- cache.h 6 additions, 0 deletionscache.h
- compat/apple-common-crypto.h 4 additions, 0 deletionscompat/apple-common-crypto.h
- compat/sha1-chunked.c 19 additions, 0 deletionscompat/sha1-chunked.c
- compat/sha1-chunked.h 2 additions, 0 deletionscompat/sha1-chunked.h
Loading
Please register or sign in to comment