summaryrefslogtreecommitdiffstats
path: root/lib/crypto/Makefile
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2019-11-13 09:45:01 +0900
committerTom Rini <trini@konsulko.com>2019-12-06 16:44:20 -0500
commite85a787c7d63592b6fd9214f0e202fcabca75cf4 (patch)
tree9f9df88d0d49e412bfbf7f66a3c7cf57e5ff0702 /lib/crypto/Makefile
parentb4adf627d5b7bdff649d3b852eab97d6f9191111 (diff)
downloadu-boot-e85a787c7d63592b6fd9214f0e202fcabca75cf4.tar.gz
u-boot-e85a787c7d63592b6fd9214f0e202fcabca75cf4.tar.xz
u-boot-e85a787c7d63592b6fd9214f0e202fcabca75cf4.zip
lib: crypto: add pkcs7 message parser
Imported from linux kernel v5.3: pkcs7.asn1 without changes pkcs7.h with changes marked as __UBOOT__ pkcs7_parser.h without changes pkcs7_parser.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Diffstat (limited to 'lib/crypto/Makefile')
-rw-r--r--lib/crypto/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/crypto/Makefile b/lib/crypto/Makefile
index d7e27be568..8267fee0a7 100644
--- a/lib/crypto/Makefile
+++ b/lib/crypto/Makefile
@@ -36,3 +36,14 @@ $(obj)/x509_cert_parser.o: \
$(obj)/x509.asn1.o: $(obj)/x509.asn1.c $(obj)/x509.asn1.h
$(obj)/x509_akid.asn1.o: $(obj)/x509_akid.asn1.c $(obj)/x509_akid.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