diff options
| author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2026-01-23 18:45:34 +0100 |
|---|---|---|
| committer | Sander Vrijders <sander@ouroboros.rocks> | 2026-01-26 07:47:51 +0100 |
| commit | f60b67a6fcbed7329f7d27511e8c572dc252934e (patch) | |
| tree | 91c4e3f38c037ec740865adba7a9e46e1e4eb8db /src/lib/tests/CMakeLists.txt | |
| parent | a1ac8d6c95d75f7b291cc27feddc9ad429eb3fed (diff) | |
| download | ouroboros-f60b67a6fcbed7329f7d27511e8c572dc252934e.tar.gz ouroboros-f60b67a6fcbed7329f7d27511e8c572dc252934e.zip | |
lib: Speed up key rotation tests
The tests were not correct as the library was compiled with the
default 1 << 20 epoch. Added a parametere to the sk configuration that
specifies the epoch size. Set to 1 << KEY_ROTATION_BIT in dev.c, but
lowered to 7 in unit tests.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/tests/CMakeLists.txt')
| -rw-r--r-- | src/lib/tests/CMakeLists.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/tests/CMakeLists.txt b/src/lib/tests/CMakeLists.txt index fe4c1342..6ab69bd1 100644 --- a/src/lib/tests/CMakeLists.txt +++ b/src/lib/tests/CMakeLists.txt @@ -26,7 +26,6 @@ add_executable(${PARENT_DIR}_test ${${PARENT_DIR}_tests}) disable_test_logging_for_target(${PARENT_DIR}_test) target_link_libraries(${PARENT_DIR}_test ouroboros-common) -target_compile_definitions(${PARENT_DIR}_test PRIVATE TEST_KEY_ROTATION_BIT=10) add_dependencies(build_tests ${PARENT_DIR}_test) |
