On Wed, Jul 17, 2019 at 08:08:27PM +0200, Ard Biesheuvel wrote: > > Since the kernel does not support CTS for XTS any way, and since no > AF_ALG users can portably rely on this, I agree with Eric that the > only sensible way to address this is to disable this functionality in > the driver. But the whole point of XTS is that it supports sizes that are not multiples of the block size. So implementing it without supporting ciphertext stealing is just wrong. So let's fix the generic implementation rather than breaking the caam driver. Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel