aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/include/zinc/poly1305.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-09-17 20:41:20 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-09-18 04:21:16 +0200
commitfd24e1905b479dcdea58b9445fc4c837df908df7 (patch)
treef9a675256d7a02b1edd1b65b2be44f7263cc1d55 /src/crypto/include/zinc/poly1305.h
parentcrypto: do not use -include trick (diff)
downloadwireguard-monolithic-historical-fd24e1905b479dcdea58b9445fc4c837df908df7.tar.xz
wireguard-monolithic-historical-fd24e1905b479dcdea58b9445fc4c837df908df7.zip
crypto: turn Zinc into individual modules
Diffstat (limited to 'src/crypto/include/zinc/poly1305.h')
-rw-r--r--src/crypto/include/zinc/poly1305.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/crypto/include/zinc/poly1305.h b/src/crypto/include/zinc/poly1305.h
index 1cdbadd..f6ea9dc 100644
--- a/src/crypto/include/zinc/poly1305.h
+++ b/src/crypto/include/zinc/poly1305.h
@@ -22,16 +22,10 @@ struct poly1305_ctx {
size_t num;
} __aligned(8);
-void poly1305_fpu_init(void);
-
void poly1305_init(struct poly1305_ctx *ctx, const u8 key[POLY1305_KEY_SIZE]);
void poly1305_update(struct poly1305_ctx *ctx, const u8 *input, size_t len,
simd_context_t *simd_context);
void poly1305_final(struct poly1305_ctx *ctx, u8 mac[POLY1305_MAC_SIZE],
simd_context_t *simd_context);
-#ifdef DEBUG
-bool poly1305_selftest(void);
-#endif
-
#endif /* _ZINC_POLY1305_H */