From 5a66bb56433be58f1b1b6a044e49c692327df455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Thu, 16 Jan 2014 16:18:25 +0100 Subject: Make poly1305 code use struct aes128_ctx. --- poly1305.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'poly1305.h') 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) -- cgit v1.2.1