diff options
author | Vitaly Chikunov <vt@altlinux.org> | 2018-12-24 17:02:29 +0300 |
---|---|---|
committer | Vitaly Chikunov <vt@altlinux.org> | 2018-12-24 17:06:05 +0300 |
commit | a0a81f0ac7c6667fcbea017eb95ad79b91b83138 (patch) | |
tree | 671d88dcacd6c318d925ae466a3530059900b80c /CMakeLists.txt | |
parent | 50655599e6063059d00e2be8bfeb25ce93cf6fef (diff) | |
download | gost-engine-a0a81f0ac7c6667fcbea017eb95ad79b91b83138.zip gost-engine-a0a81f0ac7c6667fcbea017eb95ad79b91b83138.tar.gz gost-engine-a0a81f0ac7c6667fcbea017eb95ad79b91b83138.tar.bz2 |
benchmark: Extend sign/verify benchmark.
- Cycle through all supported parameters.
- Also do verification tests.
- Increase precision of timer (allow test to work faster).
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3aa5e73..9599681 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -154,6 +154,9 @@ add_test(NAME engine WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test) set_tests_properties(engine PROPERTIES ENVIRONMENT OPENSSL_ENGINES=${OUTPUT_DIRECTORY}) +add_executable(sign benchmark/sign.c) +target_link_libraries(sign gost_engine gost_core ${OPENSSL_CRYPTO_LIBRARY}) + add_library(gost_core STATIC ${GOST_LIB_SOURCE_FILES}) set_target_properties(gost_core PROPERTIES POSITION_INDEPENDENT_CODE ON) |