commit | 5e833bc4166ea524c00a95e777e4344844ed189f | [log] [tgz] |
---|---|---|
author | Lee Nipper <lee.nipper@gmail.com> | Wed Jun 16 15:29:15 2010 +1000 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Jun 16 15:29:15 2010 +1000 |
tree | 5b53201c04a434464fc68379ac2989cf8fd8027a | |
parent | 5b04fc170382195d7d33fd08e3ccc2ad8e50e782 [diff] |
crypto: talitos - fix ahash for multiple of blocksize Correct ahash_process_req() to properly handle cases where the total hash amount is a multiple of the blocksize. The SEC must have some data to hash during the very last descriptor operation; so up to one whole blocksize of data is buffered until the final hash. Signed-off-by: Lee Nipper <lee.nipper@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>