Speed up md5 hash filling/verifying by 20%
authorJens Axboe <jens.axboe@oracle.com>
Fri, 27 Jul 2007 11:16:24 +0000 (13:16 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 27 Jul 2007 11:16:24 +0000 (13:16 +0200)
commit8c432325c3df2075a77b27eab8a87704cf7b48ee
treeec2f3f843df130de988749219de8c4df24070962
parenta3ff21e3875887a28a40eb246e5c8f0c01cf96cd
Speed up md5 hash filling/verifying by 20%

Get rid of the on-stack hash copies, hash directly into the buffer.
We need to 'fix' md5 to just initially clear a/b/c/d in md5_update().
Tested, works, generates same checksums.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
md5.c
md5.h
verify.c