Merge pull request #7820 from Laboratory-for-Safe-and-Secure-Systems/sha3_cmake

Build SHA3 assembly with INTEL_SPEEDUP
pull/7822/head
David Garske 2024-08-01 11:40:09 -07:00 committed by GitHub
commit 15e99c8eff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -399,6 +399,10 @@ function(generate_lib_src_list LIB_SOURCES)
if(BUILD_SHA3)
list(APPEND LIB_SOURCES wolfcrypt/src/sha3.c)
if(BUILD_INTELASM)
list(APPEND LIB_SOURCES wolfcrypt/src/sha3_asm.S)
endif()
endif()
if(BUILD_DH)
@ -582,6 +586,10 @@ function(generate_lib_src_list LIB_SOURCES)
if(NOT BUILD_FIPS_V2 AND BUILD_SHA3)
list(APPEND LIB_SOURCES wolfcrypt/src/sha3.c)
if(BUILD_INTELASM)
list(APPEND LIB_SOURCES wolfcrypt/src/sha3_asm.S)
endif()
endif()
endif()