Re: [PATCH v4] fscrypt: Add support for AES-128-CBC

From: Theodore Ts'o
Date: Thu Jun 01 2017 - 10:25:42 EST


On Wed, May 31, 2017 at 05:57:22PM +0200, David Gstir wrote:
> > The 'keysize > sizeof(salt)' check is now pointless and should be removed, since
> > we decided not to key the ESSIV cipher with 'keysize' bytes, but rather with
> > sizeof(salt) bytes. So this function is compatible with any 'keysize', not just
> > keysize <= sizeof(salt).
>
> You're right. Just let me know if I should send a new version of this patch with these minor issues fixed.

Please do, thanks!

- Ted