Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wim Lewis
nettle
Commits
5612f8ce
Commit
5612f8ce
authored
Oct 15, 2005
by
Niels Möller
Browse files
Comment changes.
Rev: src/nettle/sparc/aes.asm:1.126
parent
c2e1bd5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
sparc/aes.asm
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
>
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment