]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
pefile: Parse the "Microsoft individual code signing" data blob
authorDavid Howells <dhowells@redhat.com>
Tue, 1 Jul 2014 15:02:52 +0000 (16:02 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 9 Jul 2014 13:58:37 +0000 (14:58 +0100)
commit4c0b4b1d1ae0cbc86f150e2905a1c3d2a17b7c1e
treebbb779c5438a9cef8260569fae85493abf2522eb
parent3968280c7699f11e27a21aeafacf50bc86c2ed25
pefile: Parse the "Microsoft individual code signing" data blob

The PKCS#7 certificate should contain a "Microsoft individual code signing"
data blob as its signed content.  This blob contains a digest of the signed
content of the PE binary and the OID of the digest algorithm used (typically
SHA256).

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/mscode.asn1 [new file with mode: 0644]
crypto/asymmetric_keys/mscode_parser.c [new file with mode: 0644]
crypto/asymmetric_keys/verify_pefile.c
crypto/asymmetric_keys/verify_pefile.h
include/linux/oid_registry.h