commit | bc77f56f79f6ae155e9eb26263ed686ef28b47ec | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue Feb 23 10:36:21 2010 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Feb 23 10:36:21 2010 +0100 |
tree | d06ef40353dd6c5b6a9e5a639e0ee024f0d72edf | |
parent | d3e829b399a44b6d6ce9596a05f7a4bff5025573 [diff] [blame] |
Fix bug in sha256 verify It was using twice as large data block as it should have been, causing verify failures. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/verify.h b/verify.h index c12bc7d..be98c54 100644 --- a/verify.h +++ b/verify.h
@@ -37,7 +37,7 @@ uint8_t sha512[128]; }; struct vhdr_sha256 { - uint8_t sha256[128]; + uint8_t sha256[64]; }; struct vhdr_sha1 { uint32_t sha1[5];