diff options
author | Niels Möller <nisse@lysator.liu.se> | 2013-08-07 09:58:18 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2013-08-07 09:58:18 +0200 |
commit | 31a51477fd313ccafbc53afc5a105c9c1d01e8ed (patch) | |
tree | 31c0528f0a77da806ece6dcd19b9584a8b6dd3fd /umac64.c | |
parent | ffbcdcb9abf70a51503502e22a9ffc7874752917 (diff) | |
download | nettle-31a51477fd313ccafbc53afc5a105c9c1d01e8ed.tar.gz |
Adapted umac code to use new aes128 interface.
Diffstat (limited to 'umac64.c')
-rw-r--r-- | umac64.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |