diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-30 04:58:19 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-31 01:24:51 +0200 |
commit | 656be58314a362a3f4620fdca3c9b3a4a434e777 (patch) | |
tree | a18881fb1b779c6a27385b46d3e15126c8fe4089 /src/crypto/poly1305.h | |
parent | wg-quick: darwin: set DNS servers after delay on route change (diff) | |
download | wireguard-monolithic-historical-656be58314a362a3f4620fdca3c9b3a4a434e777.tar.xz wireguard-monolithic-historical-656be58314a362a3f4620fdca3c9b3a4a434e777.zip |
crypto: consistent constification
Diffstat (limited to 'src/crypto/poly1305.h')
-rw-r--r-- | src/crypto/poly1305.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/poly1305.h b/src/crypto/poly1305.h index 21833be..876234c 100644 --- a/src/crypto/poly1305.h +++ b/src/crypto/poly1305.h @@ -24,7 +24,7 @@ struct poly1305_ctx { void poly1305_fpu_init(void); void poly1305_init(struct poly1305_ctx *ctx, const u8 key[POLY1305_KEY_SIZE], bool have_simd); -void poly1305_update(struct poly1305_ctx *ctx, const u8 *inp, size_t len, bool have_simd); +void poly1305_update(struct poly1305_ctx *ctx, const u8 *inp, const size_t len, bool have_simd); void poly1305_finish(struct poly1305_ctx *ctx, u8 mac[POLY1305_MAC_SIZE], bool have_simd); #ifdef DEBUG |