Thread (19 messages) 19 messages, 4 authors, 2017-01-23

Re: [RFC PATCH 0/6] Add bulk skcipher requests to crypto API and dm-crypt

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2017-01-18 04:48:28
Also in: dm-devel

On Tue, Jan 17, 2017 at 12:20:02PM +0100, Ondrej Mosnáček wrote:
2017-01-13 15:29 GMT+01:00 Herbert Xu [off-list ref]:
quoted
What if the driver had hardware support for generating these IVs?
With your scheme this cannot be supported at all.
That's true... I'm starting to think that this isn't really a good
idea. I was mainly trying to keep the door open for the random IV
support and also to keep the multi-key stuff (which was really only
intended for loop-AES partition support) out of the crypto API, but
both of these can be probably solved in a better way...
As you said that the multi-key stuff is legacy-only I too would like
to see a way to keep that complexity out of the common path.
quoted
With such a definition you could either generate the IVs in dm-crypt
or have them generated in the IV generator.
That seems kind of hacky to me... but if that's what you prefer, then so be it.
I'm open to other proposals.  The basic requirement is to be able to
process multiple blocks as one entity at the driver level, potentially
generating the IVs there too.

It's essentially the equivalent to full IPsec offload.

Thanks,
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help