aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/include/zinc/poly1305.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-09-17 03:58:17 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-09-17 04:36:24 +0200
commit6aed36c1decc1f2fa76337941acb36076b0adc59 (patch)
tree64152518c3e61242bcb4c79c2463ef53f54b50dd /src/crypto/include/zinc/poly1305.h
parentcrypto: make MIT (diff)
downloadwireguard-monolithic-historical-6aed36c1decc1f2fa76337941acb36076b0adc59.tar.xz
wireguard-monolithic-historical-6aed36c1decc1f2fa76337941acb36076b0adc59.zip
poly1305: do not require simd context for arch
Diffstat (limited to 'src/crypto/include/zinc/poly1305.h')
-rw-r--r--src/crypto/include/zinc/poly1305.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crypto/include/zinc/poly1305.h b/src/crypto/include/zinc/poly1305.h
index 7eafd46..a7f552c 100644
--- a/src/crypto/include/zinc/poly1305.h
+++ b/src/crypto/include/zinc/poly1305.h
@@ -24,8 +24,7 @@ struct poly1305_ctx {
void poly1305_fpu_init(void);
-void poly1305_init(struct poly1305_ctx *ctx, const u8 key[POLY1305_KEY_SIZE],
- simd_context_t simd_context);
+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],