]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PKCS#7: Find the right key in the PKCS#7 key list and verify the signature
authorDavid Howells <dhowells@redhat.com>
Tue, 15 Jan 2013 15:33:39 +0000 (15:33 +0000)
committerDavid Howells <dhowells@redhat.com>
Sat, 19 Jan 2013 01:05:19 +0000 (01:05 +0000)
commit73afc6dc745fcb1f2686978f526127bf46c2d31a
tree0e3fd5263a37fc7c868f9cdc2101d897681cd19e
parent4a43c6e164c4c3e52dafa21b9cea16a36f17d27c
PKCS#7: Find the right key in the PKCS#7 key list and verify the signature

Find the appropriate key in the PKCS#7 key list and verify the signature with
it.  There may be several keys in there forming a chain.  Any link in that
chain or the root of that chain may be in our keyrings.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
crypto/asymmetric_keys/pkcs7_verify.c