From 1ce5a098cac2c01fd79e42cc7fd76f7d33a6b9b4 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 19 Mar 2017 17:14:38 +0100 Subject: curve25519: add AVX implementation --- src/Kbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Kbuild') 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) -- cgit v1.2.3-59-g8ed1b