HomePhabricator

crypto: bytes counts are 64 bit
9ad1a518574bUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

crypto: bytes counts are 64 bit

Byte counts for SHA256, SHA512, SHA1 and RIPEMD160 must be 64 bits.
size_t has a different size per platform, causing divergent results
when hashing more than 4GB of data.

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Apr 9 2016, 05:39
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING73fc922ed643: Merge #7603: Build System: Use PACKAGE_TARNAME in NSIS script
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rSTAGING9ad1a518574b: crypto: bytes counts are 64 bit (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Apr 15 2016, 14:44