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
Nettle
nettle
Commits
363883b9
Commit
363883b9
authored
May 16, 2002
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work in progress, source loop unrolling.
Rev: src/nettle/sparc/aes.asm:1.113
parent
26912c42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
24 deletions
+25
-24
sparc/aes.asm
sparc/aes.asm
+25
-24
No files found.
sparc/aes.asm
View file @
363883b9
...
...
@@ -66,23 +66,23 @@ define(t3, %o3)
C
AES_LOAD
(
i
)
C
Get
one
word
of
input
,
XOR
with
first
subkey
,
store
in
wtxt
define
(
<
AES_LOAD
>
,
<
ldub
[
src
+
3
],
t3
ldub
[
src
+
2
],
t2
ldub
[
src
+
$
1
+
3
],
t3
ldub
[
src
+
$
1
+
2
],
t2
sll
t3
,
24
,
t3
ldub
[
src
+
1
],
t1
ldub
[
src
+
$
1
+
1
],
t1
sll
t2
,
16
,
t2
or
t3
,
t2
,
t3
ldub
[
src
],
t0
ldub
[
src
+
$
1
],
t0
sll
t1
,
8
,
t1
!
Get
subkey
ld
[
ctx
+
0
],
t2
ld
[
ctx
+
$
1
],
t2
or
t3
,
t1
,
t3
or
t3
,
t0
,
t3
xor
t3
,
t2
,
t3
st
t3
,
[
wtxt
+
0
]
st
t3
,
[
wtxt
+
$
1
]
add
src
,
4
,
src
C
ldub
[
src
+
$
1
],
t0
...
...
@@ -233,24 +233,25 @@ _aes_crypt:
C
.Lsource_loop
:
C
Begin
loop
C
i
=
0
ldub
[
src
+
3
],
t3
ldub
[
src
+
2
],
t2
sll
t3
,
24
,
t3
ldub
[
src
+
1
],
t1
sll
t2
,
16
,
t2
or
t3
,
t2
,
t3
ldub
[
src
],
t0
sll
t1
,
8
,
t1
!
Get
subkey
ld
[
ctx
+
0
],
t2
or
t3
,
t1
,
t3
or
t3
,
t0
,
t3
xor
t3
,
t2
,
t3
st
t3
,
[
wtxt
+
0
]
add
src
,
4
,
src
AES_LOAD
(
0
)
C
ldub
[
src
+
3
],
t3
C
ldub
[
src
+
2
],
t2
C
sll
t3
,
24
,
t3
C
ldub
[
src
+
1
],
t1
C
C
sll
t2
,
16
,
t2
C
or
t3
,
t2
,
t3
C
ldub
[
src
],
t0
C
sll
t1
,
8
,
t1
C
C
!
Get
subkey
C
ld
[
ctx
+
0
],
t2
C
or
t3
,
t1
,
t3
C
or
t3
,
t0
,
t3
C
xor
t3
,
t2
,
t3
C
C
st
t3
,
[
wtxt
+
0
]
C
add
src
,
4
,
src
C
i
=
1
ldub
[
src
+
3
],
t3
...
...
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