diff options
author | Niels Möller <nisse@lysator.liu.se> | 2013-05-17 17:31:08 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2013-05-17 17:31:08 +0200 |
commit | ff29d0a9c9b7d17e0bc15bbba88993244903222b (patch) | |
tree | 3c989488833e31cc1dc218dbf8da8dd480a8f434 /aes-internal.h | |
parent | 982961a54280f9ff791bccc50f5b6a3e169de402 (diff) | |
download | nettle-ff29d0a9c9b7d17e0bc15bbba88993244903222b.tar.gz |
Separate rounds and key arguments to _aes_encrypt and _aes_decrypt.
Diffstat (limited to 'aes-internal.h')
-rw-r--r-- | aes-internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/aes-internal.h b/aes-internal.h index e361bde9..51fa9eb2 100644 --- a/aes-internal.h +++ b/aes-internal.h @@ -51,13 +51,13 @@ struct aes_table }; void -_aes_encrypt(const struct aes_ctx *ctx, +_aes_encrypt(unsigned rounds, const uint32_t *keys, const struct aes_table *T, size_t length, uint8_t *dst, const uint8_t *src); void -_aes_decrypt(const struct aes_ctx *ctx, +_aes_decrypt(unsigned rounds, const uint32_t *keys, const struct aes_table *T, size_t length, uint8_t *dst, const uint8_t *src); |