mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 22:45:48 +01:00
3eb8c34e6a
Getting a lot of questions about how to use it. This will hopefully get people started.
64 lines
1.9 KiB
CMake
64 lines
1.9 KiB
CMake
add_executable(dh_client dh_client.c)
|
|
target_link_libraries(dh_client mbedtls)
|
|
|
|
add_executable(dh_genprime dh_genprime.c)
|
|
target_link_libraries(dh_genprime mbedtls)
|
|
|
|
add_executable(dh_server dh_server.c)
|
|
target_link_libraries(dh_server mbedtls)
|
|
|
|
add_executable(ecdh_curve25519 ecdh_curve25519.c)
|
|
target_link_libraries(ecdh_curve25519 mbedtls)
|
|
|
|
add_executable(ecdsa ecdsa.c)
|
|
target_link_libraries(ecdsa mbedtls)
|
|
|
|
add_executable(gen_key gen_key.c)
|
|
target_link_libraries(gen_key mbedtls)
|
|
|
|
add_executable(key_app key_app.c)
|
|
target_link_libraries(key_app mbedtls)
|
|
|
|
add_executable(key_app_writer key_app_writer.c)
|
|
target_link_libraries(key_app_writer mbedtls)
|
|
|
|
add_executable(mpi_demo mpi_demo.c)
|
|
target_link_libraries(mpi_demo mbedtls)
|
|
|
|
add_executable(rsa_genkey rsa_genkey.c)
|
|
target_link_libraries(rsa_genkey mbedtls)
|
|
|
|
add_executable(rsa_sign rsa_sign.c)
|
|
target_link_libraries(rsa_sign mbedtls)
|
|
|
|
add_executable(rsa_verify rsa_verify.c)
|
|
target_link_libraries(rsa_verify mbedtls)
|
|
|
|
add_executable(rsa_sign_pss rsa_sign_pss.c)
|
|
target_link_libraries(rsa_sign_pss mbedtls)
|
|
|
|
add_executable(rsa_verify_pss rsa_verify_pss.c)
|
|
target_link_libraries(rsa_verify_pss mbedtls)
|
|
|
|
add_executable(rsa_encrypt rsa_encrypt.c)
|
|
target_link_libraries(rsa_encrypt mbedtls)
|
|
|
|
add_executable(rsa_decrypt rsa_decrypt.c)
|
|
target_link_libraries(rsa_decrypt mbedtls)
|
|
|
|
add_executable(pk_sign pk_sign.c)
|
|
target_link_libraries(pk_sign mbedtls)
|
|
|
|
add_executable(pk_verify pk_verify.c)
|
|
target_link_libraries(pk_verify mbedtls)
|
|
|
|
add_executable(pk_encrypt pk_encrypt.c)
|
|
target_link_libraries(pk_encrypt mbedtls)
|
|
|
|
add_executable(pk_decrypt pk_decrypt.c)
|
|
target_link_libraries(pk_decrypt mbedtls)
|
|
|
|
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
|
|
DESTINATION "bin"
|
|
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
|