From: Herbert Xu Date: Tue, 4 Dec 2007 09:04:21 +0000 (+1100) Subject: [CRYPTO] authenc: Fix hash verification X-Git-Tag: v2.6.25-rc1~1242^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=481f34ae752ac74c4cbd88a9954dd4ed10e84f81;p=pandora-kernel.git [CRYPTO] authenc: Fix hash verification The previous code incorrectly included the hash in the verification which also meant that we'd crash and burn when it comes to actually verifying the hash since we'd go past the end of the SG list. This patch fixes that by subtracting authsize from cryptlen at the start. Signed-off-by: Herbert Xu --- Reading git-diff-tree failed