aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/Kbuild
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-03-19 17:14:38 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-03-19 23:11:31 +0100
commit1ce5a098cac2c01fd79e42cc7fd76f7d33a6b9b4 (patch)
tree1b9abb7a20761d245d88f2acfb8d5c161956175c /src/Kbuild
parentblake2s: add AVX implementation (diff)
downloadwireguard-monolithic-historical-1ce5a098cac2c01fd79e42cc7fd76f7d33a6b9b4.tar.xz
wireguard-monolithic-historical-1ce5a098cac2c01fd79e42cc7fd76f7d33a6b9b4.zip
curve25519: add AVX implementation
Diffstat (limited to '')
-rw-r--r--src/Kbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Kbuild b/src/Kbuild
index 35dade7..bbde348 100644
--- a/src/Kbuild
+++ b/src/Kbuild
@@ -8,7 +8,7 @@ ifeq ($(CONFIG_X86_64),y)
wireguard-y += crypto/chacha20-ssse3-x86_64.o crypto/poly1305-sse2-x86_64.o
avx_supported := $(call as-instr,vpxor %xmm0$(comma)%xmm0$(comma)%xmm0,yes,no)
ifeq ($(avx_supported),yes)
- wireguard-y += crypto/blake2s-avx-x86_64.o
+ wireguard-y += crypto/blake2s-avx-x86_64.o crypto/curve25519-avx-x86_64.o
endif
avx2_supported := $(call as-instr,vpgatherdd %ymm0$(comma)(%eax$(comma)%ymm1$(comma)4)$(comma)%ymm2,yes,no)
ifeq ($(avx2_supported),yes)