Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nettle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Nettle
nettle
Commits
8bd45c63
Commit
8bd45c63
authored
May 15, 2002
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(aes_decrypt): Use AES_LAST_ROUND.
Rev: src/nettle/x86/aes-decrypt.asm:1.8
parent
0610aa4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
53 deletions
+9
-53
x86/aes-decrypt.asm
x86/aes-decrypt.asm
+9
-53
No files found.
x86/aes-decrypt.asm
View file @
8bd45c63
...
...
@@ -74,7 +74,9 @@ aes_decrypt:
popl
%
ecx
popl
%
ebx
popl
%
eax
popl
%
esi
xorl
(
%
esi
),
%
eax
C
add
current
session
key
to
plaintext
xorl
4
(
%
esi
),
%
ebx
xorl
8
(
%
esi
),
%
ecx
...
...
@@ -86,65 +88,19 @@ aes_decrypt:
C
Foo?
xchgl
%
ebx
,
%
edx
C
//
last
round
C
//
first
column
C
a
b
c
d
movl
%
eax
,
%
edi
andl
$
0x000000ff
,
%
edi
movl
%
ebx
,
%
ebp
andl
$
0x0000ff00
,
%
ebp
orl
%
ebp
,
%
edi
movl
%
ecx
,
%
ebp
andl
$
0x00ff0000
,
%
ebp
orl
%
ebp
,
%
edi
movl
%
edx
,
%
ebp
andl
$
0xff000000
,
%
ebp
orl
%
ebp
,
%
edi
C
last
round
AES_LAST_ROUND
(
a
,
b
,
c
,
d
)
pushl
%
edi
C
//
second
column
C
b
c
d
a
movl
%
eax
,
%
edi
andl
$
0xff000000
,
%
edi
movl
%
ebx
,
%
ebp
andl
$
0x000000ff
,
%
ebp
orl
%
ebp
,
%
edi
movl
%
ecx
,
%
ebp
andl
$
0x0000ff00
,
%
ebp
orl
%
ebp
,
%
edi
movl
%
edx
,
%
ebp
andl
$
0x00ff0000
,
%
ebp
orl
%
ebp
,
%
edi
AES_LAST_ROUND
(
b
,
c
,
d
,
a
)
pushl
%
edi
C
//
third
column
C
c
d
a
b
movl
%
eax
,
%
edi
andl
$
0x00ff0000
,
%
edi
movl
%
ebx
,
%
ebp
andl
$
0xff000000
,
%
ebp
orl
%
ebp
,
%
edi
movl
%
ecx
,
%
ebp
andl
$
0x000000ff
,
%
ebp
orl
%
ebp
,
%
edi
movl
%
edx
,
%
ebp
andl
$
0x0000ff00
,
%
ebp
orl
%
ebp
,
%
edi
AES_LAST_ROUND
(
c
,
d
,
a
,
b
)
pushl
%
edi
C
//
fourth
column
C
d
a
b
c
movl
%
eax
,
%
edi
andl
$
0x0000ff00
,
%
edi
movl
%
ebx
,
%
ebp
andl
$
0x00ff0000
,
%
ebp
orl
%
ebp
,
%
edi
movl
%
ecx
,
%
ebp
andl
$
0xff000000
,
%
ebp
orl
%
ebp
,
%
edi
movl
%
edx
,
%
ebp
andl
$
0x000000ff
,
%
ebp
orl
%
ebp
,
%
edi
AES_LAST_ROUND
(
d
,
a
,
b
,
c
)
movl
%
edi
,
%
edx
popl
%
ecx
popl
%
ebx
...
...
Write
Preview
Markdown
is supported
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