mirror of https://github.com/wolfSSL/wolfssl.git
Merge pull request #7820 from Laboratory-for-Safe-and-Secure-Systems/sha3_cmake
Build SHA3 assembly with INTEL_SPEEDUPpull/7822/head
commit
15e99c8eff
|
@ -399,6 +399,10 @@ function(generate_lib_src_list LIB_SOURCES)
|
||||||
|
|
||||||
if(BUILD_SHA3)
|
if(BUILD_SHA3)
|
||||||
list(APPEND LIB_SOURCES wolfcrypt/src/sha3.c)
|
list(APPEND LIB_SOURCES wolfcrypt/src/sha3.c)
|
||||||
|
|
||||||
|
if(BUILD_INTELASM)
|
||||||
|
list(APPEND LIB_SOURCES wolfcrypt/src/sha3_asm.S)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(BUILD_DH)
|
if(BUILD_DH)
|
||||||
|
@ -582,6 +586,10 @@ function(generate_lib_src_list LIB_SOURCES)
|
||||||
|
|
||||||
if(NOT BUILD_FIPS_V2 AND BUILD_SHA3)
|
if(NOT BUILD_FIPS_V2 AND BUILD_SHA3)
|
||||||
list(APPEND LIB_SOURCES wolfcrypt/src/sha3.c)
|
list(APPEND LIB_SOURCES wolfcrypt/src/sha3.c)
|
||||||
|
|
||||||
|
if(BUILD_INTELASM)
|
||||||
|
list(APPEND LIB_SOURCES wolfcrypt/src/sha3_asm.S)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue