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
066f07bc
Commit
066f07bc
authored
May 15, 2002
by
Niels Möller
Browse files
(aes_decrypt): Use _aes_decrypt_table instead of
itbl1-4. Rev: src/nettle/x86/aes.asm:1.9
parent
e3014120
Changes
1
Hide whitespace changes
Inline
Side-by-side
x86/aes.asm
View file @
066f07bc
...
...
@@ -85,19 +85,19 @@ aes_decrypt:
movl
%
eax
,
%
esi
C
copy
first
in
andl
$
0x000000ff
,
%
esi
C
cl
ear
al
l
but
offset
shll
$
2
,
%
esi
C
index
in
itbl1
movl
itbl1
(
%
esi
),
%
edi
movl
AES_TABLE0
+
_aes_decrypt_table
(
%
esi
),
%
edi
movl
%
ebx
,
%
esi
C
second
one
shrl
$
6
,
%
esi
andl
$
0x000003fc
,
%
esi
C
cl
ear
al
l
but
offset
byte
s
xorl
itbl2
(
%
esi
),
%
edi
xorl
AES_TABLE1
+
_aes_decrypt_table
(
%
esi
),
%
edi
movl
%
ecx
,
%
esi
C
third
one
shrl
$
14
,
%
esi
andl
$
0x000003fc
,
%
esi
xorl
itbl3
(
%
esi
),
%
edi
xorl
AES_TABLE2
+
_aes_decrypt_table
(
%
esi
),
%
edi
movl
%
edx
,
%
esi
C
fourth
one
shrl
$
22
,
%
esi
andl
$
0x000003fc
,
%
esi
xorl
itbl4
(
%
esi
),
%
edi
xorl
AES_TABLE3
+
_aes_decrypt_table
(
%
esi
),
%
edi
pushl
%
edi
C
save
first
on
stack
C
//
Second
column
...
...
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