diff options
author | Niels Möller <nisse@lysator.liu.se> | 2014-01-16 16:18:25 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2014-01-16 16:18:25 +0100 |
commit | 5a66bb56433be58f1b1b6a044e49c692327df455 (patch) | |
tree | c5c9276d550cc768d339f657119d2205d136124f /poly1305.h | |
parent | 2667d597ab530f3a6b50bb1d7690839fd2fd0d32 (diff) | |
download | nettle-5a66bb56433be58f1b1b6a044e49c692327df455.tar.gz |
Make poly1305 code use struct aes128_ctx.
Diffstat (limited to 'poly1305.h')
-rw-r--r-- | poly1305.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |