Linux 4.19.133
[linux/fpc-iii.git] / crypto / asymmetric_keys / Makefile
blobd4b2e1b2dc650837ae98489799a3431ee1ce70d4
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for asymmetric cryptographic keys
6 obj-$(CONFIG_ASYMMETRIC_KEY_TYPE) += asymmetric_keys.o
8 asymmetric_keys-y := \
9 asymmetric_type.o \
10 restrict.o \
11 signature.o
13 obj-$(CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE) += public_key.o
16 # X.509 Certificate handling
18 obj-$(CONFIG_X509_CERTIFICATE_PARSER) += x509_key_parser.o
19 x509_key_parser-y := \
20 x509.asn1.o \
21 x509_akid.asn1.o \
22 x509_cert_parser.o \
23 x509_public_key.o
25 $(obj)/x509_cert_parser.o: \
26 $(obj)/x509.asn1.h \
27 $(obj)/x509_akid.asn1.h
29 $(obj)/x509.asn1.o: $(obj)/x509.asn1.c $(obj)/x509.asn1.h
30 $(obj)/x509_akid.asn1.o: $(obj)/x509_akid.asn1.c $(obj)/x509_akid.asn1.h
33 # PKCS#7 message handling
35 obj-$(CONFIG_PKCS7_MESSAGE_PARSER) += pkcs7_message.o
36 pkcs7_message-y := \
37 pkcs7.asn1.o \
38 pkcs7_parser.o \
39 pkcs7_trust.o \
40 pkcs7_verify.o
42 $(obj)/pkcs7_parser.o: $(obj)/pkcs7.asn1.h
43 $(obj)/pkcs7.asn1.o: $(obj)/pkcs7.asn1.c $(obj)/pkcs7.asn1.h
46 # PKCS#7 parser testing key
48 obj-$(CONFIG_PKCS7_TEST_KEY) += pkcs7_test_key.o
49 pkcs7_test_key-y := \
50 pkcs7_key_type.o
53 # Signed PE binary-wrapped key handling
55 obj-$(CONFIG_SIGNED_PE_FILE_VERIFICATION) += verify_signed_pefile.o
57 verify_signed_pefile-y := \
58 verify_pefile.o \
59 mscode_parser.o \
60 mscode.asn1.o
62 $(obj)/mscode_parser.o: $(obj)/mscode.asn1.h $(obj)/mscode.asn1.h
63 $(obj)/mscode.asn1.o: $(obj)/mscode.asn1.c $(obj)/mscode.asn1.h