| include_directories(../../include) |
| if (${ARCH} STREQUAL "x86_64") |
| if (${ARCH} STREQUAL "x86") |
| if (${ARCH} STREQUAL "arm") |
| if (${ARCH} STREQUAL "aarch64") |
| if (${ARCH} STREQUAL "ppc64le") |
| perlasm(aes-x86_64.${ASM_EXT} asm/aes-x86_64.pl) |
| perlasm(aesni-x86_64.${ASM_EXT} asm/aesni-x86_64.pl) |
| perlasm(bsaes-x86_64.${ASM_EXT} asm/bsaes-x86_64.pl) |
| perlasm(vpaes-x86_64.${ASM_EXT} asm/vpaes-x86_64.pl) |
| perlasm(aes-586.${ASM_EXT} asm/aes-586.pl) |
| perlasm(vpaes-x86.${ASM_EXT} asm/vpaes-x86.pl) |
| perlasm(aesni-x86.${ASM_EXT} asm/aesni-x86.pl) |
| perlasm(aes-armv4.${ASM_EXT} asm/aes-armv4.pl) |
| perlasm(bsaes-armv7.${ASM_EXT} asm/bsaes-armv7.pl) |
| perlasm(aesv8-armx.${ASM_EXT} asm/aesv8-armx.pl) |
| perlasm(aesp8-ppc.${ASM_EXT} asm/aesp8-ppc.pl) |
| $<TARGET_OBJECTS:test_support> |
| target_link_libraries(aes_test crypto) |
| add_dependencies(all_tests aes_test) |