Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1473378
| From | Corentin Labbe <clabbe.montjoie@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v4 0/2] crypto: engine: permit to enqueue ashash_request |
| Date | 2016-08-31 14:10 +0200 |
| Message-ID | <sccv8-2fs-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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 Changes sunce v3 - Add functions for each type (ablkcipher/ahash) LABBE Corentin (2): crypto: move crypto engine to its own header crypto: engine: permit to enqueue ashash_request crypto/crypto_engine.c | 187 ++++++++++++++++++++++++++++++++++++---------- drivers/crypto/omap-aes.c | 9 ++- drivers/crypto/omap-des.c | 9 ++- include/crypto/algapi.h | 70 ----------------- include/crypto/engine.h | 107 ++++++++++++++++++++++++++ 5 files changed, 266 insertions(+), 116 deletions(-) create mode 100644 include/crypto/engine.h -- 2.7.3
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v4 0/2] crypto: engine: permit to enqueue ashash_request Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-08-31 14:10 +0200 [PATCH v4 2/2] crypto: engine: permit to enqueue ashash_request Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-08-31 14:10 +0200 [PATCH v4 1/2] crypto: move crypto engine to its own header Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-08-31 14:10 +0200 Re: [PATCH v4 0/2] crypto: engine: permit to enqueue ashash_request Herbert Xu <herbert@gondor.apana.org.au> - 2016-09-07 15:30 +0200
csiph-web