Re: [PATCH] fscrypt: invoke crypto API for ESSIV handling

2019-10-21 Thread Eric Biggers
On Wed, Oct 09, 2019 at 04:38:40PM -0700, Eric Biggers wrote: > From: Eric Biggers > > Instead of open-coding the calculations for ESSIV handling, use an ESSIV > skcipher which does all of this under the hood. ESSIV was added to the > crypto API in v5.4. > > This is based on a patch from Ard Bi

Re: [PATCH] fscrypt: invoke crypto API for ESSIV handling

2019-10-09 Thread Ard Biesheuvel
On Thu, 10 Oct 2019 at 01:39, Eric Biggers wrote: > > From: Eric Biggers > > Instead of open-coding the calculations for ESSIV handling, use an ESSIV > skcipher which does all of this under the hood. ESSIV was added to the > crypto API in v5.4. > > This is based on a patch from Ard Biesheuvel, b

[PATCH] fscrypt: invoke crypto API for ESSIV handling

2019-10-09 Thread Eric Biggers
From: Eric Biggers Instead of open-coding the calculations for ESSIV handling, use an ESSIV skcipher which does all of this under the hood. ESSIV was added to the crypto API in v5.4. This is based on a patch from Ard Biesheuvel, but reworked to apply after all the fscrypt changes that went into