]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: aesni - Fix failure when pcbc module is absent
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 1 Feb 2017 14:17:39 +0000 (22:17 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Feb 2017 09:45:48 +0000 (17:45 +0800)
commit5857385f6443b8b1e7714a87bdd9e36fa442005c
treeccffcd7a4410005c8ede82ec5435c85ad01c062b
parentae09acefa3bc1f060d6f7a4f0af0301c152057a8
crypto: aesni - Fix failure when pcbc module is absent

When aesni is built as a module together with pcbc, the pcbc module
must be present for aesni to load.  However, the pcbc module may not
be present for reasons such as its absence on initramfs.  This patch
allows the aesni to function even if the pcbc module is enabled but
not present.

Reported-by: Arkadiusz Miƛkiewicz <arekm@maven.pl>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/aesni-intel_glue.c