Skip to content

crypto: Updates to akcipher API

Tadeusz Struk linux-crypto 1 version In review

Get series with b4
b4 am 20150909161454.2828.70445.stgit@tstruk-mobl1

Versions newest first

  1. v1 Latest8 patches 23 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8crypto: akcipher - return status from crypto_unregister_algcrypto/akcipher.c include/crypto/internal/akcipher.h+5 -31 reply
2/8crypto: rsa - check status returned from crypto_unregister_akciphercrypto/rsa.c+1 -10 replies
3/8crypto: qat - check status returned from crypto_unregister_akcipherdrivers/crypto/qat/qat_common/adf_common_drv.h drivers/crypto/qat/qat_common/adf_init.c drivers/crypto/qat/qat_common/qat_asym_algs.c+8 -70 replies
4/8crypto: akcipher - Changes to asymmetric key APIcrypto/Makefile crypto/testmgr.c drivers/crypto/qat/qat_common/Makefile +1 more+71 -398 replies
5/8lib/scatterlist: Add sg_len helperinclude/linux/scatterlist.h lib/scatterlist.c+19 -012 replies
6/8crypto: rsa - update accoring to akcipher API changescrypto/Makefile crypto/rsa.c crypto/rsa_helper.c +4 more+220 -492 replies
7/8crypto: qat - update accoring to akcipher API changesdrivers/crypto/qat/qat_common/Makefile drivers/crypto/qat/qat_common/qat_asym_algs.c drivers/crypto/qat/qat_common/qat_rsakey.asn1 +2 more+189 -680 replies
8/8crypto: testmgr - update test mgr according to API changescrypto/testmgr.c crypto/testmgr.h+48 -320 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] crypto: Updates to akcipher API

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