|
|
Subscribe / Log in / New account

KEYS: keyctl operations for asymmetric keys

From:  David Howells <dhowells@redhat.com>
To:  mathew.j.martineau@linux.intel.com, tadeusz.struk@intel.com
Subject:  [RFC PATCH 0/5] KEYS: keyctl operations for asymmetric keys
Date:  Wed, 04 May 2016 17:43:24 +0100
Message-ID:  <20160504164324.28371.29267.stgit@warthog.procyon.org.uk>
Cc:  crypto@vger.kernel.org, kernel@vger.kernel.org, dhowells@redhat.com, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, dwmw2@infradead.org


Here's a set of patches that provides keyctl access for asymmetric keys,
including a query function, and functions to do encryption, decryption,
signature creation and signature verification.

The patches can be found here also:

	http://git.kernel.org/cgit/linux/kernel/git/dhowells/linu...

David
---
David Howells (5):
      KEYS: Provide key type operations for asymmetric key ops
      KEYS: Provide keyctls to drive the new key type ops for asymmetric keys
      KEYS: Provide missing asymmetric key subops for new key type ops
      KEYS: Make the X.509 and PKCS7 parsers supply the sig encoding type
      KEYS: Provide software public key query function


 Documentation/security/keys.txt           |  196 ++++++++++++++++++
 crypto/asymmetric_keys/asymmetric_type.c  |   36 +++
 crypto/asymmetric_keys/pkcs7_parser.c     |    1 
 crypto/asymmetric_keys/public_key.c       |   38 +++
 crypto/asymmetric_keys/signature.c        |  150 +++++++++++++
 crypto/asymmetric_keys/x509_cert_parser.c |   21 +-
 include/crypto/public_key.h               |   13 +
 include/keys/asymmetric-subtype.h         |   13 +
 include/linux/key-type.h                  |   15 +
 include/linux/keyctl.h                    |   36 +++
 include/uapi/linux/keyctl.h               |   28 +++
 security/keys/Makefile                    |    1 
 security/keys/compat.c                    |   11 +
 security/keys/internal.h                  |   35 +++
 security/keys/keyctl.c                    |   21 ++
 security/keys/keyctl_pkey.c               |  324 +++++++++++++++++++++++++++++
 16 files changed, 916 insertions(+), 23 deletions(-)
 create mode 100644 include/linux/keyctl.h
 create mode 100644 security/keys/keyctl_pkey.c

--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



Copyright © 2016, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds