2009-06-28 23:50:27 +02:00
|
|
|
add_executable(dh_client dh_client.c)
|
2015-01-27 16:44:46 +01:00
|
|
|
target_link_libraries(dh_client mbedtls)
|
2009-06-28 23:50:27 +02:00
|
|
|
|
|
|
|
add_executable(dh_genprime dh_genprime.c)
|
2020-02-11 16:51:34 +01:00
|
|
|
target_link_libraries(dh_genprime mbedcrypto)
|
2009-06-28 23:50:27 +02:00
|
|
|
|
|
|
|
add_executable(dh_server dh_server.c)
|
2015-01-27 16:44:46 +01:00
|
|
|
target_link_libraries(dh_server mbedtls)
|
2009-06-28 23:50:27 +02:00
|
|
|
|
2015-10-09 13:11:14 +02:00
|
|
|
add_executable(ecdh_curve25519 ecdh_curve25519.c)
|
2020-02-11 16:51:34 +01:00
|
|
|
target_link_libraries(ecdh_curve25519 mbedcrypto)
|
2015-10-09 13:11:14 +02:00
|
|
|
|
2013-08-09 17:10:27 +02:00
|
|
|
add_executable(ecdsa ecdsa.c)
|
2020-02-11 16:51:34 +01:00
|
|
|
target_link_libraries(ecdsa mbedcrypto)
|
2013-08-09 17:10:27 +02:00
|
|
|
|
2013-09-23 12:05:44 +02:00
|
|
|
add_executable(gen_key gen_key.c)
|
2020-02-11 16:51:34 +01:00
|
|
|
target_link_libraries(gen_key mbedcrypto)
|
2013-09-23 12:05:44 +02:00
|
|
|
|
2011-07-13 13:26:43 +02:00
|
|
|
add_executable(key_app key_app.c)
|
2020-02-11 16:51:34 +01:00
|
|
|
target_link_libraries(key_app mbedcrypto)
|
2011-07-13 13:26:43 +02:00
|
|
|
|
2012-10-03 22:34:37 +02:00
|
|
|
add_executable(key_app_writer key_app_writer.c)
|
2020-02-11 16:51:34 +01:00
|
|
|
target_link_libraries(key_app_writer mbedcrypto)
|
2012-10-03 22:34:37 +02:00
|
|
|
|
2009-06-28 23:50:27 +02:00
|
|
|
add_executable(mpi_demo mpi_demo.c)
|
2020-02-11 16:51:34 +01:00
|
|
|
target_link_libraries(mpi_demo mbedcrypto)
|
2009-06-28 23:50:27 +02:00
|
|
|
|
|
|
|
add_executable(rsa_genkey rsa_genkey.c)
|
2020-02-11 16:51:34 +01:00
|
|
|
target_link_libraries(rsa_genkey mbedcrypto)
|
2009-06-28 23:50:27 +02:00
|
|
|
|
|
|
|
add_executable(rsa_sign rsa_sign.c)
|
2020-02-11 16:51:34 +01:00
|
|
|
target_link_libraries(rsa_sign mbedcrypto)
|
2009-06-28 23:50:27 +02:00
|
|
|
|
|
|
|
add_executable(rsa_verify rsa_verify.c)
|
2020-02-11 16:51:34 +01:00
|
|
|
target_link_libraries(rsa_verify mbedcrypto)
|
2011-01-05 16:07:54 +01:00
|
|
|
|
2011-03-25 15:26:42 +01:00
|
|
|
add_executable(rsa_sign_pss rsa_sign_pss.c)
|
2020-02-11 16:51:34 +01:00
|
|
|
target_link_libraries(rsa_sign_pss mbedcrypto)
|
2011-03-25 15:26:42 +01:00
|
|
|
|
|
|
|
add_executable(rsa_verify_pss rsa_verify_pss.c)
|
2020-02-11 16:51:34 +01:00
|
|
|
target_link_libraries(rsa_verify_pss mbedcrypto)
|
2011-03-25 15:26:42 +01:00
|
|
|
|
2011-08-09 12:30:36 +02:00
|
|
|
add_executable(rsa_encrypt rsa_encrypt.c)
|
2020-02-11 16:51:34 +01:00
|
|
|
target_link_libraries(rsa_encrypt mbedcrypto)
|
2011-08-09 12:30:36 +02:00
|
|
|
|
|
|
|
add_executable(rsa_decrypt rsa_decrypt.c)
|
2020-02-11 16:51:34 +01:00
|
|
|
target_link_libraries(rsa_decrypt mbedcrypto)
|
2011-08-09 12:30:36 +02:00
|
|
|
|
2013-09-18 15:34:57 +02:00
|
|
|
add_executable(pk_sign pk_sign.c)
|
2020-02-11 16:51:34 +01:00
|
|
|
target_link_libraries(pk_sign mbedcrypto)
|
2013-09-18 15:34:57 +02:00
|
|
|
|
|
|
|
add_executable(pk_verify pk_verify.c)
|
2020-02-11 16:51:34 +01:00
|
|
|
target_link_libraries(pk_verify mbedcrypto)
|
2013-09-18 15:34:57 +02:00
|
|
|
|
|
|
|
add_executable(pk_encrypt pk_encrypt.c)
|
2020-02-11 16:51:34 +01:00
|
|
|
target_link_libraries(pk_encrypt mbedcrypto)
|
2013-09-18 15:34:57 +02:00
|
|
|
|
|
|
|
add_executable(pk_decrypt pk_decrypt.c)
|
2020-02-11 16:51:34 +01:00
|
|
|
target_link_libraries(pk_decrypt mbedcrypto)
|
2013-09-18 15:34:57 +02:00
|
|
|
|
2013-09-23 12:05:44 +02:00
|
|
|
install(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
|
2011-01-05 16:07:54 +01:00
|
|
|
DESTINATION "bin"
|
|
|
|
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
|