aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/zinc/chacha20/chacha20-x86_64-glue.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-09-17 18:55:12 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-09-17 23:40:54 +0200
commit903833a3cf9c7c357730cde99937b7eb81abc5c9 (patch)
treec6f2ec8692ba68c3f0640b0849c59a2ab8bf7726 /src/crypto/zinc/chacha20/chacha20-x86_64-glue.h
parentpoly1305-x86_64: don't activate simd for small blocks (diff)
downloadwireguard-monolithic-historical-903833a3cf9c7c357730cde99937b7eb81abc5c9.tar.xz
wireguard-monolithic-historical-903833a3cf9c7c357730cde99937b7eb81abc5c9.zip
crypto: do not use -include trick
Diffstat (limited to 'src/crypto/zinc/chacha20/chacha20-x86_64-glue.h')
-rw-r--r--src/crypto/zinc/chacha20/chacha20-x86_64-glue.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/crypto/zinc/chacha20/chacha20-x86_64-glue.h b/src/crypto/zinc/chacha20/chacha20-x86_64-glue.h
index aef9697..e9a0d1e 100644
--- a/src/crypto/zinc/chacha20/chacha20-x86_64-glue.h
+++ b/src/crypto/zinc/chacha20/chacha20-x86_64-glue.h
@@ -3,7 +3,6 @@
* Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
*/
-#include <zinc/chacha20.h>
#include <asm/fpu/api.h>
#include <asm/cpufeature.h>
#include <asm/processor.h>
@@ -101,5 +100,3 @@ static inline bool hchacha20_arch(u8 *derived_key, const u8 *nonce,
#endif
return false;
}
-
-#define HAVE_CHACHA20_ARCH_IMPLEMENTATION