From: Niels Möller Date: Tue, 16 Apr 2013 12:45:52 +0000 (+0200) Subject: Deleted redundant memcpy. X-Git-Tag: nettle_2.7_release_20130424~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=448502d686b1da11b44734da195e288c733e3e54;p=thirdparty%2Fnettle.git Deleted redundant memcpy. --- diff --git a/ChangeLog b/ChangeLog index bc0c950c..1a9e2c4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2013-04-16 Niels Möller + * 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. diff --git a/umac-l2.c b/umac-l2.c index f0ca122d..6a31893a 100644 --- a/umac-l2.c +++ b/umac-l2.c @@ -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)); }