crypto: qce - handle AES-XTS cases that qce fails
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Fri, 7 Feb 2020 15:02:27 +0000 (12:02 -0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 13 Feb 2020 09:05:27 +0000 (17:05 +0800)
commit7f19380b2cfd412dcef2facefb3f6c62788864d7
treecfbaf70041e790852e01c3a576a9722505cbb7a2
parentce163ba0bf298f1707321ac025ef639f88e62801
crypto: qce - handle AES-XTS cases that qce fails

QCE hangs when presented with an AES-XTS request whose length is larger
than QCE_SECTOR_SIZE (512-bytes), and is not a multiple of it.  Let the
fallback cipher handle them.

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