summaryrefslogtreecommitdiff
path: root/crypto/asymmetric_keys/Makefile
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2014-07-01 19:40:19 +0400
committerDavid Howells <dhowells@redhat.com>2014-07-08 16:49:56 +0400
commit2e3fadbf730fd0d13c891d5e555af3e7f39ca3f4 (patch)
tree8618dea8bfd135a9e81650adc3080883410fd30e /crypto/asymmetric_keys/Makefile
parentace0107a3936774e9da2c30cbdc99ad13c103c10 (diff)
downloadlinux-2e3fadbf730fd0d13c891d5e555af3e7f39ca3f4.tar.xz
PKCS#7: Implement a parser [RFC 2315]
Implement a parser for a PKCS#7 signed-data message as described in part of RFC 2315. 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/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/crypto/asymmetric_keys/Makefile b/crypto/asymmetric_keys/Makefile
index 0727204aab68..59d8cade5cfe 100644
--- a/crypto/asymmetric_keys/Makefile
+++ b/crypto/asymmetric_keys/Makefile
@@ -25,3 +25,16 @@ $(obj)/x509_rsakey-asn1.o: $(obj)/x509_rsakey-asn1.c $(obj)/x509_rsakey-asn1.h
clean-files += x509-asn1.c x509-asn1.h
clean-files += x509_rsakey-asn1.c x509_rsakey-asn1.h
+
+#
+# PKCS#7 message handling
+#
+obj-$(CONFIG_PKCS7_MESSAGE_PARSER) += pkcs7_message.o
+pkcs7_message-y := \
+ pkcs7-asn1.o \
+ pkcs7_parser.o
+
+$(obj)/pkcs7_parser.o: $(obj)/pkcs7-asn1.h
+$(obj)/pkcs7-asn1.o: $(obj)/pkcs7-asn1.c $(obj)/pkcs7-asn1.h
+
+clean-files += pkcs7-asn1.c pkcs7-asn1.h