Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1668777 > unrolled thread

Re: [PATCH v2 2/2] crypto: engine - Permit to enqueue skcipher request

Started byHerbert Xu <herbert@gondor.apana.org.au>
First post2017-06-19 07:30 +0200
Last post2017-06-19 10:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2 2/2] crypto: engine - Permit to enqueue skcipher  request Herbert Xu <herbert@gondor.apana.org.au> - 2017-06-19 07:30 +0200
    Re: [PATCH v2 2/2] crypto: engine - Permit to enqueue skcipher  request Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-06-19 10:00 +0200

#1668777 — Re: [PATCH v2 2/2] crypto: engine - Permit to enqueue skcipher request

FromHerbert Xu <herbert@gondor.apana.org.au>
Date2017-06-19 07:30 +0200
SubjectRe: [PATCH v2 2/2] crypto: engine - Permit to enqueue skcipher request
Message-ID<tTXqa-6Rc-7@gated-at.bofh.it>
On Tue, Jun 06, 2017 at 03:44:17PM +0200, Corentin Labbe wrote:
> The crypto engine could actually only enqueue hash and ablkcipher request.
> This patch permit it to enqueue skcipher requets by adding all necessary
> functions.
> The only problem is that ablkcipher and skcipher id are the same, so
> only one cipher type is usable on the same crypto engine.
> 
> Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>

I think this should be done as part of the skcipher conversion rather
than as a standalone patch.

Thanks,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

[toc] | [next] | [standalone]


#1668873

FromCorentin Labbe <clabbe.montjoie@gmail.com>
Date2017-06-19 10:00 +0200
Message-ID<tTZLj-8de-1@gated-at.bofh.it>
In reply to#1668777
On Mon, Jun 19, 2017 at 01:27:08PM +0800, Herbert Xu wrote:
> On Tue, Jun 06, 2017 at 03:44:17PM +0200, Corentin Labbe wrote:
> > The crypto engine could actually only enqueue hash and ablkcipher request.
> > This patch permit it to enqueue skcipher requets by adding all necessary
> > functions.
> > The only problem is that ablkcipher and skcipher id are the same, so
> > only one cipher type is usable on the same crypto engine.
> > 
> > Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
> 
> I think this should be done as part of the skcipher conversion rather
> than as a standalone patch.
> 

Since there are two different user of "crypto engine + ablkcipher", it will be not easy to convert them in one serie. (I could do it, but I simply could not test it for OMAP (lack of hw))
And any new user which want to use crypto engine+skcipher (like me with the sun8i-ce driver) are simply stuck.

Regards

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web