1 add_library(pm3rrg_rdv4_mbedtls STATIC
2 ../../common/mbedtls/aes.c
3 ../../common/mbedtls/asn1parse.c
4 ../../common/mbedtls/asn1write.c
5 ../../common/mbedtls/base64.c
6 ../../common/mbedtls/bignum.c
7 ../../common/mbedtls/ctr_drbg.c
8 ../../common/mbedtls/entropy_poll.c
9 ../../common/mbedtls/entropy.c
10 ../../common/mbedtls/error.c
11 ../../common/mbedtls/ecp.c
12 ../../common/mbedtls/ecp_curves.c
13 ../../common/mbedtls/certs.c
14 ../../common/mbedtls/camellia.c
15 ../../common/mbedtls/blowfish.c
16 ../../common/mbedtls/cipher_wrap.c
17 ../../common/mbedtls/cipher.c
18 ../../common/mbedtls/cmac.c
19 ../../common/mbedtls/des.c
20 ../../common/mbedtls/ecdsa.c
21 ../../common/mbedtls/md.c
22 ../../common/mbedtls/md5.c
23 ../../common/mbedtls/oid.c
24 ../../common/mbedtls/pem.c
25 ../../common/mbedtls/arc4.c
26 ../../common/mbedtls/pk.c
27 ../../common/mbedtls/pk_wrap.c
28 ../../common/mbedtls/pkwrite.c
29 ../../common/mbedtls/pkcs5.c
30 ../../common/mbedtls/pkcs12.c
31 ../../common/mbedtls/pkparse.c
32 ../../common/mbedtls/platform.c
33 ../../common/mbedtls/platform_util.c
34 ../../common/mbedtls/rsa.c
35 ../../common/mbedtls/rsa_internal.c
36 ../../common/mbedtls/sha1.c
37 ../../common/mbedtls/sha256.c
38 ../../common/mbedtls/sha512.c
39 ../../common/mbedtls/threading.c
40 ../../common/mbedtls/x509.c
41 ../../common/mbedtls/x509_crl.c
42 ../../common/mbedtls/x509_crt.c
45 target_include_directories(pm3rrg_rdv4_mbedtls PRIVATE ../../common)
46 target_include_directories(pm3rrg_rdv4_mbedtls INTERFACE ../../common/mbedtls)
47 target_compile_options(pm3rrg_rdv4_mbedtls PRIVATE -Wall -Werror -O3)
48 set_property(TARGET pm3rrg_rdv4_mbedtls PROPERTY POSITION_INDEPENDENT_CODE ON)