commit | 0fbafd06bdde938884f7326548d3df812b267c3c | [log] [tgz] |
---|---|---|
author | Tadeusz Struk <tadeusz.struk@intel.com> | Sat Jun 27 15:56:38 2015 +0900 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Mon Jun 29 16:06:30 2015 +0800 |
tree | 7a3f98164c4064fecf59a9915c42a9e1b536be82 | |
parent | 12a4bd3122747eae2941f0be38119affb52c2e12 [diff] |
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 <tadeusz.struk@intel.com> Tested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>