summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/chacha20poly1305.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-01-19 17:13:09 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-01-19 17:16:28 +0100
commit5afdc2d772baf3991229b84c0ed04c0a9054c024 (patch)
treeea8b2aa230cf5deef15899ee71ab244cb7bc1f24 /src/crypto/chacha20poly1305.h
parent8b25399019131f96740bb0899eee409f90f61abd (diff)
poly1305: add poly-specific self-tests
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/chacha20poly1305.h')
-rw-r--r--src/crypto/chacha20poly1305.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crypto/chacha20poly1305.h b/src/crypto/chacha20poly1305.h
index f7824c7..62b48b9 100644
--- a/src/crypto/chacha20poly1305.h
+++ b/src/crypto/chacha20poly1305.h
@@ -87,6 +87,7 @@ static inline void chacha20poly1305_deinit_simd(bool was_on)
#ifdef DEBUG
bool chacha20poly1305_selftest(void);
+bool poly1305_selftest(void);
#endif
#endif /* _WG_CHACHA20POLY1305_H */