diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-08 12:41:13 +1000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-16 21:49:04 +1000 |
commit | 06cc2afbbdf9a9e8df3e2f8db724997dd6e1b4ac (patch) | |
tree | 129aeece232242180c512f28a8d2823e28123b50 /include/crypto | |
parent | f441ba2ad34102692b9836923776f017b40afc88 (diff) | |
download | lwn-06cc2afbbdf9a9e8df3e2f8db724997dd6e1b4ac.tar.gz lwn-06cc2afbbdf9a9e8df3e2f8db724997dd6e1b4ac.zip |
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>
Diffstat (limited to 'include/crypto')
-rw-r--r-- | include/crypto/chacha20poly1305.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/crypto/chacha20poly1305.h b/include/crypto/chacha20poly1305.h index 234ee28078ef..d2ac3ff7dc1e 100644 --- a/include/crypto/chacha20poly1305.h +++ b/include/crypto/chacha20poly1305.h @@ -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 */ |