mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-12-05 00:03:00 -05:00
fixes issue 757 (#758)
* fixes issue 757 * Change date Co-authored-by: Douglas Stebila <dstebila@uwaterloo.ca>
This commit is contained in:
parent
d198d6c071
commit
e06866f883
@ -4,7 +4,7 @@ differently; the corresponding subfolder contains the license that applies in
|
|||||||
that case.
|
that case.
|
||||||
|
|
||||||
|
|
||||||
Copyright (c) 2016-2019 Open Quantum Safe project
|
Copyright (c) 2016-2020 Open Quantum Safe project
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
@ -27,11 +27,9 @@ if(OQS_USE_SHA3_OPENSSL)
|
|||||||
set(SHA3_IMPL ${SHA3_IMPL} sha3/sha3_ossl.c)
|
set(SHA3_IMPL ${SHA3_IMPL} sha3/sha3_ossl.c)
|
||||||
endif()
|
endif()
|
||||||
if(OQS_USE_AVX2_INSTRUCTIONS AND
|
if(OQS_USE_AVX2_INSTRUCTIONS AND
|
||||||
OQS_USE_AES_INSTRUCTIONS AND
|
|
||||||
NOT OQS_BUILD_PORTABLE)
|
NOT OQS_BUILD_PORTABLE)
|
||||||
set(SHA3_IMPL ${SHA3_IMPL} sha3/sha3x4.c)
|
set(SHA3_IMPL ${SHA3_IMPL} sha3/sha3x4.c)
|
||||||
add_compile_options(-mavx2)
|
add_compile_options(-mavx2)
|
||||||
add_compile_options(-maes)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(common OBJECT ${AES_IMPL}
|
add_library(common OBJECT ${AES_IMPL}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user