lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 12 Aug 2015 20:54:33 -0700
From:	Tadeusz Struk <tadeusz.struk@...el.com>
To:	herbert@...dor.apana.org.au
Cc:	keescook@...omium.org, jwboyer@...hat.com, smueller@...onox.de,
	richard@....at, tadeusz.struk@...el.com, steved@...hat.com,
	linux-kernel@...r.kernel.org, dhowells@...hat.com,
	linux-crypto@...r.kernel.org, james.l.morris@...cle.com,
	jkosina@...e.cz, zohar@...ux.vnet.ibm.com, davem@...emloft.net,
	vgoyal@...hat.com
Subject: [PATCH 0/2] crypto: KEYS: convert public key to the akcipher API

This patch converts the module verification code to the new akcipher API.
RSA implementation from crypto/asymmetric_keys has been removed and the
new API is used for cryptographic primitives. The signature verification
has been moved into a new crypto/asymmetric_keys/rsa_pkcs1_v1_5.c file.
There is no need for MPI above the API anymore.
Modules can be verified with software as well as HW rsa implementations.

Also changed qat rsa implementation not to move data inside
the output buff similarly to SW.

---

Tadeusz Struk (2):
      crypto: KEYS: convert public key to the akcipher API
      crypto: qat - Don't move data inside output buffer


 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           |   59 +----
 crypto/asymmetric_keys/public_key.h           |   36 ---
 crypto/asymmetric_keys/rsa.c                  |  278 -------------------------
 crypto/asymmetric_keys/rsa_pkcs1_v1_5.c       |  232 +++++++++++++++++++++
 crypto/asymmetric_keys/x509_cert_parser.c     |   37 +--
 crypto/asymmetric_keys/x509_public_key.c      |   17 +-
 crypto/asymmetric_keys/x509_rsakey.asn1       |    4 
 drivers/crypto/qat/qat_common/qat_asym_algs.c |    3 
 include/crypto/public_key.h                   |   48 +---
 kernel/module_signing.c                       |   56 ++---
 security/integrity/digsig_asymmetric.c        |   11 -
 16 files changed, 304 insertions(+), 502 deletions(-)
 delete mode 100644 crypto/asymmetric_keys/public_key.h
 delete mode 100644 crypto/asymmetric_keys/rsa.c
 create mode 100644 crypto/asymmetric_keys/rsa_pkcs1_v1_5.c
 delete mode 100644 crypto/asymmetric_keys/x509_rsakey.asn1

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ