Skip to content

Commit 15e99c8

Browse files
authored
Merge pull request #7820 from Laboratory-for-Safe-and-Secure-Systems/sha3_cmake
Build SHA3 assembly with INTEL_SPEEDUP
2 parents c3adf66 + aee446f commit 15e99c8

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

cmake/functions.cmake

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,10 @@ function(generate_lib_src_list LIB_SOURCES)
399399

400400
if(BUILD_SHA3)
401401
list(APPEND LIB_SOURCES wolfcrypt/src/sha3.c)
402+
403+
if(BUILD_INTELASM)
404+
list(APPEND LIB_SOURCES wolfcrypt/src/sha3_asm.S)
405+
endif()
402406
endif()
403407

404408
if(BUILD_DH)
@@ -582,6 +586,10 @@ function(generate_lib_src_list LIB_SOURCES)
582586

583587
if(NOT BUILD_FIPS_V2 AND BUILD_SHA3)
584588
list(APPEND LIB_SOURCES wolfcrypt/src/sha3.c)
589+
590+
if(BUILD_INTELASM)
591+
list(APPEND LIB_SOURCES wolfcrypt/src/sha3_asm.S)
592+
endif()
585593
endif()
586594
endif()
587595

0 commit comments

Comments
 (0)