Jens Wiklander | a97bc4a | 2018-05-18 15:49:22 +0200 | [diff] [blame^] | 1 | global-incdirs-y += include |
| 2 | global-incdirs-y += mbedtls/include |
| 3 | |
| 4 | SRCS := |
| 5 | |
| 6 | # OBJS_CRYPTO from make file |
| 7 | SRCS += aes.c |
| 8 | SRCS += aesni.c |
| 9 | SRCS += arc4.c |
| 10 | SRCS += asn1parse.c |
| 11 | SRCS += asn1write.c |
| 12 | SRCS += base64.c |
| 13 | SRCS += bignum.c |
| 14 | SRCS += blowfish.c |
| 15 | SRCS += camellia.c |
| 16 | SRCS += ccm.c |
| 17 | SRCS += cipher.c |
| 18 | SRCS += cipher_wrap.c |
| 19 | SRCS += cmac.c |
| 20 | SRCS += ctr_drbg.c |
| 21 | SRCS += des.c |
| 22 | SRCS += dhm.c |
| 23 | SRCS += ecdh.c |
| 24 | SRCS += ecdsa.c |
| 25 | SRCS += ecjpake.c |
| 26 | SRCS += ecp.c |
| 27 | SRCS += ecp_curves.c |
| 28 | SRCS += entropy.c |
| 29 | SRCS += entropy_poll.c |
| 30 | SRCS += error.c |
| 31 | SRCS += gcm.c |
| 32 | SRCS += havege.c |
| 33 | SRCS += hmac_drbg.c |
| 34 | SRCS += md.c |
| 35 | SRCS += md2.c |
| 36 | SRCS += md4.c |
| 37 | SRCS += md5.c |
| 38 | SRCS += md_wrap.c |
| 39 | SRCS += memory_buffer_alloc.c |
| 40 | SRCS += oid.c |
| 41 | SRCS += padlock.c |
| 42 | SRCS += pem.c |
| 43 | SRCS += pk.c |
| 44 | SRCS += pk_wrap.c |
| 45 | SRCS += pkcs12.c |
| 46 | SRCS += pkcs5.c |
| 47 | SRCS += pkparse.c |
| 48 | SRCS += pkwrite.c |
| 49 | SRCS += platform.c |
| 50 | SRCS += ripemd160.c |
| 51 | SRCS += rsa.c |
| 52 | SRCS += sha1.c |
| 53 | SRCS += sha256.c |
| 54 | SRCS += sha512.c |
| 55 | SRCS += threading.c |
| 56 | SRCS += timing.c |
| 57 | SRCS += version.c |
| 58 | SRCS += version_features.c |
| 59 | SRCS += xtea.c |
| 60 | |
| 61 | # OBJS_X509 |
| 62 | SRCS += certs.c |
| 63 | SRCS += pkcs11.c |
| 64 | SRCS += x509.c |
| 65 | SRCS += x509_create.c |
| 66 | SRCS += x509_crl.c |
| 67 | SRCS += x509_crt.c |
| 68 | SRCS += x509_csr.c |
| 69 | SRCS += x509write_crt.c |
| 70 | SRCS += x509write_csr.c |
| 71 | |
| 72 | # OBJS_TLS |
| 73 | SRCS += debug.c |
| 74 | SRCS += net_sockets.c |
| 75 | SRCS += ssl_cache.c |
| 76 | SRCS += ssl_ciphersuites.c |
| 77 | SRCS += ssl_cli.c |
| 78 | SRCS += ssl_cookie.c |
| 79 | SRCS += ssl_srv.c |
| 80 | SRCS += ssl_ticket.c |
| 81 | SRCS += ssl_tls.c |
| 82 | |
| 83 | srcs-y += $(addprefix mbedtls/library/, $(SRCS)) |
| 84 | |
| 85 | cflags-lib-y += -Wno-redundant-decls |
| 86 | cflags-lib-y += -Wno-switch-default |
| 87 | cflags-lib-$(CFG_ULIBS_GPROF) += -pg |