Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1290534
| From | Tadeusz Struk <tadeusz.struk@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 0/2] crypto: KEYS: convert public key to akcipher api |
| Date | 2015-12-13 03:40 +0100 |
| Message-ID | <qF4JQ-2gs-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This patch set converts the module verification and digital signature
code to the new akcipher API.
RSA implementation has been removed from crypto/asymmetric_keys and the
new API is used for cryptographic primitives.
There is no need for MPI above the akcipher API anymore.
Modules can be verified with software as well as HW RSA implementations.
Patches generated against cryptodev-2.6
Changes in v2:
- Fix the whey public_key_signature is setup. The pointer s needs to
point to the signature instread of the signature_v2_hdr.
- Select CRYPTO_RSA when INTEGRITY_ASYMMETRIC_KEYS is selected.
---
Tadeusz Struk (2):
crypto: KEYS: convert public key to the akcipher api
integrity: convert digsig to akcipher api
crypto/asymmetric_keys/Kconfig | 2
crypto/asymmetric_keys/Makefile | 7 -
crypto/asymmetric_keys/pkcs7_parser.c | 12 +-
crypto/asymmetric_keys/pkcs7_trust.c | 2
crypto/asymmetric_keys/pkcs7_verify.c | 2
crypto/asymmetric_keys/public_key.c | 64 +++------
crypto/asymmetric_keys/public_key.h | 36 -----
crypto/asymmetric_keys/rsa.c | 213 +++++++++++------------------
crypto/asymmetric_keys/x509_cert_parser.c | 37 +----
crypto/asymmetric_keys/x509_public_key.c | 17 +-
crypto/asymmetric_keys/x509_rsakey.asn1 | 4 -
include/crypto/public_key.h | 49 ++-----
security/integrity/Kconfig | 1
security/integrity/digsig_asymmetric.c | 10 -
14 files changed, 140 insertions(+), 316 deletions(-)
delete mode 100644 crypto/asymmetric_keys/public_key.h
delete mode 100644 crypto/asymmetric_keys/x509_rsakey.asn1
--
TS
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2 0/2] crypto: KEYS: convert public key to akcipher api Tadeusz Struk <tadeusz.struk@intel.com> - 2015-12-13 03:40 +0100
[PATCH v2 2/2] integrity: convert digsig to akcipher api Tadeusz Struk <tadeusz.struk@intel.com> - 2015-12-13 03:40 +0100
Re: [PATCH v2 2/2] integrity: convert digsig to akcipher api Mimi Zohar <zohar@linux.vnet.ibm.com> - 2015-12-14 14:30 +0100
Re: [PATCH v2 2/2] integrity: convert digsig to akcipher api Tadeusz Struk <tadeusz.struk@intel.com> - 2015-12-14 16:10 +0100
[PATCH v2 1/2] crypto: KEYS: convert public key to the akcipher api Tadeusz Struk <tadeusz.struk@intel.com> - 2015-12-13 03:40 +0100
csiph-web