]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Deleted redundant memcpy.
authorNiels Möller <nisse@lysator.liu.se>
Tue, 16 Apr 2013 12:45:52 +0000 (14:45 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Tue, 16 Apr 2013 12:45:52 +0000 (14:45 +0200)
ChangeLog
umac-l2.c

index bc0c950ccb4190a1f69fb0cabd75da1f56f04754..1a9e2c4ac61a0aed08311d61afccd47a9a4688cd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 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.
index f0ca122d2e36b9efaca98c70fa03fc42fd2b980f..6a31893a96182e2cdd2c130a2ea8d432f15ebd3f 100644 (file)
--- 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));
     }