summaryrefslogtreecommitdiff
path: root/umac-l2.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2013-04-16 14:22:08 +0200
committerNiels Möller <nisse@lysator.liu.se>2013-04-16 14:22:08 +0200
commita56ede1947297720b93915e68eb9ad1efc391e02 (patch)
tree660bbcbb0a097f20067bf2cba66827abae46925d /umac-l2.c
parent7eb183089ca6c00aede582bcdc7d6494c5613107 (diff)
downloadnettle-a56ede1947297720b93915e68eb9ad1efc391e02.tar.gz
Increase umac block count to 64 bits. Some reordering of umac contexts.
Diffstat (limited to 'umac-l2.c')
-rw-r--r--umac-l2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/umac-l2.c b/umac-l2.c
index 7fa5650b..f0ca122d 100644
--- a/umac-l2.c
+++ b/umac-l2.c
@@ -57,7 +57,7 @@ _umac_l2_init (unsigned size, uint32_t *k)
void
_umac_l2(const uint32_t *key, uint64_t *state, unsigned n,
- unsigned count, uint64_t *prev, const uint64_t *m)
+ uint64_t count, uint64_t *prev, const uint64_t *m)
{
unsigned i;
@@ -95,7 +95,7 @@ _umac_l2(const uint32_t *key, uint64_t *state, unsigned n,
void
_umac_l2_final(const uint32_t *key, uint64_t *state, unsigned n,
- unsigned count, uint64_t *prev)
+ uint64_t count, uint64_t *prev)
{
unsigned i;