diff options
author | David Howells <dhowells@redhat.com> | 2014-07-01 16:02:51 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2014-07-09 14:58:37 +0100 |
commit | 0cf8e6a6bfa2cedf073fc13aeeb00e8b79d319e2 (patch) | |
tree | 7e9b8c461651ef8a6d2226da76004b6c4fb921ed /crypto/asymmetric_keys/Kconfig | |
parent | bf080f0ad3d766e1cc27cfd88827f716288e2a4d (diff) | |
download | linux-crypto-0cf8e6a6bfa2cedf073fc13aeeb00e8b79d319e2.tar.gz linux-crypto-0cf8e6a6bfa2cedf073fc13aeeb00e8b79d319e2.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/Kconfig')
-rw-r--r-- | crypto/asymmetric_keys/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/asymmetric_keys/Kconfig b/crypto/asymmetric_keys/Kconfig index 14cac286..ca41be56 100644 --- a/crypto/asymmetric_keys/Kconfig +++ b/crypto/asymmetric_keys/Kconfig @@ -59,4 +59,13 @@ config PKCS7_TEST_KEY This is intended for testing the PKCS#7 parser. +config SIGNED_PE_FILE_VERIFICATION + bool "Support for PE file signature verification" + depends on PKCS7_MESSAGE_PARSER=y + select ASN1 + select OID_REGISTRY + help + This option provides support for verifying the signature(s) on a + signed PE binary. + endif # ASYMMETRIC_KEY_TYPE |