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
Deploy
Releases
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
Brian Smith
nettle
Commits
d7537ca6
Commit
d7537ca6
authored
19 years ago
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
Reduced support for AES_SMALL.
Rev: src/nettle/aes-internal.h:1.12
parent
58f73bd0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aes-internal.h
+1
-11
1 addition, 11 deletions
aes-internal.h
with
1 addition
and
11 deletions
aes-internal.h
+
1
−
11
View file @
d7537ca6
...
...
@@ -33,7 +33,7 @@
#define _aes_decrypt _nettle_aes_decrypt
#define _aes_encrypt_table _nettle_aes_encrypt_table
/* Define to use only small tables. */
/* Define to use only small tables.
FIXME: Currently not working.
*/
#ifndef AES_SMALL
# define AES_SMALL 0
#endif
...
...
@@ -44,16 +44,6 @@
# define AES_TABLE_SIZE 4
#endif
/* Assembler code using the table should get link errors if linked
* against a small table. */
#if AES_SMALL
# define _aes_encrypt_table _nettle_aes_encrypt_table_small
# define _aes_decrypt_table _nettle_aes_decrypt_table_small
#else
# define _aes_encrypt_table _nettle_aes_encrypt_table
# define _aes_decrypt_table _nettle_aes_decrypt_table
#endif
struct
aes_table
{
uint8_t
sbox
[
0x100
];
...
...
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