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
Package registry
Container Registry
Model registry
Operate
Terraform modules
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
Norbert Pócs
nettle
Commits
5612f8ce
Commit
5612f8ce
authored
19 years ago
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
Comment changes.
Rev: src/nettle/sparc/aes.asm:1.126
parent
c2e1bd5b
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.asm
+8
-2
8 additions, 2 deletions
sparc/aes.asm
with
8 additions
and
2 deletions
sparc/aes.asm
+
8
−
2
View file @
5612f8ce
...
...
@@ -28,6 +28,12 @@
!
NOTE:
Some
of
the
%
g
registers
are
reserved
for
operating
system
etc
!
(
see
gcc
/
config
/
sp
arc.h
)
.
The
only
%
g
registers
that
seems
safe
to
!
use
are
%
g1
-%
g3.
C
FIXME
:
Use
separate
code
for
encryption
and
decryption
,
to
avoid
the
IDX
lookups.
C
Put
AES
state
in
registers.
If
possible
,
use
two
register
sets
and
unroll
the
loop
twice.
C
On
sp
arc64
,
investigate
if
we
can
do
two
bl
ocks
in
parallell
,
using
C
the
upper
and
lower
parts
of
the
registers
for
di
fferent
bl
ocks.
C
It
seems
hard
to
do
the
byte
indexing
in
parallel
though.
!
Used
registers
:
%
l0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
!
%
i0
,
1
,
2
,
3
,
4
(
%
i6
=
%
fp
,
%
i7
=
return
)
...
...
@@ -64,9 +70,9 @@ define(t2, %o2)
define
(
round
,
%
o3
)
define
(
key
,
%
o4
)
C
IDX1
co
i
ntains
the
permutation
values
*
4
+
2
C
IDX1
contains
the
permutation
values
*
4
+
2
define
(
IDX1
,
<
T
+
AES_SIDX1
>
)
C
IDX3
co
i
ntains
the
permutation
values
*
4
C
IDX3
contains
the
permutation
values
*
4
define
(
IDX3
,
<
T
+
AES_SIDX3
>
)
...
...
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