]> 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)
commit5da8a55d8cc32c10ded26af1918920bb80efc7d5
treeb8a062fa6b361e428775c499b9539a740bd212a4
parent0315e0e9a2a46a2df6aec2477a5a2427bbf11c5b
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