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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Wim Lewis
nettle
Commits
35f55c38
Commit
35f55c38
authored
23 years ago
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
* sparc/aes.asm (_aes_crypt): Don't check for nrounds==0 at the
start of the loop. Rev: src/nettle/sparc/aes.asm:1.18
parent
e54ea73b
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
+5
-6
5 additions, 6 deletions
sparc/aes.asm
with
5 additions
and
6 deletions
sparc/aes.asm
+
5
−
6
View file @
35f55c38
...
@@ -54,10 +54,9 @@ define(src, %o2)
...
@@ -54,10 +54,9 @@ define(src, %o2)
define
(
wtxt
,
%
l2
)
define
(
wtxt
,
%
l2
)
define
(
tmp
,
%
o1
)
define
(
tmp
,
%
o1
)
_aes_crypt:
_aes_crypt:
!#
PROLOGUE#
0
!
Why
-
136
?
!
Why
-
136
?
save
%
sp
,
-
136
,
%
sp
save
%
sp
,
-
136
,
%
sp
!#
PROLOGUE#
1
!
Why
this
moving
around
of
the
input
parameters?
!
Why
this
moving
around
of
the
input
parameters?
mov
%
i2
,
length
mov
%
i2
,
length
mov
%
i0
,
ctx
mov
%
i0
,
ctx
...
@@ -66,7 +65,7 @@ _aes_crypt:
...
@@ -66,7 +65,7 @@ _aes_crypt:
cmp
length
,
0
cmp
length
,
0
be
.Lend
be
.Lend
mov
%
i4
,
src
mov
%
i4
,
src
!
wtxt
?
!
wtxt
add
%
fp
,
-
24
,
%
l1
add
%
fp
,
-
24
,
%
l1
mov
%
l1
,
wtxt
mov
%
l1
,
wtxt
.Lblock_loop:
.Lblock_loop:
...
@@ -95,9 +94,9 @@ _aes_crypt:
...
@@ -95,9 +94,9 @@ _aes_crypt:
!
FIXME:
We
can
safely
assume
that
nrounds
>
1
!
FIXME:
We
can
safely
assume
that
nrounds
>
1
ld
[
ctx
+
AES_NROUNDS
],
%
g2
ld
[
ctx
+
AES_NROUNDS
],
%
g2
mov
1
,
%
g1
mov
1
,
%
g1
cmp
%
g1
,
%
g2
!
cmp
%
g1
,
%
g2
bgeu
,
a
.Lfinal_round
!
bgeu
,
a
.Lfinal_round
sll
%
g1
,
4
,
%
g2
!
sll
%
g1
,
4
,
%
g2
add
%
fp
,
-
40
,
tmp
add
%
fp
,
-
40
,
tmp
mov
%
g2
,
%
o7
mov
%
g2
,
%
o7
...
...
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