From: Herbert Xu Date: Wed, 15 Jul 2009 12:39:05 +0000 (+0800) Subject: crypto: ahash - Fix setkey crash X-Git-Tag: v2.6.32-rc1~731^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a70c522520d967844c01fa01459edc698fc54544;p=pandora-kernel.git crypto: ahash - Fix setkey crash When the alignment check was made unconditional for ahash we may end up crashing on shash algorithms because we're always calling alg->setkey instead of tfm->setkey. This patch fixes it. Signed-off-by: Herbert Xu --- Reading git-diff-tree failed