summaryrefslogtreecommitdiff
path: root/umac-set-key.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2013-04-18 11:04:55 +0200
committerNiels Möller <nisse@lysator.liu.se>2013-04-18 11:04:55 +0200
commitba517ac5cb5ed79fc17ab579a8e29ee1bb1f3854 (patch)
tree075fca82e2e602c7e60cb47724c5d04616945754 /umac-set-key.c
parentf5987616ff757d0bf84e72e209d4591d1bf65930 (diff)
downloadnettle-ba517ac5cb5ed79fc17ab579a8e29ee1bb1f3854.tar.gz
Rename UMAC_BLOCK_SIZE to UMAC_DATA_SIZE.
Diffstat (limited to 'umac-set-key.c')
-rw-r--r--umac-set-key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/umac-set-key.c b/umac-set-key.c
index 1b9e5e9b..03057a46 100644
--- a/umac-set-key.c
+++ b/umac-set-key.c
@@ -78,7 +78,7 @@ _umac_set_key (uint32_t *l1_key, uint32_t *l2_key,
aes_set_encrypt_key (aes, UMAC_KEY_SIZE, key);
- size = UMAC_BLOCK_SIZE / 4 + 4*(n-1);
+ size = UMAC_DATA_SIZE / 4 + 4*(n-1);
umac_kdf (aes, 1, size * sizeof(uint32_t), (uint8_t *) l1_key);
BE_SWAP32_N (size, l1_key);