]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: qce - initialize fallback only for AES
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Fri, 20 Dec 2019 19:02:17 +0000 (16:02 -0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Dec 2019 10:18:04 +0000 (18:18 +0800)
commita6b960b55ad369b16e48e6618785b75f085a4f72
tree21e8e43ab4c9e34a50fb0081869309cb97ab80c3
parent9a82f2a61f4f2195ead66a760f331df496b6235d
crypto: qce - initialize fallback only for AES

Adjust cra_flags to add CRYPTO_NEED_FALLBACK only for AES ciphers, where
AES-192 is not handled by the qce hardware, and don't allocate & free
the fallback skcipher for other algorithms.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qce/skcipher.c