diff options
author | David Howells <dhowells@redhat.com> | 2014-07-01 17:40:19 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2014-07-08 14:49:56 +0200 |
commit | 2e3fadbf730fd0d13c891d5e555af3e7f39ca3f4 (patch) | |
tree | 8618dea8bfd135a9e81650adc3080883410fd30e /crypto/asymmetric_keys/Makefile | |
parent | X.509: Export certificate parse and free functions (diff) | |
download | linux-2e3fadbf730fd0d13c891d5e555af3e7f39ca3f4.tar.xz linux-2e3fadbf730fd0d13c891d5e555af3e7f39ca3f4.zip |
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/Makefile | 13 |
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 |