3c4a5cbb71
This reverts commit 6f0c4db90e
except for the
imported assembly files, which are left as-is but unused. Until upstream fixes
https://rt.openssl.org/Ticket/Display.html?id=4483, we shouldn't ship this
code. Once that bug has been fixed, we'll restore it.
Change-Id: I74aea18ce31a4b79657d04f8589c18d6b17f1578
Reviewed-on: https://boringssl-review.googlesource.com/7602
Reviewed-by: Emily Stark (Dunn) <estark@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
32 lines
421 B
CMake
32 lines
421 B
CMake
include_directories(../../include)
|
|
|
|
if (${ARCH} STREQUAL "arm")
|
|
set(
|
|
POLY1305_ARCH_SOURCES
|
|
|
|
poly1305_arm_asm.S
|
|
)
|
|
endif()
|
|
|
|
add_library(
|
|
poly1305
|
|
|
|
OBJECT
|
|
|
|
poly1305.c
|
|
poly1305_arm.c
|
|
poly1305_vec.c
|
|
|
|
${POLY1305_ARCH_SOURCES}
|
|
)
|
|
|
|
add_executable(
|
|
poly1305_test
|
|
|
|
poly1305_test.cc
|
|
$<TARGET_OBJECTS:test_support>
|
|
)
|
|
|
|
target_link_libraries(poly1305_test crypto)
|
|
add_dependencies(all_tests poly1305_test)
|