From: Tadeusz Struk Date: Sat, 27 Jun 2015 06:56:38 +0000 (+0900) Subject: crypto: aesni - fix failing setkey for rfc4106-gcm-aesni X-Git-Tag: omap-for-v4.2/fixes-rc1^2~56^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fbafd06bdde938884f7326548d3df812b267c3c;p=pandora-kernel.git crypto: aesni - fix failing setkey for rfc4106-gcm-aesni rfc4106(gcm(aes)) uses ctr(aes) to generate hash key. ctr(aes) needs chainiv, but the chainiv gets initialized after aesni_intel when both are statically linked so the setkey fails. This patch forces aesni_intel to be initialized after chainiv. Signed-off-by: Tadeusz Struk Tested-by: Linus Torvalds Signed-off-by: Herbert Xu --- Reading git-diff-tree failed