From: Lee Nipper Date: Wed, 16 Jun 2010 05:29:15 +0000 (+1000) Subject: crypto: talitos - fix ahash for multiple of blocksize X-Git-Tag: v2.6.36-rc1~568^2~24 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e833bc4166ea524c00a95e777e4344844ed189f;p=pandora-kernel.git 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 Signed-off-by: Herbert Xu --- Reading git-diff-tree failed