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
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marcus Hoffmann
nettle
Commits
0b68c53b
Commit
0b68c53b
authored
23 years ago
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
(_aes_crypt): Deleted cruft from the old source loop.
Rev: src/nettle/sparc/aes.asm:1.117
parent
c2e71ec7
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
+13
-16
13 additions, 16 deletions
sparc/aes.asm
with
13 additions
and
16 deletions
sparc/aes.asm
+
13
−
16
View file @
0b68c53b
...
@@ -66,14 +66,14 @@ define(t3, %o3)
...
@@ -66,14 +66,14 @@ define(t3, %o3)
C
AES_LOAD
(
i
)
C
AES_LOAD
(
i
)
C
Get
one
word
of
input
,
XOR
with
first
subkey
,
store
in
wtxt
C
Get
one
word
of
input
,
XOR
with
first
subkey
,
store
in
wtxt
define
(
<
AES_LOAD
>
,
<
define
(
<
AES_LOAD
>
,
<
ldub
[
src
+
3
],
t3
ldub
[
src
+
$
1
+
3
],
t3
ldub
[
src
+
2
],
t2
ldub
[
src
+
$
1
+
2
],
t2
sll
t3
,
24
,
t3
sll
t3
,
24
,
t3
ldub
[
src
+
1
],
t1
ldub
[
src
+
$
1
+
1
],
t1
sll
t2
,
16
,
t2
sll
t2
,
16
,
t2
or
t3
,
t2
,
t3
or
t3
,
t2
,
t3
ldub
[
src
+
0
],
t0
ldub
[
src
+
$
1
],
t0
sll
t1
,
8
,
t1
sll
t1
,
8
,
t1
!
Get
subkey
!
Get
subkey
...
@@ -83,7 +83,7 @@ define(<AES_LOAD>, <
...
@@ -83,7 +83,7 @@ define(<AES_LOAD>, <
xor
t3
,
t2
,
t3
xor
t3
,
t2
,
t3
st
t3
,
[
wtxt
+
$
1
]
st
t3
,
[
wtxt
+
$
1
]
add
src
,
4
,
src
C
add
src
,
4
,
src
C
ldub
[
src
+
$
1
],
t0
C
ldub
[
src
+
$
1
],
t0
C
ldub
[
src
+
$
1
+
1
],
t1
C
ldub
[
src
+
$
1
+
1
],
t1
...
@@ -216,24 +216,20 @@ _aes_crypt:
...
@@ -216,24 +216,20 @@ _aes_crypt:
!
Difference
between
ctx
and
src.
!
Difference
between
ctx
and
src.
!
NOTE:
These
instructions
are
duplicated
in
the
delay
slot
,
!
NOTE:
These
instructions
are
duplicated
in
the
delay
slot
,
!
and
the
instruction
before
the
branch.
!
and
the
instruction
before
the
branch.
sub
ctx
,
src
,
%
g2
C
sub
ctx
,
src
,
%
g2
!
Difference
between
wtxt
and
src
!
Difference
between
wtxt
and
src
sub
wtxt
,
src
,
%
g3
C
sub
wtxt
,
src
,
%
g3
.Lblock_loop:
.Lblock_loop:
!
For
stop
condition.
Note
that
src
is
incremented
in
the
!
For
stop
condition.
Note
that
src
is
incremented
in
the
!
delay
slot
!
delay
slot
add
src
,
8
,
%
g1
C
add
src
,
8
,
%
g1
C
AES_LOAD
(
0
)
!
i
=
0
C
AES_LOAD
(
4
)
!
i
=
1
C
AES_LOAD
(
8
)
!
i
=
2
C
AES_LOAD
(
12
)
!
i
=
3
C
add
src
,
16
,
src
AES_LOAD
(
0
)
!
i
=
0
AES_LOAD
(
0
)
!
i
=
0
AES_LOAD
(
4
)
!
i
=
1
AES_LOAD
(
4
)
!
i
=
1
AES_LOAD
(
8
)
!
i
=
2
AES_LOAD
(
8
)
!
i
=
2
AES_LOAD
(
12
)
!
i
=
3
AES_LOAD
(
12
)
!
i
=
3
add
src
,
16
,
src
sub
nrounds
,
1
,
round
sub
nrounds
,
1
,
round
add
ctx
,
16
,
key
add
ctx
,
16
,
key
...
@@ -262,10 +258,11 @@ _aes_crypt:
...
@@ -262,10 +258,11 @@ _aes_crypt:
add
ds
t
,
16
,
ds
t
add
ds
t
,
16
,
ds
t
addcc
length
,
-
16
,
length
addcc
length
,
-
16
,
length
sub
ctx
,
src
,
%
g2
C
sub
ctx
,
src
,
%
g2
bne
.Lblock_loop
bne
.Lblock_loop
sub
wtxt
,
src
,
%
g3
nop
C
sub
wtxt
,
src
,
%
g3
.Lend:
.Lend:
ret
ret
...
...
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