1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
include_directories(. .. ../../include) add_library( rsa OBJECT rsa.c rsa_impl.c blinding.c padding.c rsa_asn1.c ) add_executable( rsa_test rsa_test.c $<TARGET_OBJECTS:test_support> ) target_link_libraries(rsa_test crypto)