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