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
0610aa4b
Commit
0610aa4b
authored
22 years ago
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
(aes_decrypt): Start using AES_ROUND. Fourth word.
Rev: src/nettle/x86/aes-decrypt.asm:1.7
parent
b093a922
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
x86/aes-decrypt.asm
+1
-36
1 addition, 36 deletions
x86/aes-decrypt.asm
with
1 addition
and
36 deletions
x86/aes-decrypt.asm
+
1
−
36
View file @
0610aa4b
...
@@ -66,44 +66,9 @@ aes_decrypt:
...
@@ -66,44 +66,9 @@ aes_decrypt:
pushl
%
edi
pushl
%
edi
AES_ROUND
(
_aes_decrypt_table
,
c
,
d
,
a
,
b
)
AES_ROUND
(
_aes_decrypt_table
,
c
,
d
,
a
,
b
)
C
C
//
Third
column
C
C
c
d
a
b
C
movl
%
ecx
,
%
esi
C
copy
first
in
C
andl
$
0x000000ff
,
%
esi
C
cl
ear
al
l
but
offset
C
shll
$
2
,
%
esi
C
index
in
itbl1
C
movl
AES_TABLE0
+
_aes_decrypt_table
(
%
esi
),
%
edi
C
movl
%
edx
,
%
esi
C
second
one
C
shrl
$
6
,
%
esi
C
andl
$
0x000003fc
,
%
esi
C
cl
ear
al
l
but
offset
byte
s
C
xorl
AES_TABLE1
+
_aes_decrypt_table
(
%
esi
),
%
edi
C
movl
%
eax
,
%
esi
C
third
one
C
shrl
$
14
,
%
esi
C
andl
$
0x000003fc
,
%
esi
C
xorl
AES_TABLE2
+
_aes_decrypt_table
(
%
esi
),
%
edi
C
movl
%
ebx
,
%
esi
C
fourth
one
C
shrl
$
22
,
%
esi
C
andl
$
0x000003fc
,
%
esi
C
xorl
AES_TABLE3
+
_aes_decrypt_table
(
%
esi
),
%
edi
pushl
%
edi
C
save
first
on
stack
pushl
%
edi
C
save
first
on
stack
C
//
Fourth
column
AES_ROUND
(
_aes_decrypt_table
,
b
,
c
,
d
,
a
)
C
b
c
d
a
movl
%
ebx
,
%
esi
C
copy
first
in
andl
$
0x000000ff
,
%
esi
C
cl
ear
al
l
but
offset
shll
$
2
,
%
esi
C
index
in
itbl1
movl
AES_TABLE0
+
_aes_decrypt_table
(
%
esi
),
%
edi
movl
%
ecx
,
%
esi
C
second
one
shrl
$
6
,
%
esi
andl
$
0x000003fc
,
%
esi
C
cl
ear
al
l
but
offset
byte
s
xorl
AES_TABLE1
+
_aes_decrypt_table
(
%
esi
),
%
edi
movl
%
edx
,
%
esi
C
third
one
shrl
$
14
,
%
esi
andl
$
0x000003fc
,
%
esi
xorl
AES_TABLE2
+
_aes_decrypt_table
(
%
esi
),
%
edi
movl
%
eax
,
%
esi
C
fourth
one
shrl
$
22
,
%
esi
andl
$
0x000003fc
,
%
esi
xorl
AES_TABLE3
+
_aes_decrypt_table
(
%
esi
),
%
edi
movl
%
edi
,
%
edx
movl
%
edi
,
%
edx
popl
%
ecx
popl
%
ecx
...
...
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