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
Deploy
Releases
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
Brian Smith
nettle
Commits
293ca09a
Commit
293ca09a
authored
19 years ago
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
* sparc/aes-encrypt-internal.asm: Renamed Ti -> Xi.
Rev: src/nettle/sparc/aes-encrypt-internal.asm:1.6
parent
caab43a0
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
sparc/aes-encrypt-internal.asm
+23
-23
23 additions, 23 deletions
sparc/aes-encrypt-internal.asm
with
23 additions
and
23 deletions
sparc/aes-encrypt-internal.asm
+
23
−
23
View file @
293ca09a
...
@@ -33,10 +33,10 @@ define(<W1>, <%l1>)
...
@@ -33,10 +33,10 @@ define(<W1>, <%l1>)
define
(
<
W2
>
,
<%
l2
>
)
define
(
<
W2
>
,
<%
l2
>
)
define
(
<
W3
>
,
<%
l3
>
)
define
(
<
W3
>
,
<%
l3
>
)
define
(
<
T
0
>
,
<%
l4
>
)
define
(
<
X
0
>
,
<%
l4
>
)
define
(
<
T
1
>
,
<%
l5
>
)
define
(
<
X
1
>
,
<%
l5
>
)
define
(
<
T
2
>
,
<%
l6
>
)
define
(
<
X
2
>
,
<%
l6
>
)
define
(
<
T
3
>
,
<%
l7
>
)
define
(
<
X
3
>
,
<%
l7
>
)
C
%
o0
and
%
01
are
TMP1
and
TMP2
C
%
o0
and
%
01
are
TMP1
and
TMP2
define
(
<
KEY
>
,
<%
o4
>
)
define
(
<
KEY
>
,
<%
o4
>
)
...
@@ -89,34 +89,34 @@ PROLOGUE(_nettle_aes_encrypt)
...
@@ -89,34 +89,34 @@ PROLOGUE(_nettle_aes_encrypt)
C
Last
two
rounds
handled
sp
ecially
C
Last
two
rounds
handled
sp
ecially
sub
ROUND
,
1
,
ROUND
sub
ROUND
,
1
,
ROUND
.Lround_loop:
.Lround_loop:
C
Transform
W
->
T
C
Transform
W
->
X
AES_ROUND
(
0
,
T
,
W0
,
W1
,
W2
,
W3
,
KEY
,
T
0
)
AES_ROUND
(
0
,
T
,
W0
,
W1
,
W2
,
W3
,
KEY
,
X
0
)
AES_ROUND
(
1
,
T
,
W1
,
W2
,
W3
,
W0
,
KEY
,
T
1
)
AES_ROUND
(
1
,
T
,
W1
,
W2
,
W3
,
W0
,
KEY
,
X
1
)
AES_ROUND
(
2
,
T
,
W2
,
W3
,
W0
,
W1
,
KEY
,
T
2
)
AES_ROUND
(
2
,
T
,
W2
,
W3
,
W0
,
W1
,
KEY
,
X
2
)
AES_ROUND
(
3
,
T
,
W3
,
W0
,
W1
,
W2
,
KEY
,
T
3
)
AES_ROUND
(
3
,
T
,
W3
,
W0
,
W1
,
W2
,
KEY
,
X
3
)
C
Transform
T
->
W
C
Transform
X
->
W
AES_ROUND
(
4
,
T
,
T
0
,
T
1
,
T
2
,
T
3
,
KEY
,
W0
)
AES_ROUND
(
4
,
T
,
X
0
,
X
1
,
X
2
,
X
3
,
KEY
,
W0
)
AES_ROUND
(
5
,
T
,
T
1
,
T
2
,
T
3
,
T
0
,
KEY
,
W1
)
AES_ROUND
(
5
,
T
,
X
1
,
X
2
,
X
3
,
X
0
,
KEY
,
W1
)
AES_ROUND
(
6
,
T
,
T
2
,
T
3
,
T
0
,
T
1
,
KEY
,
W2
)
AES_ROUND
(
6
,
T
,
X
2
,
X
3
,
X
0
,
X
1
,
KEY
,
W2
)
AES_ROUND
(
7
,
T
,
T
3
,
T
0
,
T
1
,
T
2
,
KEY
,
W3
)
AES_ROUND
(
7
,
T
,
X
3
,
X
0
,
X
1
,
X
2
,
KEY
,
W3
)
subcc
ROUND
,
1
,
ROUND
subcc
ROUND
,
1
,
ROUND
bne
.Lround_loop
bne
.Lround_loop
add
KEY
,
32
,
KEY
add
KEY
,
32
,
KEY
C
Penultimate
round
C
Penultimate
round
AES_ROUND
(
0
,
T
,
W0
,
W1
,
W2
,
W3
,
KEY
,
T
0
)
AES_ROUND
(
0
,
T
,
W0
,
W1
,
W2
,
W3
,
KEY
,
X
0
)
AES_ROUND
(
1
,
T
,
W1
,
W2
,
W3
,
W0
,
KEY
,
T
1
)
AES_ROUND
(
1
,
T
,
W1
,
W2
,
W3
,
W0
,
KEY
,
X
1
)
AES_ROUND
(
2
,
T
,
W2
,
W3
,
W0
,
W1
,
KEY
,
T
2
)
AES_ROUND
(
2
,
T
,
W2
,
W3
,
W0
,
W1
,
KEY
,
X
2
)
AES_ROUND
(
3
,
T
,
W3
,
W0
,
W1
,
W2
,
KEY
,
T
3
)
AES_ROUND
(
3
,
T
,
W3
,
W0
,
W1
,
W2
,
KEY
,
X
3
)
add
KEY
,
16
,
KEY
add
KEY
,
16
,
KEY
C
Final
round
C
Final
round
AES_FINAL_ROUND
(
0
,
T
,
T
0
,
T
1
,
T
2
,
T
3
,
KEY
,
DS
T
)
AES_FINAL_ROUND
(
0
,
T
,
X
0
,
X
1
,
X
2
,
X
3
,
KEY
,
DS
T
)
AES_FINAL_ROUND
(
1
,
T
,
T
1
,
T
2
,
T
3
,
T
0
,
KEY
,
DS
T
)
AES_FINAL_ROUND
(
1
,
T
,
X
1
,
X
2
,
X
3
,
X
0
,
KEY
,
DS
T
)
AES_FINAL_ROUND
(
2
,
T
,
T
2
,
T
3
,
T
0
,
T
1
,
KEY
,
DS
T
)
AES_FINAL_ROUND
(
2
,
T
,
X
2
,
X
3
,
X
0
,
X
1
,
KEY
,
DS
T
)
AES_FINAL_ROUND
(
3
,
T
,
T
3
,
T
0
,
T
1
,
T
2
,
KEY
,
DS
T
)
AES_FINAL_ROUND
(
3
,
T
,
X
3
,
X
0
,
X
1
,
X
2
,
KEY
,
DS
T
)
subcc
LENGTH
,
16
,
LENGTH
subcc
LENGTH
,
16
,
LENGTH
bne
.Lblock_loop
bne
.Lblock_loop
...
...
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