Skip to content
Snippets Groups Projects
Commit ddf34204 authored by Niels Möller's avatar Niels Möller
Browse files

(struct aes_ctx): Deleted space for inverse subkeys.

Rev: src/nettle/aes.h:1.5
parent 1edfd54d
No related branches found
No related tags found
No related merge requests found
......@@ -40,13 +40,15 @@
struct aes_ctx
{
uint32_t keys[60]; /* maximum size of key schedule */
uint32_t ikeys[60]; /* inverse key schedule */
unsigned nrounds; /* number of rounds to use for our key size */
};
void
aes_set_key(struct aes_ctx *ctx,
unsigned length, const uint8_t *key);
aes_set_encrypt_key(struct aes_ctx *ctx,
unsigned length, const uint8_t *key);
void
aes_set_decrypt_key(struct aes_ctx *ctx,
unsigned length, const uint8_t *key);
void
aes_encrypt(struct aes_ctx *ctx,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment