diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2020-11-27 08:43:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-30 10:33:24 +0300 |
commit | 0f8fcf5b6ed7ab1351064c87b1a5c47f9634f3c1 (patch) | |
tree | 43f8b71c1715a4de6a85ba61f2378291a987df4f /include/crypto/internal | |
parent | c3a4645d803e924c1a45e7df3cb57d76368d9240 (diff) | |
download | linux-0f8fcf5b6ed7ab1351064c87b1a5c47f9634f3c1.tar.xz |
crypto: lib/blake2s - Move selftest prototype into header file
commit ce0d5d63e897cc7c3a8fd043c7942fc6a78ec6f4 upstream.
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>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/crypto/internal')
-rw-r--r-- | include/crypto/internal/blake2s.h | 2 |
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; |