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
Wim Lewis
nettle
Commits
02a0b85f
Commit
02a0b85f
authored
May 15, 2002
by
Niels Möller
Browse files
(aes_decrypt): Deleted first xchgl instruction into, permuting the
AES_ROUND calls instead. Rev: src/nettle/x86/aes-decrypt.asm:1.13
parent
2fd34281
Changes
1
Hide whitespace changes
Inline
Side-by-side
x86/aes-decrypt.asm
View file @
02a0b85f
...
...
@@ -57,18 +57,18 @@ aes_decrypt:
pushl
%
esi
C
save
this
first
:
we
'
ll
cl
obber
it
later
C
Why???
xchgl
%
ebx
,
%
edx
C
xchgl
%
ebx
,
%
edx
AES_ROUND
(
_aes_decrypt_table
,
a
,
b
,
c
,
d
)
AES_ROUND
(
_aes_decrypt_table
,
a
,
d
,
c
,
b
)
pushl
%
edi
C
save
first
on
stack
AES_ROUND
(
_aes_decrypt_table
,
d
,
a
,
b
,
c
)
AES_ROUND
(
_aes_decrypt_table
,
b
,
a
,
d
,
c
)
pushl
%
edi
AES_ROUND
(
_aes_decrypt_table
,
c
,
d
,
a
,
b
)
AES_ROUND
(
_aes_decrypt_table
,
c
,
b
,
a
,
d
)
pushl
%
edi
C
save
first
on
stack
AES_ROUND
(
_aes_decrypt_table
,
b
,
c
,
d
,
a
)
AES_ROUND
(
_aes_decrypt_table
,
d
,
c
,
b
,
a
)
movl
%
edi
,
%
edx
popl
%
ecx
...
...
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