diff options
author | Niels Möller <nisse@lysator.liu.se> | 2014-01-20 21:49:47 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2014-01-20 21:49:47 +0100 |
commit | dca9abf1c41fb1c0b51c75ca8decac4b27c26671 (patch) | |
tree | 8d83cb1447310bdbc82891432439478b75c784ed /poly1305.h | |
parent | efdf4f4b86dc166ecd4fd0d2847eaf10202cee53 (diff) | |
download | nettle-dca9abf1c41fb1c0b51c75ca8decac4b27c26671.tar.gz |
poly1305_digest: Use union nettle_block16.
Diffstat (limited to 'poly1305.h')
-rw-r--r-- | poly1305.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -71,9 +71,9 @@ struct poly1305_ctx { /* Low-level internal interface. */ void poly1305_set_key(struct poly1305_ctx *ctx, const uint8_t key[POLY1305_KEY_SIZE]); /* Extracts digest, and adds it to s, the encrypted nonce. */ -void poly1305_digest (struct poly1305_ctx *ctx, uint8_t *s); +void poly1305_digest (struct poly1305_ctx *ctx, union nettle_block16 *s); /* Internal function. Process one block. */ -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, unsigned high); /* poly1305-aes */ |