Commit 448502d6 authored by Niels Möller's avatar Niels Möller

Deleted redundant memcpy.

parent a56ede19
2013-04-16 Niels Möller <nisse@lysator.liu.se>
* umac-l2.c (_umac_l2): Deleted redundant memcpy.
* umac.h (umac32_ctx, umac64_ctx, umac96_ctx, umac128_ctx): Make
block count an uint64_t. Reorder some elements to put short values
together.
......
......@@ -84,7 +84,6 @@ _umac_l2(const uint32_t *key, uint64_t *state, unsigned n,
state[2*i+1] = 1;
_umac_poly128 (key, state + 2*i, 0, y);
memcpy (prev, m, n * sizeof(*m));
}
memcpy (prev, m, n * sizeof(*m));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment