]> www.infradead.org Git - mtd-utils.git/commit
mkfs.ubifs: Correctly use iv lengths in aes-cts mode
authorRichard Weinberger <richard@nod.at>
Thu, 18 Oct 2018 14:37:08 +0000 (16:37 +0200)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Thu, 1 Nov 2018 11:41:25 +0000 (12:41 +0100)
commitd9421785a18fdfae0ada62ecbfcbbdd28c4e0fde
tree70e579f451da488a9969b0d565dfec7c21a97e14
parent82e9055c49a6bceff3e32757cb4c0f10f46468ae
mkfs.ubifs: Correctly use iv lengths in aes-cts mode

The key length can be very long, for example in xts mode.
So we have to use the right sizes for block and iv lengths.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
ubifs-utils/mkfs.ubifs/crypto.c