diff options
Diffstat (limited to 'src/crypto')
-rw-r--r-- | src/crypto/chacha20poly1305.c | 1 | ||||
-rw-r--r-- | src/crypto/chacha20poly1305.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/crypto/chacha20poly1305.c b/src/crypto/chacha20poly1305.c index 22681a3..89cf055 100644 --- a/src/crypto/chacha20poly1305.c +++ b/src/crypto/chacha20poly1305.c @@ -855,3 +855,4 @@ bool xchacha20poly1305_decrypt(u8 *dst, const u8 *src, const size_t src_len, } #include "../selftest/chacha20poly1305.h" +#include "../selftest/poly1305.h" 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 */ |