summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/zinc/poly1305/poly1305.c
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/poly1305/poly1305.c
parentfe82d0b68de57fa02cc59877b32414701e0ec373 (diff)
crypto: do not export symbols
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/zinc/poly1305/poly1305.c')
-rw-r--r--src/crypto/zinc/poly1305/poly1305.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/crypto/zinc/poly1305/poly1305.c b/src/crypto/zinc/poly1305/poly1305.c
index 7d373b9..a54bc33 100644
--- a/src/crypto/zinc/poly1305/poly1305.c
+++ b/src/crypto/zinc/poly1305/poly1305.c
@@ -64,7 +64,6 @@ void poly1305_init(struct poly1305_ctx *ctx, const u8 key[POLY1305_KEY_SIZE])
ctx->num = 0;
}
-EXPORT_SYMBOL(poly1305_init);
static inline void poly1305_blocks(void *ctx, const u8 *input, const size_t len,
const u32 padbit,
@@ -115,7 +114,6 @@ void poly1305_update(struct poly1305_ctx *ctx, const u8 *input, size_t len,
ctx->num = rem;
}
-EXPORT_SYMBOL(poly1305_update);
void poly1305_final(struct poly1305_ctx *ctx, u8 mac[POLY1305_MAC_SIZE],
simd_context_t *simd_context)
@@ -134,7 +132,6 @@ void poly1305_final(struct poly1305_ctx *ctx, u8 mac[POLY1305_MAC_SIZE],
memzero_explicit(ctx, sizeof(*ctx));
}
-EXPORT_SYMBOL(poly1305_final);
#include "../selftest/poly1305.c"