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
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nettle
nettle
Commits
ca23f223
Commit
ca23f223
authored
May 15, 2002
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
(_aes_crypt): Eliminated updates of i from the loop.
Rev: src/nettle/sparc/aes.asm:1.91
parent
f0ddc752
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
sparc/aes.asm
+7
-10
7 additions, 10 deletions
sparc/aes.asm
with
7 additions
and
10 deletions
sparc/aes.asm
+
7
−
10
View file @
ca23f223
...
@@ -292,7 +292,7 @@ undefine(<i>)
...
@@ -292,7 +292,7 @@ undefine(<i>)
define
(
i
,
round
)
define
(
i
,
round
)
!
Comments
mark
which
j
in
T
->
sbox
[
Bj
(
wtxt
[
IDXj
(
i
)])]
!
Comments
mark
which
j
in
T
->
sbox
[
Bj
(
wtxt
[
IDXj
(
i
)])]
!
the
instruction
is
part
of
!
the
instruction
is
part
of
.
C
Unrolled
final
loop
begins
C
Unrolled
final
loop
begins
!
NOTE:
First
instruction
duplicated
in
delay
slot
!
NOTE:
First
instruction
duplicated
in
delay
slot
...
@@ -325,7 +325,7 @@ define(i, round)
...
@@ -325,7 +325,7 @@ define(i, round)
or
t0
,
t3
,
t0
!
0
,
1
,
2
,
3
or
t0
,
t3
,
t0
!
0
,
1
,
2
,
3
xor
t0
,
t2
,
t0
xor
t0
,
t2
,
t0
add
i
,
4
,
i
C
add
i
,
4
,
i
srl
t0
,
24
,
t3
srl
t0
,
24
,
t3
srl
t0
,
16
,
t2
srl
t0
,
16
,
t2
...
@@ -343,7 +343,7 @@ define(i, round)
...
@@ -343,7 +343,7 @@ define(i, round)
add
wtxt
,
t1
,
t1
!
1
add
wtxt
,
t1
,
t1
!
1
ldub
[
t1
+
2
],
t1
!
1
ldub
[
t1
+
2
],
t1
!
1
ld
[
wtxt
+
i
],
t0
!
0
ld
[
wtxt
+
4
],
t0
!
0
!
IDX2
(
j
)
=
j
XOR
2
!
IDX2
(
j
)
=
j
XOR
2
lduh
[
wtxt
+
12
],
t2
!
2
lduh
[
wtxt
+
12
],
t2
!
2
and
t0
,
255
,
t0
!
0
and
t0
,
255
,
t0
!
0
...
@@ -366,7 +366,7 @@ define(i, round)
...
@@ -366,7 +366,7 @@ define(i, round)
or
t0
,
t3
,
t0
!
0
,
1
,
2
,
3
or
t0
,
t3
,
t0
!
0
,
1
,
2
,
3
xor
t0
,
t2
,
t0
xor
t0
,
t2
,
t0
add
i
,
4
,
i
C
add
i
,
4
,
i
srl
t0
,
24
,
t3
srl
t0
,
24
,
t3
srl
t0
,
16
,
t2
srl
t0
,
16
,
t2
...
@@ -407,7 +407,7 @@ define(i, round)
...
@@ -407,7 +407,7 @@ define(i, round)
or
t0
,
t3
,
t0
!
0
,
1
,
2
,
3
or
t0
,
t3
,
t0
!
0
,
1
,
2
,
3
xor
t0
,
t2
,
t0
xor
t0
,
t2
,
t0
add
i
,
4
,
i
C
add
i
,
4
,
i
srl
t0
,
24
,
t3
srl
t0
,
24
,
t3
srl
t0
,
16
,
t2
srl
t0
,
16
,
t2
...
@@ -422,11 +422,10 @@ define(i, round)
...
@@ -422,11 +422,10 @@ define(i, round)
C
i
=
3
C
i
=
3
ld
[
IDX1
+
12
],
t1
!
1
ld
[
IDX1
+
12
],
t1
!
1
xor
i
,
8
,
t2
add
wtxt
,
t1
,
t1
!
1
add
wtxt
,
t1
,
t1
!
1
ldub
[
t1
+
2
],
t1
!
1
ldub
[
t1
+
2
],
t1
!
1
ld
[
wtxt
+
i
],
t0
!
0
ld
[
wtxt
+
12
],
t0
!
0
!
IDX2
(
j
)
=
j
XOR
2
!
IDX2
(
j
)
=
j
XOR
2
lduh
[
wtxt
+
4
],
t2
!
2
lduh
[
wtxt
+
4
],
t2
!
2
and
t0
,
255
,
t0
!
0
and
t0
,
255
,
t0
!
0
...
@@ -449,7 +448,7 @@ define(i, round)
...
@@ -449,7 +448,7 @@ define(i, round)
or
t0
,
t3
,
t0
!
0
,
1
,
2
,
3
or
t0
,
t3
,
t0
!
0
,
1
,
2
,
3
xor
t0
,
t2
,
t0
xor
t0
,
t2
,
t0
add
i
,
4
,
i
C
add
i
,
4
,
i
srl
t0
,
24
,
t3
srl
t0
,
24
,
t3
srl
t0
,
16
,
t2
srl
t0
,
16
,
t2
...
@@ -461,8 +460,6 @@ define(i, round)
...
@@ -461,8 +460,6 @@ define(i, round)
stb
t0
,
[
ds
t
]
stb
t0
,
[
ds
t
]
add
ds
t
,
4
,
ds
t
add
ds
t
,
4
,
ds
t
C
ld
[
IDX1
+
i
],
t1
!
1
C
Unrolled
final
loop
ends
C
Unrolled
final
loop
ends
addcc
length
,
-
16
,
length
addcc
length
,
-
16
,
length
...
...
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