summaryrefslogtreecommitdiff
path: root/lib/crypto/blake2s.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2020-11-27 16:43:18 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2020-12-04 18:13:14 +1100
commitce0d5d63e897cc7c3a8fd043c7942fc6a78ec6f4 (patch)
tree38b2136e0be0056225d47fdee7c0faf4ff7fdaaa /lib/crypto/blake2s.c
parentf3456b9fd269c6d0c973b136c5449d46b2510f4b (diff)
crypto: lib/blake2s - Move selftest prototype into header file
This patch fixes a missing prototype warning on blake2s_selftest. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/crypto/blake2s.c')
-rw-r--r--lib/crypto/blake2s.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/crypto/blake2s.c b/lib/crypto/blake2s.c
index 41025a30c524..6a4b6b78d630 100644
--- a/lib/crypto/blake2s.c
+++ b/lib/crypto/blake2s.c
@@ -17,8 +17,6 @@
#include <linux/bug.h>
#include <asm/unaligned.h>
-bool blake2s_selftest(void);
-
void blake2s_update(struct blake2s_state *state, const u8 *in, size_t inlen)
{
const size_t fill = BLAKE2S_BLOCK_SIZE - state->buflen;