PKCS#7: Find intersection between PKCS#7 message and known, trusted keys
authorDavid Howells <dhowells@redhat.com>
Tue, 1 Jul 2014 15:40:20 +0000 (16:40 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 8 Jul 2014 12:50:15 +0000 (13:50 +0100)
commit08815b62d700e4fbeb72a01986ad051c3dd84a15
tree9a3df820a9716348fa947986d2310d50e14f9964
parent8c76d79393ccc9b89d9af402d79a49a9cd43c5aa
PKCS#7: Find intersection between PKCS#7 message and known, trusted keys

Find the intersection between the X.509 certificate chain contained in a PKCS#7
message and a set of keys that we already know and trust.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
crypto/asymmetric_keys/Makefile
crypto/asymmetric_keys/pkcs7_trust.c [new file with mode: 0644]
include/crypto/pkcs7.h