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
a13edb44
Commit
a13edb44
authored
22 years ago
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
* x86/aes-encrypt.asm (aes_encrypt): Use AES_LOAD macro.
Rev: src/nettle/x86/aes-encrypt.asm:1.8
parent
8f379cd2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
x86/aes-encrypt.asm
+4
-13
4 additions, 13 deletions
x86/aes-encrypt.asm
with
4 additions
and
13 deletions
x86/aes-encrypt.asm
+
4
−
13
View file @
a13edb44
...
@@ -55,20 +55,11 @@ aes_encrypt:
...
@@ -55,20 +55,11 @@ aes_encrypt:
jz
.Lencrypt_end
jz
.Lencrypt_end
.Lencrypt_block_loop:
.Lencrypt_block_loop:
movl
32
(
%
esp
),
%
esi
C
address
of
plaintext
movl
(
%
esi
),
%
eax
C
load
plaintext
into
registers
movl
4
(
%
esi
),
%
ebx
movl
8
(
%
esi
),
%
ecx
movl
12
(
%
esi
),
%
edx
addl
$
16
,
32
(
%
esp
)
C
Increment
src
pointer
C
.Laes_got_plain
:
movl
20
(
%
esp
),
%
esi
C
address
of
context
struct
ctx
movl
20
(
%
esp
),
%
esi
C
address
of
context
struct
ctx
xorl
(
%
esi
),
%
eax
C
add
first
key
to
plaintext
movl
32
(
%
esp
),
%
ebp
C
address
of
plaintext
xorl
4
(
%
esi
),
%
ebx
AES_LOAD
(
%
esi
,
%
ebp
)
xorl
8
(
%
esi
),
%
ecx
addl
$
16
,
32
(
%
esp
)
C
Increment
src
pointer
xorl
12
(
%
esi
),
%
edx
C
.Laes_xored_initial
:
C
FIXME
:
Use
%
esi
instead
C
FIXME
:
Use
%
esi
instead
movl
20
(
%
esp
),
%
ebp
C
address
of
context
struct
movl
20
(
%
esp
),
%
ebp
C
address
of
context
struct
movl
AES_NROUNDS
(
%
ebp
),
%
ebp
C
get
number
of
rounds
to
do
from
struct
movl
AES_NROUNDS
(
%
ebp
),
%
ebp
C
get
number
of
rounds
to
do
from
struct
...
...
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