From fa5326facc6511376ffc198147061d8e0e81f9d9 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 1 Feb 2018 16:21:51 +0100 Subject: curve25519: use precomp implementation instead of sandy2x It's faster and doesn't use the FPU. --- src/Kbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Kbuild') diff --git a/src/Kbuild b/src/Kbuild index 5ffc1b9..3569ec3 100644 --- a/src/Kbuild +++ b/src/Kbuild @@ -9,7 +9,7 @@ ccflags-y += -D'pr_fmt(fmt)=KBUILD_MODNAME ": " fmt' wireguard-y := main.o noise.o device.o peer.o timers.o queueing.o send.o receive.o socket.o hashtables.o allowedips.o ratelimiter.o cookie.o netlink.o wireguard-y += crypto/curve25519.o crypto/chacha20poly1305.o crypto/blake2s.o -wireguard-$(CONFIG_X86_64) += crypto/chacha20-x86_64.o crypto/poly1305-x86_64.o crypto/blake2s-x86_64.o crypto/curve25519-x86_64.o +wireguard-$(CONFIG_X86_64) += crypto/chacha20-x86_64.o crypto/poly1305-x86_64.o crypto/blake2s-x86_64.o wireguard-$(CONFIG_ARM) += crypto/chacha20-arm.o crypto/poly1305-arm.o crypto/curve25519-arm.o wireguard-$(CONFIG_ARM64) += crypto/chacha20-arm64.o crypto/poly1305-arm64.o wireguard-$(if $(filter yy,$(CONFIG_MIPS)$(CONFIG_64BIT)),y,n) += crypto/poly1305-mips64.o -- cgit v1.2.3-59-g8ed1b