diff options
author | Niels Möller <nisse@lysator.liu.se> | 2020-11-30 15:11:47 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2020-11-30 15:11:47 +0100 |
commit | 54a9be1e6015fab3b90e6c656b271f808cdf9750 (patch) | |
tree | 154de98c039f80e82e1b62859fed9505536cdb98 /umac-set-key.c | |
parent | e053691063525b81fef0021666996cb5a2287582 (diff) | |
download | nettle-delete-internal-name-mangling.tar.gz |
Delete name mangling of internal umac symbolsdelete-internal-name-mangling
Diffstat (limited to 'umac-set-key.c')
-rw-r--r-- | umac-set-key.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/umac-set-key.c b/umac-set-key.c index 24aa390b..9f7464f0 100644 --- a/umac-set-key.c +++ b/umac-set-key.c @@ -78,9 +78,9 @@ umac_kdf (struct aes128_ctx *aes, unsigned index, unsigned length, uint8_t *dst) #endif void -_umac_set_key (uint32_t *l1_key, uint32_t *l2_key, - uint64_t *l3_key1, uint32_t *l3_key2, - struct aes128_ctx *aes, const uint8_t *key, unsigned n) +_nettle_umac_set_key (uint32_t *l1_key, uint32_t *l2_key, + uint64_t *l3_key1, uint32_t *l3_key2, + struct aes128_ctx *aes, const uint8_t *key, unsigned n) { unsigned size; uint8_t buffer[UMAC_KEY_SIZE]; @@ -93,11 +93,11 @@ _umac_set_key (uint32_t *l1_key, uint32_t *l2_key, size = 6*n; umac_kdf (aes, 2, size * sizeof(uint32_t), (uint8_t *) l2_key); - _umac_l2_init (size, l2_key); + _nettle_umac_l2_init (size, l2_key); size = 8*n; umac_kdf (aes, 3, size * sizeof(uint64_t), (uint8_t *) l3_key1); - _umac_l3_init (size, l3_key1); + _nettle_umac_l3_init (size, l3_key1); /* No need to byteswap these subkeys. */ umac_kdf (aes, 4, n * sizeof(uint32_t), (uint8_t *) l3_key2); |