diff options
author | Niels Möller <nisse@lysator.liu.se> | 2013-04-11 15:10:43 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2013-04-11 15:10:43 +0200 |
commit | 5938db8f02065cd62cc0d6fcb8d2c6cce48fb5eb (patch) | |
tree | 8caf15abace55dd223dcb4b7346e07e8f77eadbd /umac32.c | |
parent | 34aef19b0f571e24b575a92d0262df7fe755bf6b (diff) | |
download | nettle-5938db8f02065cd62cc0d6fcb8d2c6cce48fb5eb.tar.gz |
Minor reorg of umac l3 hashing.
Diffstat (limited to 'umac32.c')
-rw-r--r-- | umac32.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -122,7 +122,7 @@ umac32_digest (struct umac32_ctx *ctx, } _umac_l2_final (ctx->l2_key, ctx->l2_state, 1, ctx->count, ctx->l1_out); - pad ^= _umac_l3 (ctx->l3_key1, ctx->l3_key2[0], ctx->l2_state); + pad ^= ctx->l3_key2[0] ^ _umac_l3 (ctx->l3_key1, ctx->l2_state); memcpy (digest, &pad, length); /* Reinitialize */ |