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

From
Ard Biesheuvel <hidden>
Date
2019-08-31 16:38:03
Also in
dm-devel, linux-fscrypt
Reply to
Herbert Xu, 2019-08-30
On Fri, 30 Aug 2019 at 07:58, Herbert Xu [off-list ref] wrote:
On Mon, Aug 19, 2019 at 05:17:33PM +0300, Ard Biesheuvel wrote:
quoted
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>
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.
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