Skip to content

Commit

Permalink
Update the crypto tests for all of the changes to signature classes
Browse files Browse the repository at this point in the history
Moved the signature tests into a separate file. Added a bunch of new
signature tests to ensure that uninitialized keys are handled correctly.
Removed signature tests for functions that no longer exist.

Introduced some macros that make it a little easier to make writing
and intepreting test failures a little easier.

Signed-off-by: Mic Bowman <[email protected]>
  • Loading branch information
cmickeyb committed Jan 8, 2024
1 parent 976cb1c commit 485ad23
Show file tree
Hide file tree
Showing 5 changed files with 797 additions and 368 deletions.
2 changes: 1 addition & 1 deletion common/tests/crypto/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ IF (BUILD_TRUSTED OR BUILD_UNTRUSTED)
ENDIF()
ENDIF()

SET(CRYPTO_TEST_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/testCrypto.cpp)
SET(CRYPTO_TEST_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/testCrypto.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_sig.cpp)
SET(CRYPTO_TEST_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR})

################################################################################
Expand Down
Loading

0 comments on commit 485ad23

Please sign in to comment.