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)
commit22287b0b5988b603b5f0daa282c89aaf2b877313
treec8a1d714f4184feafc2885ab4a2968451397da03
parent2d4d1eea540b27c72488fd1914674c42473d53df
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