diff options
author | Niels Möller <nisse@lysator.liu.se> | 2014-01-17 16:59:52 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2014-01-17 16:59:52 +0100 |
commit | 51473db79c03fbb51e0adfe054606d6ca450e310 (patch) | |
tree | 3bc6dbca89fd5be030df92a59bc8d072acc4170c /poly1305.h | |
parent | 52f99db25d4066e3a783b15533a7b4f0a5f6c2b3 (diff) | |
download | nettle-51473db79c03fbb51e0adfe054606d6ca450e310.tar.gz |
poly1305_block: New argument for the high bit.
Diffstat (limited to 'poly1305.h')
-rw-r--r-- | poly1305.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |