Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lsh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
LSH
lsh
Commits
de3a2387
Commit
de3a2387
authored
Feb 25, 2002
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(_aes_crypt): Deleted idx register. Further cleanup.
Rev: src/nettle/sparc/aes.asm:1.65
parent
dc9f5dd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
19 deletions
+10
-19
src/nettle/sparc/aes.asm
src/nettle/sparc/aes.asm
+10
-19
No files found.
src/nettle/sparc/aes.asm
View file @
de3a2387
...
...
@@ -106,7 +106,6 @@ _aes_crypt:
.Lround_loop:
!
4*
i
mov
0
,
i
!
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.
...
...
@@ -114,68 +113,60 @@ _aes_crypt:
!
The
code
uses
the
register
%
o
[
j
],
aka
tj
,
as
the
primary
!
register
for
that
sub
-
expression.
True
for
j
==
1
,
3
.
!
AES_SIDX1
ld
[
IDX1
+
i
],
t1
!
1
!
AES_SIDX2
!
IDX2
(
j
)
=
j
XOR
2
xor
i
,
8
,
t2
!
wtxt
[
IDX1...
]
add
wtxt
,
t1
,
t1
!
1
ldub
[
t1
+
2
],
t1
!
1
!
AES_SIDX3
ld
[
IDX3
+
i
],
t3
!
3
sll
t1
,
2
,
t1
!
1
!
wtxt
[
i
]
ld
[
wtxt
+
i
],
t0
!
0
!
wtxt
[
IDX2...
]
lduh
[
wtxt
+
t2
],
t2
!
2
and
t0
,
255
,
t0
!
0
!
wtxt
[
IDX3...
]
ldub
[
wtxt
+
t3
],
t3
!
3
sll
t0
,
2
,
t0
!
0
ld
[
T0
+
t0
],
t0
!
0
and
t2
,
255
,
t2
!
2
ld
[
T1
+
t1
],
t1
!
1
sll
t2
,
2
,
t2
!
2
ld
[
T2
+
t2
],
t2
!
2
sll
t3
,
2
,
t3
!
3
ld
[
T3
+
t3
],
t3
!
3
xor
t0
,
t1
,
t0
!
0
,
1
xor
t0
,
t2
,
t0
!
0
,
1
,
2
!
add
idx
,
4
,
idx
!
Fetch
roundkey
ld
[
key
+
i
],
t1
xor
t0
,
t3
,
t0
!
0
,
1
,
2
,
3
xor
t0
,
t1
,
t0
st
t0
,
[
tmp
+
i
]
cmp
i
,
8
bleu
.Linner_loop
add
i
,
4
,
i
!
switch
roles
for
tmp
and
wtxt
xor
wtxt
,
di
ff
,
wtxt
subcc
round
,
1
,
round
add
key
,
16
,
key
nop
bne
.Lround_loop
xor
tmp
,
di
ff
,
tmp
!
final
round
!
4*
i
mov
0
,
i
!
SIDX3
!
add
T
,
AES_SIDX3
,
idx
.Lfinal_loop:
!
Comments
mark
which
j
in
T
->
sbox
[
Bj
(
wtxt
[
IDXj
(
i
)])]
!
the
instruction
is
part
of
ld
[
IDX1
+
i
],
t1
!
1
!
IDX2
(
j
)
=
j
XOR
2
xor
i
,
8
,
t2
!
ld
[
idx
-
16
],
t2
!
2
add
wtxt
,
t1
,
t1
!
1
...
...
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