aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto
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 /include/crypto
parentcrypto: arm/aes-ce - work around Cortex-A57/A72 silion errata (diff)
downloadlinux-dev-ce0d5d63e897cc7c3a8fd043c7942fc6a78ec6f4.tar.xz
linux-dev-ce0d5d63e897cc7c3a8fd043c7942fc6a78ec6f4.zip
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 'include/crypto')
-rw-r--r--include/crypto/internal/blake2s.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/crypto/internal/blake2s.h b/include/crypto/internal/blake2s.h
index 74ff77032e52..6e376ae6b6b5 100644
--- a/include/crypto/internal/blake2s.h
+++ b/include/crypto/internal/blake2s.h
@@ -16,6 +16,8 @@ void blake2s_compress_generic(struct blake2s_state *state,const u8 *block,
void blake2s_compress_arch(struct blake2s_state *state,const u8 *block,
size_t nblocks, const u32 inc);
+bool blake2s_selftest(void);
+
static inline void blake2s_set_lastblock(struct blake2s_state *state)
{
state->f[0] = -1;