diff options
author | Niels Möller <nisse@lysator.liu.se> | 2013-04-18 11:04:55 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2013-04-18 11:04:55 +0200 |
commit | ba517ac5cb5ed79fc17ab579a8e29ee1bb1f3854 (patch) | |
tree | 075fca82e2e602c7e60cb47724c5d04616945754 /umac64.c | |
parent | f5987616ff757d0bf84e72e209d4591d1bf65930 (diff) | |
download | nettle-ba517ac5cb5ed79fc17ab579a8e29ee1bb1f3854.tar.gz |
Rename UMAC_BLOCK_SIZE to UMAC_DATA_SIZE.
Diffstat (limited to 'umac64.c')
-rw-r--r-- | umac64.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |