Skip to content

Commit

Permalink
Remove sm3 asm
Browse files Browse the repository at this point in the history
  • Loading branch information
guanzhi committed Sep 26, 2023
1 parent 52772c3 commit 551d493
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 533 deletions.
14 changes: 7 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -214,13 +214,13 @@ if (ENABLE_TLS_DEBUG)
add_definitions(-DTLS_DEBUG)
endif()

option(ENABLE_SM3_AVX_BMI2 "Enable SM3 AVX+BMI2 assembly implementation" OFF)
if (ENABLE_SM3_AVX_BMI2)
message(STATUS "ENABLE_SM3_AVX_BMI2")
add_definitions(-DSM3_AVX_BMI2)
enable_language(ASM)
list(APPEND src src/sm3_avx_bmi2.s)
endif()
#option(ENABLE_SM3_AVX_BMI2 "Enable SM3 AVX+BMI2 assembly implementation" OFF)
#if (ENABLE_SM3_AVX_BMI2)
# message(STATUS "ENABLE_SM3_AVX_BMI2")
# add_definitions(-DSM3_AVX_BMI2)
# enable_language(ASM)
# list(APPEND src src/sm3_avx_bmi2.s)
#endif()


option(ENABLE_SM4_AESNI_AVX "Enable SM4 AESNI+AVX assembly implementation" OFF)
Expand Down
Loading

0 comments on commit 551d493

Please sign in to comment.