1# 2# Makefile for asymmetric cryptographic keys 3# 4 5obj-$(CONFIG_ASYMMETRIC_KEY_TYPE) += asymmetric_keys.o 6 7asymmetric_keys-y := asymmetric_type.o signature.o 8 9obj-$(CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE) += public_key.o 10obj-$(CONFIG_PUBLIC_KEY_ALGO_RSA) += rsa.o 11 12# 13# X.509 Certificate handling 14# 15obj-$(CONFIG_X509_CERTIFICATE_PARSER) += x509_key_parser.o 16x509_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 26clean-files += x509-asn1.c x509-asn1.h 27clean-files += x509_rsakey-asn1.c x509_rsakey-asn1.h 28