diff options
Diffstat (limited to 'umac96.c')
-rw-r--r-- | umac96.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -69,10 +69,10 @@ umac96_set_nonce (struct umac96_ctx *ctx, #define UMAC96_BLOCK(ctx, block) do { \ uint64_t __umac96_y[3]; \ - _umac_nh_n (__umac96_y, 3, ctx->l1_key, UMAC_DATA_SIZE, block); \ - __umac96_y[0] += 8*UMAC_DATA_SIZE; \ - __umac96_y[1] += 8*UMAC_DATA_SIZE; \ - __umac96_y[2] += 8*UMAC_DATA_SIZE; \ + _umac_nh_n (__umac96_y, 3, ctx->l1_key, UMAC_BLOCK_SIZE, block); \ + __umac96_y[0] += 8*UMAC_BLOCK_SIZE; \ + __umac96_y[1] += 8*UMAC_BLOCK_SIZE; \ + __umac96_y[2] += 8*UMAC_BLOCK_SIZE; \ _umac_l2 (ctx->l2_key, ctx->l2_state, 3, ctx->count++, __umac96_y); \ } while (0) |