summaryrefslogtreecommitdiff
path: root/poly1305.h
diff options
context:
space:
mode:
Diffstat (limited to 'poly1305.h')
-rw-r--r--poly1305.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/poly1305.h b/poly1305.h
index 13b2d6c8..7afa387e 100644
--- a/poly1305.h
+++ b/poly1305.h
@@ -1,4 +1,4 @@
-/* poly1305-aes.h
+/* poly1305.h
*
* Poly1305 message authentication code.
*/
@@ -77,7 +77,7 @@ void poly1305_digest (struct poly1305_ctx *ctx,
#define POLY1305_SET_KEY(ctx, set_key, key) \
do { \
poly1305_set_key(&(ctx)->pctx, (key+16)); \
- (set_key)(&(ctx)->cipher, 16, (key)); \
+ (set_key)(&(ctx)->cipher, (key)); \
(ctx)->pctx.index = 0; \
} while (0)