Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dmitry Baryshkov
nettle
Commits
cf225e9e
Commit
cf225e9e
authored
Feb 25, 2002
by
Niels Möller
Browse files
(_aes_crypt): Deleted idx register.
Rev: src/nettle/sparc/aes.asm:1.64
parent
f33a8918
Changes
1
Hide whitespace changes
Inline
Side-by-side
sparc/aes.asm
View file @
cf225e9e
!
-*-
mode:
asm
; asm-comment-char: ?!; -*-
!
Used
registers
:
%
l0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
!
%
i0
,
1
,
2
,
3
,
4
(
%
i6
=
%
fp
,
%
i7
=
return
)
!
%
o0
,
1
,
2
,
3
,
4
(
%
o6
=
%
sp
)
!
%
o0
,
1
,
2
,
3
(
%
o6
=
%
sp
)
!
%
g2
,
3
,
4
,
5
,
6
include
(
`
asm.m4
'
)
...
...
@@ -44,7 +44,6 @@ define(t0, %o0)
define
(
t1
,
%
o1
)
define
(
t2
,
%
o2
)
define
(
t3
,
%
o3
)
define
(
idx
,
%
o4
)
_aes_crypt:
!
Why
-
136
?
...
...
@@ -107,7 +106,7 @@ _aes_crypt:
.Lround_loop:
!
4*
i
mov
0
,
i
add
T
,
AES_SIDX3
,
idx
!
add
T
,
AES_SIDX3
,
idx
.Linner_loop:
!
The
comments
mark
which
j
in
T
->
table
[
j
][
Bj
(
wtxt
[
IDXi
(
i
)])
]
!
the
instruction
is
a
part
of.
...
...
@@ -172,7 +171,7 @@ _aes_crypt:
!
4*
i
mov
0
,
i
!
SIDX3
add
T
,
AES_SIDX3
,
idx
!
add
T
,
AES_SIDX3
,
idx
.Lfinal_loop:
!
Comments
mark
which
j
in
T
->
sbox
[
Bj
(
wtxt
[
IDXj
(
i
)])]
!
the
instruction
is
part
of
...
...
@@ -215,10 +214,10 @@ _aes_crypt:
stb
t3
,
[
ds
t
+
3
]
stb
t2
,
[
ds
t
+
2
]
stb
t0
,
[
ds
t
]
add
ds
t
,
4
,
ds
t
bleu
.Lfinal_loop
add
idx
,
4
,
idx
add
ds
t
,
4
,
ds
t
addcc
length
,
-
16
,
length
nop
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment