aboutsummaryrefslogtreecommitdiffstats
path: root/lib/zinc/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-03-25 16:23:54 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-03-25 16:39:50 +0100
commit202e57de031608d6eb80e695dd9dec032e7d4542 (patch)
treed0b5ea5bfe15e9f2b229dcdf1070a38ec6e7a981 /lib/zinc/Makefile
parentsecurity/keys: rewrite big_key crypto to use Zinc (diff)
downloadlinux-dev-202e57de031608d6eb80e695dd9dec032e7d4542.tar.xz
linux-dev-202e57de031608d6eb80e695dd9dec032e7d4542.zip
zinc: use existing ChaCha20 x86_64 implementationjd/zinc-light
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'lib/zinc/Makefile')
-rw-r--r--lib/zinc/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/zinc/Makefile b/lib/zinc/Makefile
index b41b163380a9..159757576fcd 100644
--- a/lib/zinc/Makefile
+++ b/lib/zinc/Makefile
@@ -3,12 +3,11 @@ ccflags-y += -D'pr_fmt(fmt)="zinc: " fmt'
ccflags-$(CONFIG_ZINC_DEBUG) += -DDEBUG
zinc_chacha20-y := chacha20/chacha20.o
-zinc_chacha20-$(CONFIG_ZINC_ARCH_X86_64) += chacha20/chacha20-x86_64.o
zinc_chacha20-$(CONFIG_ZINC_ARCH_ARM) += chacha20/chacha20-arm.o chacha20/chacha20-unrolled-arm.o
zinc_chacha20-$(CONFIG_ZINC_ARCH_ARM64) += chacha20/chacha20-arm64.o
zinc_chacha20-$(CONFIG_ZINC_ARCH_MIPS) += chacha20/chacha20-mips.o
AFLAGS_chacha20-mips.o += -O2 # This is required to fill the branch delay slots
-perlasm-targets += chacha20/chacha20-x86_64.S chacha20/chacha20-arm.S chacha20/chacha20-arm64.S
+perlasm-targets += chacha20/chacha20-arm.S chacha20/chacha20-arm64.S
obj-$(CONFIG_ZINC_CHACHA20) += zinc_chacha20.o
zinc_poly1305-y := poly1305/poly1305.o