]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: akcipher - Changes to asymmetric key API
authorTadeusz Struk <tadeusz.struk@intel.com>
Thu, 8 Oct 2015 16:26:55 +0000 (09:26 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 14 Oct 2015 14:23:16 +0000 (22:23 +0800)
commit28763db4b1e567e376ee7a08438def1337b99e7a
treec8a1d714f4184feafc2885ab4a2968451397da03
parentb7ec46a283e7cb1387c4c6c2febc0a48fe7ce150
crypto: akcipher - Changes to asymmetric key API

Setkey function has been split into set_priv_key and set_pub_key.
Akcipher requests takes sgl for src and dst instead of void *.
Users of the API i.e. two existing RSA implementation and
test mgr code have been updated accordingly.

Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
15 files changed:
crypto/Makefile
crypto/rsa.c
crypto/rsa_helper.c
crypto/rsakey.asn1 [deleted file]
crypto/rsaprivkey.asn1 [new file with mode: 0644]
crypto/rsapubkey.asn1 [new file with mode: 0644]
crypto/testmgr.c
crypto/testmgr.h
drivers/crypto/qat/qat_common/Makefile
drivers/crypto/qat/qat_common/qat_asym_algs.c
drivers/crypto/qat/qat_common/qat_rsakey.asn1 [deleted file]
drivers/crypto/qat/qat_common/qat_rsaprivkey.asn1 [new file with mode: 0644]
drivers/crypto/qat/qat_common/qat_rsapubkey.asn1 [new file with mode: 0644]
include/crypto/akcipher.h
include/crypto/internal/rsa.h