2 # Makefile for asymmetric cryptographic keys
5 obj-
$(CONFIG_ASYMMETRIC_KEY_TYPE
) += asymmetric_keys.o
12 obj-
$(CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE
) += public_key.o
15 # X.509 Certificate handling
17 obj-
$(CONFIG_X509_CERTIFICATE_PARSER
) += x509_key_parser.o
18 x509_key_parser-y
:= \
24 $(obj
)/x509_cert_parser.o
: \
26 $(obj
)/x509_akid-asn1.h
28 $(obj
)/x509-asn1.o
: $(obj
)/x509-asn1.c
$(obj
)/x509-asn1.h
29 $(obj
)/x509_akid-asn1.o
: $(obj
)/x509_akid-asn1.c
$(obj
)/x509_akid-asn1.h
31 clean-files
+= x509-asn1.c x509-asn1.h
32 clean-files
+= x509_akid-asn1.c x509_akid-asn1.h
35 # PKCS#7 message handling
37 obj-
$(CONFIG_PKCS7_MESSAGE_PARSER
) += pkcs7_message.o
44 $(obj
)/pkcs7_parser.o
: $(obj
)/pkcs7-asn1.h
45 $(obj
)/pkcs7-asn1.o
: $(obj
)/pkcs7-asn1.c
$(obj
)/pkcs7-asn1.h
47 clean-files
+= pkcs7-asn1.c pkcs7-asn1.h
50 # PKCS#7 parser testing key
52 obj-
$(CONFIG_PKCS7_TEST_KEY
) += pkcs7_test_key.o
57 # Signed PE binary-wrapped key handling
59 obj-
$(CONFIG_SIGNED_PE_FILE_VERIFICATION
) += verify_signed_pefile.o
61 verify_signed_pefile-y
:= \
66 $(obj
)/mscode_parser.o
: $(obj
)/mscode-asn1.h
$(obj
)/mscode-asn1.h
67 $(obj
)/mscode-asn1.o
: $(obj
)/mscode-asn1.c
$(obj
)/mscode-asn1.h
69 clean-files
+= mscode-asn1.c mscode-asn1.h