sha256: fix verify failure
authorJens Axboe <axboe@fb.com>
Fri, 16 Jan 2015 21:25:15 +0000 (14:25 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 16 Jan 2015 21:25:15 +0000 (14:25 -0700)
commit11d8c1f2162665a22f493a14b4f23f02e92225c1
tree751725ea3a8083a5c9aa68ba8c4cf4c74f4dc212
parentdef0009508f0f3c763c4de5e0b62388b42544faf
sha256: fix verify failure

After the checksumming update, it's required that we call the
_final() to get consistent checksums between data generation
and data verification. Seems to only affect sha256, but we should
do it for sha1 and md5 too.

Fixes: f99d67f932ab
Signed-off-by: Jens Axboe <axboe@fb.com>
crc/sha1.c
crc/sha1.h
verify.c