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
LSH
lsh
Commits
34c69c88
Commit
34c69c88
authored
Feb 25, 2002
by
Niels Möller
Browse files
(_aes_crypt): Use src directly when accessing the source data,
don't use %o5. Rev: src/nettle/sparc/aes.asm:1.46
parent
b735dbd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/nettle/sparc/aes.asm
View file @
34c69c88
...
...
@@ -69,18 +69,17 @@ _aes_crypt:
mov
-
4
,
i
.Lsource_loop:
add
i
,
4
,
i
!
add
i
,
src
,
%
o5
mov
src
,
%
o5
!
mov
src
,
%
o5
ldub
[
%
o5
+
3
],
%
g2
ldub
[
%
o5
+
2
],
%
g3
ldub
[
src
+
3
],
%
g2
ldub
[
src
+
2
],
%
g3
sll
%
g2
,
24
,
%
g2
ldub
[
%
o5
+
1
],
%
o0
ldub
[
src
+
1
],
%
o0
sll
%
g3
,
16
,
%
g3
or
%
g2
,
%
g3
,
%
g2
ldub
[
%
o5
],
%
o5
ldub
[
src
],
%
o5
sll
%
o0
,
8
,
%
o0
ld
[
ctx
+
i
],
%
g3
or
%
g2
,
%
o0
,
%
g2
...
...
@@ -93,35 +92,6 @@ _aes_crypt:
st
%
g2
,
[
wtxt
+
i
]
!
!
Read
a
little
-
endian
word
!
ldub
[
src
+
3
],
%
g2
!
sll
%
g2
,
8
,
%
g2
!
!
ldub
[
src
+
2
],
%
g3
!
or
%
g3
,
%
g2
,
%
g2
!
sll
%
g2
,
8
,
%
g2
!
!
ldub
[
src
+
1
],
%
g3
!
or
%
g3
,
%
g2
,
%
g2
!
sll
%
g2
,
8
,
%
g2
!
!
ldub
[
src
+
0
],
%
g3
!
or
%
g3
,
%
g2
,
%
g2
!
sll
%
g2
,
8
,
%
g2
!
!
ld
[
ctx
+%
o3
],
%
g3
!
xor
%
g3
,
%
g2
,
%
g2
!
!
add
src
,
4
,
src
!
st
%
g2
,
[
wtxt
+%
o4
]
!
!
cmp
%
o3
,
8
!
bleu
.Lsource_loop
!
add
%
o3
,
4
,
%
o3
mov
16
,
round
add
ctx
,
16
,
key
...
...
@@ -236,7 +206,6 @@ _aes_crypt:
bleu
.Lfinal_loop
add
%
g4
,
4
,
%
g4
!
add
src
,
16
,
src
addcc
length
,
-
16
,
length
bne
.Lblock_loop
add
ds
t
,
16
,
ds
t
...
...
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