summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/zinc/blake2s/blake2s.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/blake2s/blake2s.c
parentfe82d0b68de57fa02cc59877b32414701e0ec373 (diff)
crypto: do not export symbols
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/zinc/blake2s/blake2s.c')
-rw-r--r--src/crypto/zinc/blake2s/blake2s.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/crypto/zinc/blake2s/blake2s.c b/src/crypto/zinc/blake2s/blake2s.c
index e9e0bda..a9b8a8d 100644
--- a/src/crypto/zinc/blake2s/blake2s.c
+++ b/src/crypto/zinc/blake2s/blake2s.c
@@ -66,7 +66,6 @@ void blake2s_init(struct blake2s_state *state, const size_t outlen)
blake2s_init_param(state, 0x01010000 | outlen);
state->outlen = outlen;
}
-EXPORT_SYMBOL(blake2s_init);
void blake2s_init_key(struct blake2s_state *state, const size_t outlen,
const void *key, const size_t keylen)
@@ -81,7 +80,6 @@ void blake2s_init_key(struct blake2s_state *state, const size_t outlen,
blake2s_update(state, block, BLAKE2S_BLOCK_SIZE);
memzero_explicit(block, BLAKE2S_BLOCK_SIZE);
}
-EXPORT_SYMBOL(blake2s_init_key);
#if defined(CONFIG_ZINC_ARCH_X86_64)
#include "blake2s-x86_64-glue.c"
@@ -192,7 +190,6 @@ void blake2s_update(struct blake2s_state *state, const u8 *in, size_t inlen)
memcpy(state->buf + state->buflen, in, inlen);
state->buflen += inlen;
}
-EXPORT_SYMBOL(blake2s_update);
void blake2s_final(struct blake2s_state *state, u8 *out)
{
@@ -205,7 +202,6 @@ void blake2s_final(struct blake2s_state *state, u8 *out)
memcpy(out, state->h, state->outlen);
memzero_explicit(state, sizeof(*state));
}
-EXPORT_SYMBOL(blake2s_final);
void blake2s_hmac(u8 *out, const u8 *in, const u8 *key, const size_t outlen,
const size_t inlen, const size_t keylen)
@@ -242,7 +238,6 @@ void blake2s_hmac(u8 *out, const u8 *in, const u8 *key, const size_t outlen,
memzero_explicit(x_key, BLAKE2S_BLOCK_SIZE);
memzero_explicit(i_hash, BLAKE2S_HASH_SIZE);
}
-EXPORT_SYMBOL(blake2s_hmac);
#include "../selftest/blake2s.c"