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> -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt