Commit 60568157 authored by johan's avatar johan

Add test suite for crypto module

- target DHM, ECDH and EdDSA
- todo: add tests for others crypto primitives
parent 6b0ce46c
......@@ -32,6 +32,7 @@ if(BCUNIT_FOUND AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
bctoolbox_tester.h
containers.cc
port.c
crypto.c
)
string(REPLACE ";" " " LINK_FLAGS_STR "${LINK_FLAGS}")
......
......@@ -46,6 +46,7 @@ void bctoolbox_tester_init(void(*ftester_printf)(int level, const char *fmt, va_
bc_tester_init(log_handler,BCTBX_LOG_ERROR, 0,NULL);
bc_tester_add_suite(&containers_test_suite);
bc_tester_add_suite(&utils_test_suite);
bc_tester_add_suite(&crypto_test_suite);
}
void bctoolbox_tester_uninit(void) {
......
......@@ -34,6 +34,7 @@ extern "C" {
extern test_suite_t containers_test_suite;
extern test_suite_t utils_test_suite;
extern test_suite_t crypto_test_suite;
#ifdef __cplusplus
};
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment