From: Herbert Xu Date: Mon, 7 Feb 2011 09:26:06 +0000 (+1100) Subject: crypto: sha-s390 - Reset index after processing partial block X-Git-Tag: v2.6.38-rc6~33^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d20b571f5bda7273656e1b86ef91eddc94adacc;p=pandora-kernel.git crypto: sha-s390 - Reset index after processing partial block The partial block handling in sha-s390 is broken when we get a partial block that is followed by an update which fills it with bytes left-over. Instead of storing the newly left-over bytes at the start of the buffer, it will be stored immediately after the previous partial block. This patch fixes this by resetting the index pointer. Signed-off-by: Herbert Xu --- Reading git-diff-tree failed