If you are going to update the hash code, you also should parallelize
the calculation.
Ie:
call the initialization function of hash
loop:
read a block of the file
mix it into each hash in turn
end loop:
finalize each hash
It is silly and, for large DIST files, slow to read(2) the file n
On Fri, Sep 30, 2011 at 01:27:41AM +, Robin H. Johnson wrote:
Offer mhash as a provider for Manifest2 hash generation and validation.
This is important as none of pycrypto/hashlib/fchksum offer an
accelerated Whirlpool implementaiton. Additionally, the mhash
implementation is accelerated