From 52978fcc265c472773b0b334d31705573ae8cb98 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 14 Apr 2020 22:18:27 -0600 Subject: crypto: do not export symbols Signed-off-by: Jason A. Donenfeld --- src/crypto/zinc/chacha20/chacha20.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/crypto/zinc/chacha20/chacha20.c') 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" -- cgit v1.2.3