public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/1] crypto: engine: permit to enqueue ashash_request
@ 2016-06-02 13:13 LABBE Corentin
  2016-06-02 13:13 ` [PATCH v3 1/1] " LABBE Corentin
  0 siblings, 1 reply; 5+ messages in thread
From: LABBE Corentin @ 2016-06-02 13:13 UTC (permalink / raw)
  To: herbert, davem, baolin.wang; +Cc: linux-crypto, linux-kernel, LABBE Corentin

Hello

I wanted to use the crypto engine for my Allwinner crypto driver but something
prevented me to use it: it cannot enqueue hash requests.
This patch convert crypto engine to permit enqueuing of ahash_requests.
It also convert the only driver using crypto engine.

The modifications against omap was only compile tested but the crypto engine with
hash support was tested on two different offtree driver (sun4i-ss and sun8i-ce)

Regards

Changes since v1:
- rebased on cryptodev for handling omap-des

Changes since v2:
- Fusionned both patch
- Renamed crypt_one_request to do_one_request
- Test the type of request before processing it

LABBE Corentin (1):
  crypto: engine: permit to enqueue ashash_request

 crypto/crypto_engine.c    | 19 ++++++++-----------
 drivers/crypto/omap-aes.c | 18 +++++++++++++-----
 drivers/crypto/omap-des.c | 18 +++++++++++++-----
 include/crypto/algapi.h   | 18 +++++++++---------
 4 files changed, 43 insertions(+), 30 deletions(-)

-- 
2.7.3

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-06-12 11:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-02 13:13 [PATCH v3 0/1] crypto: engine: permit to enqueue ashash_request LABBE Corentin
2016-06-02 13:13 ` [PATCH v3 1/1] " LABBE Corentin
2016-06-07 10:31   ` Herbert Xu
2016-06-10 14:43     ` LABBE Corentin
2016-06-12 11:01       ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox