aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/chacha20poly1305.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-06-25 01:28:18 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-06-25 16:48:39 +0200
commit3e8c04a03f4070e23fc737f30c25a79d5958d734 (patch)
tree23354ba5aec33b7068421524c3e514767a1e42fb /src/crypto/chacha20poly1305.h
parentnonce: switch to RFC6479 to better support packet reordering (diff)
downloadwireguard-monolithic-historical-3e8c04a03f4070e23fc737f30c25a79d5958d734.tar.xz
wireguard-monolithic-historical-3e8c04a03f4070e23fc737f30c25a79d5958d734.zip
tests: make fatal
Diffstat (limited to '')
-rw-r--r--src/crypto/chacha20poly1305.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/chacha20poly1305.h b/src/crypto/chacha20poly1305.h
index c44a17e..d1986f7 100644
--- a/src/crypto/chacha20poly1305.h
+++ b/src/crypto/chacha20poly1305.h
@@ -29,7 +29,7 @@ bool chacha20poly1305_decrypt_sg(struct scatterlist *dst, struct scatterlist *sr
const uint64_t nonce, const uint8_t key[CHACHA20POLY1305_KEYLEN]);
#ifdef DEBUG
-void chacha20poly1305_selftest(void);
+bool chacha20poly1305_selftest(void);
#endif
#endif