Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
LSH
lsh
Commits
5a7a2855
Commit
5a7a2855
authored
Feb 25, 2002
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(_aes_crypt): In final_loop, use the register idx.
Rev: src/nettle/sparc/aes.asm:1.57
parent
9f04efff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/nettle/sparc/aes.asm
src/nettle/sparc/aes.asm
+5
-5
No files found.
src/nettle/sparc/aes.asm
View file @
5a7a2855
...
...
@@ -168,23 +168,23 @@ _aes_crypt:
!
final
round
mov
0
,
i
!
SIDX3
add
T
,
AES_SIDX3
,
%
g4
add
T
,
AES_SIDX3
,
idx
.Lfinal_loop:
!
Comments
mark
which
j
in
T
->
sbox
[
Bj
(
wtxt
[
IDXj
(
i
)])]
!
the
instruction
is
part
of
ld
[
%
g4
-
32
],
t1
!
1
ld
[
idx
-
32
],
t1
!
1
sll
i
,
2
,
%
i5
add
wtxt
,
t1
,
t1
!
1
ldub
[
t1
+
2
],
t1
!
1
add
%
i5
,
ds
t
,
%
g2
ld
[
%
g4
-
16
],
t2
!
2
ld
[
idx
-
16
],
t2
!
2
add
i
,
1
,
i
ld
[
wtxt
+%
i5
],
t0
!
0
lduh
[
wtxt
+
t2
],
t2
!
2
and
t0
,
255
,
t0
!
0
ld
[
%
g4
],
t3
!
3
ld
[
idx
],
t3
!
3
and
t2
,
255
,
t2
!
2
ldub
[
T
+
t1
],
t1
!
1
...
...
@@ -210,7 +210,7 @@ _aes_crypt:
stb
%
g3
,
[
ds
t
+%
i5
]
add
round
,
4
,
round
bleu
.Lfinal_loop
add
%
g4
,
4
,
%
g4
add
idx
,
4
,
idx
addcc
length
,
-
16
,
length
bne
.Lblock_loop
...
...
Write
Preview
Markdown
is supported
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