summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/zinc/chacha20
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-04-14 22:18:27 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-04-14 22:18:27 -0600
commit52978fcc265c472773b0b334d31705573ae8cb98 (patch)
tree0a2f002c877bf8c6d5346fbdc967497d46fe88f3 /src/crypto/zinc/chacha20
parentfe82d0b68de57fa02cc59877b32414701e0ec373 (diff)
crypto: do not export symbols
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/zinc/chacha20')
-rw-r--r--src/crypto/zinc/chacha20/chacha20.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/crypto/zinc/chacha20/chacha20.c b/src/crypto/zinc/chacha20/chacha20.c
index b4763c8..f4ca8b0 100644
--- a/src/crypto/zinc/chacha20/chacha20.c
+++ b/src/crypto/zinc/chacha20/chacha20.c
@@ -121,7 +121,6 @@ void chacha20(struct chacha20_ctx *ctx, u8 *dst, const u8 *src, u32 len,
if (!chacha20_arch(ctx, dst, src, len, simd_context))
chacha20_generic(ctx, dst, src, len);
}
-EXPORT_SYMBOL(chacha20);
static void hchacha20_generic(u32 derived_key[CHACHA20_KEY_WORDS],
const u8 nonce[HCHACHA20_NONCE_SIZE],
@@ -159,7 +158,6 @@ void hchacha20(u32 derived_key[CHACHA20_KEY_WORDS],
if (!hchacha20_arch(derived_key, nonce, key, simd_context))
hchacha20_generic(derived_key, nonce, key);
}
-EXPORT_SYMBOL(hchacha20);
#include "../selftest/chacha20.c"