summaryrefslogtreecommitdiff
path: root/aes-encrypt.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2013-05-17 17:35:36 +0200
committerNiels Möller <nisse@lysator.liu.se>2013-05-17 17:35:36 +0200
commit614a672e7efd87b82c514b471ccc66c081c380d4 (patch)
tree6d330873fe585b300613ca841e713f6228b72260 /aes-encrypt.c
parentff29d0a9c9b7d17e0bc15bbba88993244903222b (diff)
downloadnettle-614a672e7efd87b82c514b471ccc66c081c380d4.tar.gz
Rearranged struct aes_ctx.
Diffstat (limited to 'aes-encrypt.c')
-rw-r--r--aes-encrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aes-encrypt.c b/aes-encrypt.c
index 5ee1a49b..0077693a 100644
--- a/aes-encrypt.c
+++ b/aes-encrypt.c
@@ -40,6 +40,6 @@ aes_encrypt(const struct aes_ctx *ctx,
const uint8_t *src)
{
assert(!(length % AES_BLOCK_SIZE) );
- _aes_encrypt(ctx->nrounds, ctx->keys, &_aes_encrypt_table,
+ _aes_encrypt(ctx->rounds, ctx->keys, &_aes_encrypt_table,
length, dst, src);
}