]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: ccree - enable CTS support in AES-XTS
authorUri Shir <uri.shir@arm.com>
Sun, 8 Sep 2019 08:04:26 +0000 (11:04 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Sep 2019 11:17:58 +0000 (21:17 +1000)
commit7b71441988b442176d126901d6556aecd5071b15
treeb8a062fa6b361e428775c499b9539a740bd212a4
parent6fe1b18ebfb6dc207666d3799e530dc3c848ba74
crypto: ccree - enable CTS support in AES-XTS

In XTS encryption/decryption the plaintext byte size
can be >= AES_BLOCK_SIZE. This patch enable the AES-XTS ciphertext
stealing implementation in ccree driver.

Signed-off-by: Uri Shir <uri.shir@arm.com>
Acked-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccree/cc_cipher.c