Add the MD4 message digest algorithm draft implementation

This commit is contained in:
hashlag
2025-07-27 02:19:38 +03:00
parent 88d06697fa
commit 2d95f655bf
4 changed files with 491 additions and 0 deletions

20
ChaosTests/CMakeLists.txt Normal file
View File

@@ -0,0 +1,20 @@
include(FetchContent)
FetchContent_Declare(
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG v1.17.0
)
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
FetchContent_MakeAvailable(googletest)
add_executable(ChaosTests Md4HasherTests.cpp)
target_link_libraries(ChaosTests gtest gtest_main)
target_include_directories(ChaosTests PRIVATE
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/Chaos>
)
include(GoogleTest)
gtest_discover_tests(ChaosTests)