crypto: qce - Return unsupported if any three keys are same for DES3 algorithms
authorThara Gopinath <thara.gopinath@linaro.org>
Thu, 11 Feb 2021 20:01:21 +0000 (15:01 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 7 Mar 2021 04:13:16 +0000 (15:13 +1100)
commit42f730a47beee3b8df9a55ed8a3009eb0fe5bd3f
treed0825d748b79a17782840306e7a56071ed9305d4
parentf0d078dd6c490535ccd7f1694813295dae99814e
crypto: qce - Return unsupported if any three keys are same for DES3 algorithms

Return unsupported if any three keys are same for DES3 algorithms
since CE does not support this and the operation causes the engine to
hang.

Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qce/skcipher.c