On Fri, 30 Aug 2019 at 07:58, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote: > > On Mon, Aug 19, 2019 at 05:17:33PM +0300, Ard Biesheuvel wrote: > > Implement a template that wraps a (skcipher,shash) or (aead,shash) tuple > > so that we can consolidate the ESSIV handling in fscrypt and dm-crypt and > > move it into the crypto API. This will result in better test coverage, and > > will allow future changes to make the bare cipher interface internal to the > > crypto subsystem, in order to increase robustness of the API against misuse. > > > > Signed-off-by: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx> > > --- > > crypto/Kconfig | 28 + > > crypto/Makefile | 1 + > > crypto/essiv.c | 663 ++++++++++++++++++++ > > 3 files changed, 692 insertions(+) > > Acked-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Milan, Hopefully, this can still be taken for v5.4. If not, please coordinate with Eric on how to get this queued for v5.5 Thanks, Ard.