From 51473db79c03fbb51e0adfe054606d6ca450e310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Fri, 17 Jan 2014 16:59:52 +0100 Subject: poly1305_block: New argument for the high bit. --- poly1305.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'poly1305.h') diff --git a/poly1305.h b/poly1305.h index 3257bf63..3517d9c3 100644 --- a/poly1305.h +++ b/poly1305.h @@ -72,7 +72,8 @@ struct poly1305_ctx { }; void poly1305_set_key(struct poly1305_ctx *ctx, const uint8_t key[POLY1305_KEY_SIZE]); -void poly1305_block (struct poly1305_ctx *ctx, const uint8_t m[POLY1305_BLOCK_SIZE]); +void poly1305_block (struct poly1305_ctx *ctx, const uint8_t m[POLY1305_BLOCK_SIZE], + unsigned high); void poly1305_update (struct poly1305_ctx *ctx, size_t size, const uint8_t *data); void poly1305_digest (struct poly1305_ctx *ctx, size_t length, uint8_t *digest, const uint8_t *s); -- cgit v1.2.1