2 # Makefile for asymmetric cryptographic keys
5 obj-
$(CONFIG_ASYMMETRIC_KEY_TYPE
) += asymmetric_keys.o
7 asymmetric_keys-y
:= asymmetric_type.o signature.o
9 obj-
$(CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE
) += public_key.o
12 # X.509 Certificate handling
14 obj-
$(CONFIG_X509_CERTIFICATE_PARSER
) += x509_key_parser.o
15 x509_key_parser-y
:= \
21 $(obj
)/x509_cert_parser.o
: \
23 $(obj
)/x509_akid-asn1.h
25 $(obj
)/x509-asn1.o
: $(obj
)/x509-asn1.c
$(obj
)/x509-asn1.h
26 $(obj
)/x509_akid-asn1.o
: $(obj
)/x509_akid-asn1.c
$(obj
)/x509_akid-asn1.h
28 clean-files
+= x509-asn1.c x509-asn1.h
29 clean-files
+= x509_akid-asn1.c x509_akid-asn1.h
32 # PKCS#7 message handling
34 obj-
$(CONFIG_PKCS7_MESSAGE_PARSER
) += pkcs7_message.o
41 $(obj
)/pkcs7_parser.o
: $(obj
)/pkcs7-asn1.h
42 $(obj
)/pkcs7-asn1.o
: $(obj
)/pkcs7-asn1.c
$(obj
)/pkcs7-asn1.h
44 clean-files
+= pkcs7-asn1.c pkcs7-asn1.h
47 # PKCS#7 parser testing key
49 obj-
$(CONFIG_PKCS7_TEST_KEY
) += pkcs7_test_key.o
54 # Signed PE binary-wrapped key handling
56 obj-
$(CONFIG_SIGNED_PE_FILE_VERIFICATION
) += verify_signed_pefile.o
58 verify_signed_pefile-y
:= \
63 $(obj
)/mscode_parser.o
: $(obj
)/mscode-asn1.h
$(obj
)/mscode-asn1.h
64 $(obj
)/mscode-asn1.o
: $(obj
)/mscode-asn1.c
$(obj
)/mscode-asn1.h
66 clean-files
+= mscode-asn1.c mscode-asn1.h