[PATCH] Limit the size of the data block passed to SHA1_Update()

2015-10-30 Thread Atousa Pahlevan Duprat
Some implementations of SHA_Updates have inherent limits on the max chunk size. SHA1_MAX_BLOCK_SIZE can be defined to set the max chunk size supported, if required. This is enabled for OSX CommonCrypto library and set to 1GiB. --- Makefile | 9 + cache.h

[PATCH] Limit the size of the data block passed to SHA1_Update()

2015-10-30 Thread Atousa Pahlevan Duprat
Some implementations of SHA_Updates have inherent limits on the max chunk size. SHA1_MAX_BLOCK_SIZE can be defined to set the max chunk size supported, if required. This is enabled for OSX CommonCrypto library and set to 1GiB. --- Makefile | 9 + cache.h