UPSTREAM: crypto: lib/chacha20poly1305 - Add missing function declaration
This patch adds a declaration for chacha20poly1305_selftest to silence a sparse warning. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> (cherry picked from commit 06cc2afbbdf9a9e8df3e2f8db724997dd6e1b4ac) Bug: 152722841 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I9dc1c6df2e73e6a60d81f24384e8363309d6d109
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
792cfa1b07
commit
08c570826d
@ -45,4 +45,6 @@ bool chacha20poly1305_decrypt_sg_inplace(struct scatterlist *src, size_t src_len
|
||||
const u64 nonce,
|
||||
const u8 key[CHACHA20POLY1305_KEY_SIZE]);
|
||||
|
||||
bool chacha20poly1305_selftest(void);
|
||||
|
||||
#endif /* __CHACHA20POLY1305_H */
|
||||
|
||||
Reference in New Issue
Block a user