From: David Howells Date: Tue, 1 Jul 2014 15:02:52 +0000 (+0100) Subject: pefile: Digest the PE binary and compare to the PKCS#7 data X-Git-Tag: cleanup-for-v3.18~110^2~12^2~2^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af316fc442ef23901bbfcec5af55e69ca6ce9563;p=pandora-kernel.git pefile: Digest the PE binary and compare to the PKCS#7 data Digest the signed parts of the PE binary, canonicalising the section table before we need it, and then compare the the resulting digest to the one in the PKCS#7 signed content. Signed-off-by: David Howells Acked-by: Vivek Goyal Reviewed-by: Kees Cook --- Reading git-diff-tree failed