crypto: qce - Schedule fallback aead algorithm
authorThara Gopinath <thara.gopinath@linaro.org>
Thu, 29 Apr 2021 15:07:07 +0000 (11:07 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 14 May 2021 11:07:56 +0000 (19:07 +0800)
commitb51dcf05c1e96caccda769f3a60042d77f1a3a7d
tree2ca711e869e039a359bb3f239ac09913561029a6
parentdb0018a8b615e256c90a63d2d5698f2144dde222
crypto: qce - Schedule fallback aead algorithm

Qualcomm crypto engine does not handle the following scenarios and
will issue an abort. In such cases, pass on the transformation to
a fallback algorithm.

- DES3 algorithms with all three keys same.
- AES192 algorithms.
- 0 length messages.

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