summaryrefslogtreecommitdiffstatshomepage
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
commitc80cbfaa5f13a847a3b789f3d14f5e725c9126cb (patch)
tree2cd20026bb609e2153367be6738e4a1733716d03 /src/crypto/chacha20poly1305.h
parentcurve25519-fiat32: uninline certain functions (diff)
downloadwireguard-monolithic-historical-c80cbfaa5f13a847a3b789f3d14f5e725c9126cb.tar.xz
wireguard-monolithic-historical-c80cbfaa5f13a847a3b789f3d14f5e725c9126cb.zip
poly1305: add poly-specific self-tests
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 */