summaryrefslogtreecommitdiff
path: root/umac64.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2013-04-18 11:04:55 +0200
committerNiels Möller <nisse@lysator.liu.se>2013-04-18 11:04:55 +0200
commitba517ac5cb5ed79fc17ab579a8e29ee1bb1f3854 (patch)
tree075fca82e2e602c7e60cb47724c5d04616945754 /umac64.c
parentf5987616ff757d0bf84e72e209d4591d1bf65930 (diff)
downloadnettle-ba517ac5cb5ed79fc17ab579a8e29ee1bb1f3854.tar.gz
Rename UMAC_BLOCK_SIZE to UMAC_DATA_SIZE.
Diffstat (limited to 'umac64.c')
-rw-r--r--umac64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/umac64.c b/umac64.c
index e740e91c..3e05779a 100644
--- a/umac64.c
+++ b/umac64.c
@@ -64,9 +64,9 @@ umac64_set_nonce (struct umac64_ctx *ctx,
#define UMAC64_BLOCK(ctx, block) do { \
uint64_t __umac64_y[2]; \
- _umac_nh_n (__umac64_y, 2, ctx->l1_key, UMAC_BLOCK_SIZE, block); \
- __umac64_y[0] += 8*UMAC_BLOCK_SIZE; \
- __umac64_y[1] += 8*UMAC_BLOCK_SIZE; \
+ _umac_nh_n (__umac64_y, 2, ctx->l1_key, UMAC_DATA_SIZE, block); \
+ __umac64_y[0] += 8*UMAC_DATA_SIZE; \
+ __umac64_y[1] += 8*UMAC_DATA_SIZE; \
_umac_l2 (ctx->l2_key, ctx->l2_state, 2, ctx->count++, __umac64_y); \
} while (0)