mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 15:39:07 +00:00
Fix
This commit is contained in:
parent
424bd89890
commit
94ec8d340e
@ -215,6 +215,9 @@ set(
|
|||||||
define_kem_alg(kyber512_clean
|
define_kem_alg(kyber512_clean
|
||||||
PQCLEAN_KYBER512_CLEAN "${SRC_CLEAN_KYBER512}" "${INC_CLEAN_KYBER512}")
|
PQCLEAN_KYBER512_CLEAN "${SRC_CLEAN_KYBER512}" "${INC_CLEAN_KYBER512}")
|
||||||
|
|
||||||
|
# AVX2 targets
|
||||||
|
if(${ARCH} STREQUAL "ARCH_x86_64")
|
||||||
|
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=haswell")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=haswell")
|
||||||
set(
|
set(
|
||||||
SRC_AVX2_KYBER512
|
SRC_AVX2_KYBER512
|
||||||
@ -235,7 +238,6 @@ set(
|
|||||||
crypto_kem/kyber512/avx2/shuffle.S
|
crypto_kem/kyber512/avx2/shuffle.S
|
||||||
)
|
)
|
||||||
|
|
||||||
if(${ARCH} STREQUAL "ARCH_x86_64")
|
|
||||||
set(
|
set(
|
||||||
INC_AVX2_KYBER512
|
INC_AVX2_KYBER512
|
||||||
crypto_kem/kyber512/avx2
|
crypto_kem/kyber512/avx2
|
||||||
|
Loading…
Reference in New Issue
Block a user