boringssl/crypto/md5/CMakeLists.txt
David Benjamin 9da9035b50 Add digest_test with tests for all existing EVP_MDs.
Remove the existing md5_test and sha1_test. They now are all covered by
digest_test. For good measure, test the one-shot functions too.

Change-Id: I8e144cc563fb8817144e26cbd2e10c15642464ba
Reviewed-on: https://boringssl-review.googlesource.com/2211
Reviewed-by: Adam Langley <agl@google.com>
2014-11-06 01:49:03 +00:00

31 lines
373 B
CMake

include_directories(. .. ../../include)
if (${ARCH} STREQUAL "x86_64")
set(
MD5_ARCH_SOURCES
md5-x86_64.${ASM_EXT}
)
endif()
if (${ARCH} STREQUAL "x86")
set(
MD5_ARCH_SOURCES
md5-586.${ASM_EXT}
)
endif()
add_library(
md5
OBJECT
md5.c
${MD5_ARCH_SOURCES}
)
perlasm(md5-x86_64.${ASM_EXT} asm/md5-x86_64.pl)
perlasm(md5-586.${ASM_EXT} asm/md5-586.pl)