summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/chacha20poly1305.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-29 16:06:57 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-31 01:24:51 +0200
commit101b71c192047d5966b3c59dba088957ca51e588 (patch)
tree1cb72ed6ff1916eb71d038b6b426eef1962f7350 /src/crypto/chacha20poly1305.h
parent520af047f5b84c92202e3f42f49281f37034d1c0 (diff)
chacha20poly1305: split up into separate files
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/chacha20poly1305.h')
-rw-r--r--src/crypto/chacha20poly1305.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/crypto/chacha20poly1305.h b/src/crypto/chacha20poly1305.h
index 62b48b9..39919cd 100644
--- a/src/crypto/chacha20poly1305.h
+++ b/src/crypto/chacha20poly1305.h
@@ -16,8 +16,6 @@ enum chacha20poly1305_lengths {
CHACHA20POLY1305_AUTHTAGLEN = 16
};
-void chacha20poly1305_fpu_init(void);
-
void chacha20poly1305_encrypt(u8 *dst, const u8 *src, const size_t src_len,
const u8 *ad, const size_t ad_len,
const u64 nonce, const u8 key[CHACHA20POLY1305_KEYLEN]);
@@ -87,7 +85,6 @@ static inline void chacha20poly1305_deinit_simd(bool was_on)
#ifdef DEBUG
bool chacha20poly1305_selftest(void);
-bool poly1305_selftest(void);
#endif
#endif /* _WG_CHACHA20POLY1305_H */