Linux cryptographic layer development
 help / color / mirror / Atom feed
From: Tadeusz Struk <tadeusz.struk@intel.com>
To: herbert@gondor.apana.org.au
Cc: linux-crypto@vger.kernel.org, qat-linux@intel.com,
	tadeusz.struk@intel.com
Subject: [PATCH 0/8] crypto: Updates to akcipher API
Date: Wed, 09 Sep 2015 09:14:54 -0700	[thread overview]
Message-ID: <20150909161454.2828.70445.stgit@tstruk-mobl1> (raw)

This series introduce updates to the akcipher API.
setkey function has been split into set_pub_key and
set_priv_key.
Input and output buffers are now sgl instread of void *
It also includes some minor updates like status check
from crypto_unregister_akcipher which was not checked
before.

---

Tadeusz Struk (8):
      crypto: akcipher - return status from crypto_unregister_alg
      crypto: rsa - check status returned from crypto_unregister_akcipher
      crypto: qat - check status returned from crypto_unregister_akcipher
      crypto: akcipher - Changes to asymmetric key API
      lib/scatterlist: Add sg_len helper
      crypto: rsa - update accoring to akcipher API changes
      crypto: qat - update accoring to akcipher API changes
      crypto: testmgr - update test mgr


 crypto/Makefile                                   |    9 +
 crypto/akcipher.c                                 |    4 
 crypto/rsa.c                                      |  191 ++++++++++++++---
 crypto/rsa_helper.c                               |   42 +++-
 crypto/rsakey.asn1                                |    5 
 crypto/rsaprivkey.asn1                            |   11 +
 crypto/rsapubkey.asn1                             |    4 
 crypto/testmgr.c                                  |   40 ++--
 crypto/testmgr.h                                  |   36 ++-
 drivers/crypto/qat/qat_common/Makefile            |   12 +
 drivers/crypto/qat/qat_common/adf_common_drv.h    |    2 
 drivers/crypto/qat/qat_common/adf_init.c          |    6 -
 drivers/crypto/qat/qat_common/qat_asym_algs.c     |  232 +++++++++++++++------
 drivers/crypto/qat/qat_common/qat_rsakey.asn1     |    5 
 drivers/crypto/qat/qat_common/qat_rsaprivkey.asn1 |   11 +
 drivers/crypto/qat/qat_common/qat_rsapubkey.asn1  |    4 
 include/crypto/akcipher.h                         |   99 ++++++---
 include/crypto/internal/akcipher.h                |    4 
 include/crypto/internal/rsa.h                     |    7 -
 include/linux/scatterlist.h                       |    1 
 lib/scatterlist.c                                 |   17 ++
 21 files changed, 552 insertions(+), 190 deletions(-)
 delete mode 100644 crypto/rsakey.asn1
 create mode 100644 crypto/rsaprivkey.asn1
 create mode 100644 crypto/rsapubkey.asn1
 delete mode 100644 drivers/crypto/qat/qat_common/qat_rsakey.asn1
 create mode 100644 drivers/crypto/qat/qat_common/qat_rsaprivkey.asn1
 create mode 100644 drivers/crypto/qat/qat_common/qat_rsapubkey.asn1

--
Signature

             reply	other threads:[~2015-09-09 16:16 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-09 16:14 Tadeusz Struk [this message]
2015-09-09 16:15 ` [PATCH 1/8] crypto: akcipher - return status from crypto_unregister_alg Tadeusz Struk
2015-09-18 11:29   ` Herbert Xu
2015-09-09 16:15 ` [PATCH 2/8] crypto: rsa - check status returned from crypto_unregister_akcipher Tadeusz Struk
2015-09-09 16:15 ` [PATCH 3/8] crypto: qat " Tadeusz Struk
2015-09-09 16:15 ` [PATCH 4/8] crypto: akcipher - Changes to asymmetric key API Tadeusz Struk
2015-09-09 16:25   ` Stephan Mueller
2015-09-09 16:29     ` Tadeusz Struk
2015-09-09 16:41       ` Stephan Mueller
2015-09-09 16:44         ` Tadeusz Struk
2015-09-09 18:53         ` Andrzej Zaborowski
2015-09-09 19:13           ` Stephan Mueller
2015-09-09 19:35             ` Tadeusz Struk
2015-09-18 11:35   ` Herbert Xu
2015-09-09 16:15 ` [PATCH 5/8] lib/scatterlist: Add sg_len helper Tadeusz Struk
2015-09-09 16:27   ` Stephan Mueller
2015-09-09 16:31     ` Tadeusz Struk
2015-09-09 16:39       ` Stephan Mueller
2015-09-09 16:46         ` Tadeusz Struk
2015-09-09 16:49           ` Stephan Mueller
2015-09-09 16:51             ` Tadeusz Struk
2015-09-09 16:56               ` Stephan Mueller
2015-09-09 17:02                 ` Tadeusz Struk
2015-09-09 17:05                   ` Stephan Mueller
2015-09-09 17:16                     ` Tadeusz Struk
2015-09-09 17:37                       ` Stephan Mueller
2015-09-09 16:54       ` Stephan Mueller
2015-09-09 16:15 ` [PATCH 6/8] crypto: rsa - update accoring to akcipher API changes Tadeusz Struk
2015-09-09 16:35   ` Stephan Mueller
2015-09-09 18:03     ` Tadeusz Struk
2015-09-09 16:15 ` [PATCH 7/8] crypto: qat " Tadeusz Struk
2015-09-09 16:15 ` [PATCH 8/8] crypto: testmgr - update test mgr according to " Tadeusz Struk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150909161454.2828.70445.stgit@tstruk-mobl1 \
    --to=tadeusz.struk@intel.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=qat-linux@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox