summaryrefslogtreecommitdiffstats
path: root/crypto/asymmetric_keys/Makefile
diff options
context:
space:
mode:
authorDavid Howells2014-07-01 17:02:51 +0200
committerDavid Howells2014-07-09 15:58:37 +0200
commit26d1164be37f1145a96af15f294122876d8e5c77 (patch)
tree3cf981b54d3a275710d840c3674e09271c00c36d /crypto/asymmetric_keys/Makefile
parentProvide PE binary definitions (diff)
downloadkernel-qcow2-linux-26d1164be37f1145a96af15f294122876d8e5c77.tar.gz
kernel-qcow2-linux-26d1164be37f1145a96af15f294122876d8e5c77.tar.xz
kernel-qcow2-linux-26d1164be37f1145a96af15f294122876d8e5c77.zip
pefile: Parse a PE binary to find a key and a signature contained therein
Parse a PE binary to find a key and a signature contained therein. Later patches will check the signature and add the key if the signature checks out. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com> Reviewed-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'crypto/asymmetric_keys/Makefile')
-rw-r--r--crypto/asymmetric_keys/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/asymmetric_keys/Makefile b/crypto/asymmetric_keys/Makefile
index 92d0e9af24d5..3e4de5297015 100644
--- a/crypto/asymmetric_keys/Makefile
+++ b/crypto/asymmetric_keys/Makefile
@@ -47,3 +47,11 @@ clean-files += pkcs7-asn1.c pkcs7-asn1.h
obj-$(CONFIG_PKCS7_TEST_KEY) += pkcs7_test_key.o
pkcs7_test_key-y := \
pkcs7_key_type.o
+
+#
+# Signed PE binary-wrapped key handling
+#
+obj-$(CONFIG_SIGNED_PE_FILE_VERIFICATION) += verify_signed_pefile.o
+
+verify_signed_pefile-y := \
+ verify_pefile.o