David Howells | 964f3b3 | 2012-09-13 15:17:21 +0100 | [diff] [blame] | 1 | # |
| 2 | # Makefile for asymmetric cryptographic keys |
| 3 | # |
| 4 | |
| 5 | obj-$(CONFIG_ASYMMETRIC_KEY_TYPE) += asymmetric_keys.o |
| 6 | |
David Howells | 4ae71c1 | 2012-09-21 23:25:04 +0100 | [diff] [blame] | 7 | asymmetric_keys-y := asymmetric_type.o signature.o |
David Howells | a9681bf | 2012-09-21 23:24:55 +0100 | [diff] [blame] | 8 | |
| 9 | obj-$(CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE) += public_key.o |
David Howells | 612e0fe | 2012-09-21 23:25:40 +0100 | [diff] [blame] | 10 | obj-$(CONFIG_PUBLIC_KEY_ALGO_RSA) += rsa.o |
David Howells | c26fd69 | 2012-09-24 17:11:48 +0100 | [diff] [blame] | 11 | |
| 12 | # |
| 13 | # X.509 Certificate handling |
| 14 | # |
| 15 | obj-$(CONFIG_X509_CERTIFICATE_PARSER) += x509_key_parser.o |
| 16 | x509_key_parser-y := \ |
| 17 | x509-asn1.o \ |
| 18 | x509_rsakey-asn1.o \ |
| 19 | x509_cert_parser.o \ |
| 20 | x509_public_key.o |
| 21 | |
| 22 | $(obj)/x509_cert_parser.o: $(obj)/x509-asn1.h $(obj)/x509_rsakey-asn1.h |
| 23 | $(obj)/x509-asn1.o: $(obj)/x509-asn1.c $(obj)/x509-asn1.h |
| 24 | $(obj)/x509_rsakey-asn1.o: $(obj)/x509_rsakey-asn1.c $(obj)/x509_rsakey-asn1.h |
| 25 | |
| 26 | clean-files += x509-asn1.c x509-asn1.h |
| 27 | clean-files += x509_rsakey-asn1.c x509_rsakey-asn1.h |
David Howells | 2e3fadb | 2014-07-01 16:40:19 +0100 | [diff] [blame^] | 28 | |
| 29 | # |
| 30 | # PKCS#7 message handling |
| 31 | # |
| 32 | obj-$(CONFIG_PKCS7_MESSAGE_PARSER) += pkcs7_message.o |
| 33 | pkcs7_message-y := \ |
| 34 | pkcs7-asn1.o \ |
| 35 | pkcs7_parser.o |
| 36 | |
| 37 | $(obj)/pkcs7_parser.o: $(obj)/pkcs7-asn1.h |
| 38 | $(obj)/pkcs7-asn1.o: $(obj)/pkcs7-asn1.c $(obj)/pkcs7-asn1.h |
| 39 | |
| 40 | clean-files += pkcs7-asn1.c pkcs7-asn1.h |