Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nettle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmitry Baryshkov
nettle
Commits
b44f9704
Commit
b44f9704
authored
23 years ago
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
Rev: src/nettle/ChangeLog:1.68 Rev: src/nettle/aes-meta.c:1.2
parent
9217ac1c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+33
-0
33 additions, 0 deletions
ChangeLog
aes-meta.c
+3
-3
3 additions, 3 deletions
aes-meta.c
with
36 additions
and
3 deletions
ChangeLog
+
33
−
0
View file @
b44f9704
2002-02-14 Niels Möller <nisse@cuckoo.hack.org>
* yarrow256.c: Replaced uses of aes_set_key with
aes_set_encrypt_key.
* nettle-meta.h (_NETTLE_CIPHER_SEP): New macro, useful for
algorithms with separate encyption and decryption key setup.
* aes-internal.h (struct aes_table): New structure, including all
constant tables needed by the unified encryption or decryption
function _aes_crypt.
* aes.c (_aes_crypt): New function, which unifies encryption and
decryption.
AES key setup now uses two separate functions for setting
encryption and decryption keys. Applications that don't do
decryption need no inverted subkeys and no code to generate them.
Similarly, the tables (about 4K each for encryption and
decryption), are put into separate files.
* aes.h (struct aes_ctx): Deleted space for inverse subkeys. For
decryption, the inverse subkeys replace the normal subkeys, and
they are stored _in the order they are used_.
* aes-set-key.c (aes_set_key): Deleted file, code moved...
* aes-set-decrypt-key.c, aes-set-encrypt-key.c: New files,
separated normal and inverse key setup.
* aes-tables.c: Deleted, tables moved elsewhere...
* aes-encrypt.c, aes-decrypt.c: New files; moved encryption and
decryption funktions, and needed tables, into separate files.
2002-02-13 Niels Möller <nisse@cuckoo.hack.org>
2002-02-13 Niels Möller <nisse@cuckoo.hack.org>
* aes.c (aes_encrypt): Don't unroll the innerloop.
* aes.c (aes_encrypt): Don't unroll the innerloop.
...
...
This diff is collapsed.
Click to expand it.
aes-meta.c
+
3
−
3
View file @
b44f9704
...
@@ -25,10 +25,10 @@
...
@@ -25,10 +25,10 @@
#include
"aes.h"
#include
"aes.h"
const
struct
nettle_cipher
nettle_aes128
const
struct
nettle_cipher
nettle_aes128
=
_NETTLE_CIPHER
(
aes
,
AES
,
128
);
=
_NETTLE_CIPHER
_SEP
(
aes
,
AES
,
128
);
const
struct
nettle_cipher
nettle_aes192
const
struct
nettle_cipher
nettle_aes192
=
_NETTLE_CIPHER
(
aes
,
AES
,
192
);
=
_NETTLE_CIPHER
_SEP
(
aes
,
AES
,
192
);
const
struct
nettle_cipher
nettle_aes256
const
struct
nettle_cipher
nettle_aes256
=
_NETTLE_CIPHER
(
aes
,
AES
,
256
);
=
_NETTLE_CIPHER
_SEP
(
aes
,
AES
,
256
);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment