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 | c258a6a97c4a16e280bb8bf2e2aa7b8b1ebecad8 (patch) | |
tree | 5139d78ac87badf2f500f7ab4d868a2c41936a1a /src/crypto/poly1305.h | |
parent | 046ab6962ba870c97087b23a7473af3610d19780 (diff) |
crypto: consistent constification
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
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 |