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
5af72e2c
Commit
5af72e2c
authored
Feb 15, 2002
by
Niels Möller
Browse files
(_aes_crypt): More symbolic names.
Rev: src/nettle/sparc/aes.asm:1.15
parent
19632b17
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/nettle/sparc/aes.asm
View file @
5af72e2c
...
...
@@ -95,16 +95,17 @@ _aes_crypt:
ld
[
ctx
+
AES_NROUNDS
],
%
g2
mov
1
,
%
g1
cmp
%
g1
,
%
g2
bgeu
,
a
.L
L47
bgeu
,
a
.L
final_round
sll
%
g1
,
4
,
%
g2
add
%
fp
,
-
40
,
%
o1
mov
%
g2
,
%
o7
mov
%
o1
,
%
l0
mov
%
l1
,
%
g4
mov
0
,
%
i5
.L
L48
:
.L
round_loop
:
add
T
,
AES_IDX3
,
%
i4
.LL26:
.Linner_loop:
!
Equals
AES_IDX1
ld
[
%
i4
-
32
],
%
g3
sll
%
i5
,
2
,
%
i3
sll
%
g3
,
2
,
%
g3
...
...
@@ -137,14 +138,14 @@ _aes_crypt:
xor
%
g2
,
%
g3
,
%
g2
st
%
g2
,
[
%
l0
+%
i3
]
cmp
%
i5
,
3
bleu
.L
L26
bleu
.L
inner_loop
add
%
i4
,
4
,
%
i4
sll
%
g1
,
4
,
%
g2
add
%
g2
,
ctx
,
%
i1
mov
0
,
%
i5
mov
%
l1
,
%
i3
mov
%
o1
,
%
i2
.L
L31
:
.L
roundkey_loop
:
sll
%
i5
,
2
,
%
g2
ld
[
%
i1
],
%
i0
add
%
i5
,
1
,
%
i5
...
...
@@ -152,19 +153,19 @@ _aes_crypt:
cmp
%
i5
,
3
xor
%
g3
,
%
i0
,
%
g3
st
%
g3
,
[
%
i3
+%
g2
]
bleu
.L
L31
bleu
.L
roundkey_loop
add
%
i1
,
4
,
%
i1
add
%
g1
,
1
,
%
g1
cmp
%
g1
,
%
o7
blu
.L
L48
blu
.L
round_loop
mov
0
,
%
i5
sll
%
g1
,
4
,
%
g2
.L
L47
:
.L
final_round
:
add
%
g2
,
ctx
,
%
o7
mov
0
,
%
o1
mov
%
l1
,
%
g1
add
T
,
288
,
%
g4
.L
L37
:
.L
final_loop
:
ld
[
%
g4
-
32
],
%
g2
sll
%
o1
,
2
,
%
i5
sll
%
g2
,
2
,
%
g2
...
...
@@ -202,8 +203,9 @@ _aes_crypt:
stb
%
i1
,
[
%
i4
+
2
]
stb
%
g3
,
[
ds
t
+%
i5
]
add
%
o7
,
4
,
%
o7
bleu
.L
L37
bleu
.L
final_loop
add
%
g4
,
4
,
%
g4
add
ds
t
,
16
,
ds
t
addcc
length
,
-
16
,
length
bne
.Lblock_loop
...
...
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