]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pefile: Parse the "Microsoft individual code signing" data blob
authorDavid Howells <dhowells@redhat.com>
Tue, 15 Jan 2013 15:33:41 +0000 (15:33 +0000)
committerDavid Howells <dhowells@redhat.com>
Sat, 19 Jan 2013 01:05:20 +0000 (01:05 +0000)
commit747762564258e8812e72b6d06f4c1ebcee0d35c1
tree602245f3e835d108168adda43efcf4a25ccce3c0
parentf978aa2443a891c18a301c2a4a5542ed0b5b7091
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>
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/pefile_parser.c
crypto/asymmetric_keys/pefile_parser.h
include/linux/oid_registry.h