aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-05-23 20:26:27 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2016-05-23 20:26:27 -0400
commit3159ee58d2133fbf9a710c21201ce717a8cf61a0 (patch)
tree2c1cbf7507dd9299c3f957299eef4cc59d0f2bd6
parent1d6da87a3241deb13d073c4125d19ed0e5a0c62c (diff)
parent653bd4568ba083dfd5a06a83de3f0dc1e53dd42b (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
Pull more security subsystem updates from James Morris: "Minor updates for the keys code" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: MAINTAINERS: Update keyrings record and add asymmetric keys record lib: asn1_decoder - add MODULE_LICENSE("GPL") KEYS: The PKCS#7 test key type should use the secondary keyring
-rw-r--r--MAINTAINERS12
-rw-r--r--crypto/asymmetric_keys/pkcs7_key_type.c2
2 files changed, 13 insertions, 1 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index ee7fb1668c15..f27ff1b32757 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1951,6 +1951,16 @@ L: platform-driver-x86@vger.kernel.org
1951S: Maintained 1951S: Maintained
1952F: drivers/platform/x86/asus-wireless.c 1952F: drivers/platform/x86/asus-wireless.c
1953 1953
1954ASYMMETRIC KEYS
1955M: David Howells <dhowells@redhat.com>
1956L: keyrings@vger.kernel.org
1957S: Maintained
1958F: Documentation/crypto/asymmetric-keys.txt
1959F: include/linux/verification.h
1960F: include/crypto/public_key.h
1961F: include/crypto/pkcs7.h
1962F: crypto/asymmetric_keys/
1963
1954ASYNCHRONOUS TRANSFERS/TRANSFORMS (IOAT) API 1964ASYNCHRONOUS TRANSFERS/TRANSFORMS (IOAT) API
1955R: Dan Williams <dan.j.williams@intel.com> 1965R: Dan Williams <dan.j.williams@intel.com>
1956W: http://sourceforge.net/projects/xscaleiop 1966W: http://sourceforge.net/projects/xscaleiop
@@ -6557,6 +6567,8 @@ S: Maintained
6557F: Documentation/security/keys.txt 6567F: Documentation/security/keys.txt
6558F: include/linux/key.h 6568F: include/linux/key.h
6559F: include/linux/key-type.h 6569F: include/linux/key-type.h
6570F: include/linux/keyctl.h
6571F: include/uapi/linux/keyctl.h
6560F: include/keys/ 6572F: include/keys/
6561F: security/keys/ 6573F: security/keys/
6562 6574
diff --git a/crypto/asymmetric_keys/pkcs7_key_type.c b/crypto/asymmetric_keys/pkcs7_key_type.c
index 3b92523882e5..1063b644efcd 100644
--- a/crypto/asymmetric_keys/pkcs7_key_type.c
+++ b/crypto/asymmetric_keys/pkcs7_key_type.c
@@ -62,7 +62,7 @@ static int pkcs7_preparse(struct key_preparsed_payload *prep)
62 62
63 return verify_pkcs7_signature(NULL, 0, 63 return verify_pkcs7_signature(NULL, 0,
64 prep->data, prep->datalen, 64 prep->data, prep->datalen,
65 NULL, usage, 65 (void *)1UL, usage,
66 pkcs7_view_content, prep); 66 pkcs7_view_content, prep);
67} 67}
68 68