Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wim Lewis
nettle
Commits
448502d6
Commit
448502d6
authored
Apr 16, 2013
by
Niels Möller
Browse files
Deleted redundant memcpy.
parent
a56ede19
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
448502d6
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.
...
...
umac-l2.c
View file @
448502d6
...
...
@@ -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
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment