| include_directories(../../include) |
| if (${ARCH} STREQUAL "x86_64") |
| aesni-gcm-x86_64.${ASM_EXT} |
| if (${ARCH} STREQUAL "x86") |
| if (${ARCH} STREQUAL "arm") |
| if (${ARCH} STREQUAL "aarch64") |
| if (${ARCH} STREQUAL "ppc64le") |
| perlasm(aesni-gcm-x86_64.${ASM_EXT} asm/aesni-gcm-x86_64.pl) |
| perlasm(ghash-x86_64.${ASM_EXT} asm/ghash-x86_64.pl) |
| perlasm(ghash-x86.${ASM_EXT} asm/ghash-x86.pl) |
| perlasm(ghash-armv4.${ASM_EXT} asm/ghash-armv4.pl) |
| perlasm(ghashv8-armx.${ASM_EXT} asm/ghashv8-armx.pl) |
| perlasm(ghashp8-ppc.${ASM_EXT} asm/ghashp8-ppc.pl) |
| $<TARGET_OBJECTS:test_support> |
| target_link_libraries(gcm_test crypto) |
| add_dependencies(all_tests gcm_test) |