diff options
author | Vitaly Chikunov <vt@altlinux.org> | 2019-04-10 17:43:45 +0000 |
---|---|---|
committer | Vitaly Chikunov <vt@altlinux.org> | 2019-04-10 21:16:31 +0300 |
commit | 0232aa9efea28d3a3ecde4f8ce8ce9c96189af30 (patch) | |
tree | 0b4be648975dfc6e4cc71a42a8d40e6f272d1572 /CMakeLists.txt | |
parent | 89d1db9116738da5ed5de417c63da5e8be214b4d (diff) | |
download | gost-engine-0232aa9efea28d3a3ecde4f8ce8ce9c96189af30.zip gost-engine-0232aa9efea28d3a3ecde4f8ce8ce9c96189af30.tar.gz gost-engine-0232aa9efea28d3a3ecde4f8ce8ce9c96189af30.tar.bz2 |
test_digest: simple digest tests
Especially test alginment problems on MIPSel.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f019f14..2ea9574 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -135,6 +135,11 @@ set(GOST_ENGINE_SOURCE_FILES gost_omac_acpkm.c ) +add_executable(test_digest test_digest.c) +target_link_libraries(test_digest gost_engine gost_core ${OPENSSL_CRYPTO_LIBRARY}) +add_test(NAME digest + COMMAND test_digest) + add_executable(test_curves test_curves.c) target_link_libraries(test_curves gost_engine gost_core ${OPENSSL_CRYPTO_LIBRARY}) add_test(NAME curves @@ -189,6 +194,7 @@ target_link_libraries(sign gost_engine gost_core ${OPENSSL_CRYPTO_LIBRARY} ${CLO # All that may need to load just built engine will have path to it defined. set(BINARY_TESTS_TARGETS + test_digest test_curves test_params test_sign |