Re: [PATCH v13 1/6] crypto: essiv - create wrapper template for ESSIV generation

From
Herbert Xu <herbert@gondor.apana.org.au>
Date
2019-08-30 04:58:38
Also in
dm-devel, linux-fscrypt
Reply to
Ard Biesheuvel, 2019-08-19
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 <redacted>
---
 crypto/Kconfig  |  28 +
 crypto/Makefile |   1 +
 crypto/essiv.c  | 663 ++++++++++++++++++++
 3 files changed, 692 insertions(+)
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Thread (17 messages) 17 messages, 4 authors, last reply 2019-09-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help