Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
244c549e
Commit
244c549e
authored
Feb 14, 2002
by
Niels Möller
Browse files
(struct aes_ctx): Deleted space for inverse subkeys.
Rev: src/nettle/aes.h:1.5
parent
b3532d33
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/nettle/aes.h
View file @
244c549e
...
...
@@ -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
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment