summaryrefslogtreecommitdiff
path: root/umac64.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2013-08-07 09:58:18 +0200
committerNiels Möller <nisse@lysator.liu.se>2013-08-07 09:58:18 +0200
commit31a51477fd313ccafbc53afc5a105c9c1d01e8ed (patch)
tree31c0528f0a77da806ece6dcd19b9584a8b6dd3fd /umac64.c
parentffbcdcb9abf70a51503502e22a9ffc7874752917 (diff)
downloadnettle-31a51477fd313ccafbc53afc5a105c9c1d01e8ed.tar.gz
Adapted umac code to use new aes128 interface.
Diffstat (limited to 'umac64.c')
-rw-r--r--umac64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/umac64.c b/umac64.c
index 133f2783..01b9dc81 100644
--- a/umac64.c
+++ b/umac64.c
@@ -103,8 +103,8 @@ umac64_digest (struct umac64_ctx *ctx,
assert (ctx->count > 0);
if ( !(ctx->nonce_low & _UMAC_NONCE_CACHED))
{
- aes_encrypt (&ctx->pdf_key, AES_BLOCK_SIZE,
- (uint8_t *) ctx->pad_cache, ctx->nonce);
+ aes128_encrypt (&ctx->pdf_key, AES_BLOCK_SIZE,
+ (uint8_t *) ctx->pad_cache, ctx->nonce);
ctx->nonce_low |= _UMAC_NONCE_CACHED;
}
pad = ctx->pad_cache + 2*(ctx->nonce_low & 1);