1add_executable(dh_client dh_client.c) 2target_link_libraries(dh_client mbedtls) 3 4add_executable(dh_genprime dh_genprime.c) 5target_link_libraries(dh_genprime mbedtls) 6 7add_executable(dh_server dh_server.c) 8target_link_libraries(dh_server mbedtls) 9 10add_executable(ecdh_curve25519 ecdh_curve25519.c) 11target_link_libraries(ecdh_curve25519 mbedtls) 12 13add_executable(ecdsa ecdsa.c) 14target_link_libraries(ecdsa mbedtls) 15 16add_executable(gen_key gen_key.c) 17target_link_libraries(gen_key mbedtls) 18 19add_executable(key_app key_app.c) 20target_link_libraries(key_app mbedtls) 21 22add_executable(key_app_writer key_app_writer.c) 23target_link_libraries(key_app_writer mbedtls) 24 25add_executable(mpi_demo mpi_demo.c) 26target_link_libraries(mpi_demo mbedtls) 27 28add_executable(rsa_genkey rsa_genkey.c) 29target_link_libraries(rsa_genkey mbedtls) 30 31add_executable(rsa_sign rsa_sign.c) 32target_link_libraries(rsa_sign mbedtls) 33 34add_executable(rsa_verify rsa_verify.c) 35target_link_libraries(rsa_verify mbedtls) 36 37add_executable(rsa_sign_pss rsa_sign_pss.c) 38target_link_libraries(rsa_sign_pss mbedtls) 39 40add_executable(rsa_verify_pss rsa_verify_pss.c) 41target_link_libraries(rsa_verify_pss mbedtls) 42 43add_executable(rsa_encrypt rsa_encrypt.c) 44target_link_libraries(rsa_encrypt mbedtls) 45 46add_executable(rsa_decrypt rsa_decrypt.c) 47target_link_libraries(rsa_decrypt mbedtls) 48 49add_executable(pk_sign pk_sign.c) 50target_link_libraries(pk_sign mbedtls) 51 52add_executable(pk_verify pk_verify.c) 53target_link_libraries(pk_verify mbedtls) 54 55add_executable(pk_encrypt pk_encrypt.c) 56target_link_libraries(pk_encrypt mbedtls) 57 58add_executable(pk_decrypt pk_decrypt.c) 59target_link_libraries(pk_decrypt mbedtls) 60 61install(TARGETS dh_client dh_genprime dh_server key_app mpi_demo rsa_genkey rsa_sign rsa_verify rsa_encrypt rsa_decrypt pk_encrypt pk_decrypt pk_sign pk_verify gen_key 62 DESTINATION "bin" 63 PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) 64