Re: [PATCH 0/2] crypto: KEYS: convert public key to akcipher api

From: Mimi Zohar
Date: Thu Dec 10 2015 - 13:26:59 EST


On Wed, 2015-12-09 at 15:52 -0800, Tadeusz Struk wrote:
> 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.

With these two patches my system doesn't even boot. Digging deeper...

Mimi

> Patches generated against cryptodev-2.6
> ---
>
> 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 | 211 +++++++++++------------------
> 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/digsig_asymmetric.c | 10 -
> 13 files changed, 138 insertions(+), 315 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-security-module" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/