commit | 7a0b86b1b964d31604eb216a5648906b38470bba | [log] [tgz] |
---|---|---|
author | Greg Tucker <greg.b.tucker@intel.com> | Mon Nov 14 16:11:44 2016 -0700 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Nov 17 23:35:00 2016 +0800 |
tree | d7a59bb859af973ff732205aaa600f314e3e1028 | |
parent | 75aa0a7cafe951538c7cb7c5ed457a3371ec5bcd [diff] |
crypto: sha-mb - Fix total_len for correct hash when larger than 512MB Current multi-buffer hash implementations have a restriction on the total length of a hash job to 512MB. Hashing larger buffers will result in an incorrect hash. This extends the limit to 2^62 - 1. Signed-off-by: Greg Tucker <greg.b.tucker@intel.com> Acked-by: Tim Chen <tim.c.chen@linux.intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>