]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: atmel-aes - Add fallback to XTS software implementation
authorTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 20 Jul 2021 08:55:34 +0000 (11:55 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Jul 2021 02:58:34 +0000 (10:58 +0800)
commitbf2db8e74249e691cbd1df7fca01810d8f48532b
tree99e10d71d9a962d3b98d1b87ba8f981e83c4a23b
parent76d579f251a2d8501f4504b07355c8738b72c2bd
crypto: atmel-aes - Add fallback to XTS software implementation

XTS is supported just for input lengths with data units of 128-bit blocks.
Add a fallback to software implementation when the last block is shorter
than 128 bits.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-aes.c