Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nettle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Norbert Pócs
nettle
Commits
0bf40347
Commit
0bf40347
authored
19 years ago
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
* sparc/aes-encrypt-internal.asm: Fixed bugs. Now passes the
testsuite. Rev: src/nettle/sparc/aes-encrypt-internal.asm:1.5
parent
685b4941
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sparc/aes-encrypt-internal.asm
+16
-9
16 additions, 9 deletions
sparc/aes-encrypt-internal.asm
with
16 additions
and
9 deletions
sparc/aes-encrypt-internal.asm
+
16
−
9
View file @
0bf40347
...
@@ -84,8 +84,10 @@ PROLOGUE(_nettle_aes_encrypt)
...
@@ -84,8 +84,10 @@ PROLOGUE(_nettle_aes_encrypt)
C
Must
be
even
,
and
includes
the
final
round
C
Must
be
even
,
and
includes
the
final
round
ld
[
AES_NROUNDS
+
CTX
],
ROUND
ld
[
AES_NROUNDS
+
CTX
],
ROUND
nop
srl
ROUND
,
1
,
ROUND
srl
ROUND
,
1
,
ROUND
C
Last
two
rounds
handled
sp
ecially
sub
ROUND
,
1
,
ROUND
.Lround_loop:
.Lround_loop:
C
Transform
W
->
T
C
Transform
W
->
T
AES_ROUND
(
0
,
T
,
W0
,
W1
,
W2
,
W3
,
KEY
,
T0
)
AES_ROUND
(
0
,
T
,
W0
,
W1
,
W2
,
W3
,
KEY
,
T0
)
...
@@ -111,10 +113,10 @@ PROLOGUE(_nettle_aes_encrypt)
...
@@ -111,10 +113,10 @@ PROLOGUE(_nettle_aes_encrypt)
add
KEY
,
16
,
KEY
add
KEY
,
16
,
KEY
C
Final
round
C
Final
round
AES_ROUND
(
0
,
T
,
T0
,
T1
,
T2
,
T3
,
KEY
,
DS
T
)
AES_
FINAL_
ROUND
(
0
,
T
,
T0
,
T1
,
T2
,
T3
,
KEY
,
DS
T
)
AES_ROUND
(
1
,
T
,
T1
,
T2
,
T3
,
T0
,
KEY
,
DS
T
)
AES_
FINAL_
ROUND
(
1
,
T
,
T1
,
T2
,
T3
,
T0
,
KEY
,
DS
T
)
AES_ROUND
(
2
,
T
,
T2
,
T3
,
T0
,
T1
,
KEY
,
DS
T
)
AES_
FINAL_
ROUND
(
2
,
T
,
T2
,
T3
,
T0
,
T1
,
KEY
,
DS
T
)
AES_ROUND
(
3
,
T
,
T3
,
T0
,
T1
,
T2
,
KEY
,
DS
T
)
AES_
FINAL_
ROUND
(
3
,
T
,
T3
,
T0
,
T1
,
T2
,
KEY
,
DS
T
)
subcc
LENGTH
,
16
,
LENGTH
subcc
LENGTH
,
16
,
LENGTH
bne
.Lblock_loop
bne
.Lblock_loop
...
@@ -127,9 +129,14 @@ EPILOGUE(_nettle_aes_encrypt)
...
@@ -127,9 +129,14 @@ EPILOGUE(_nettle_aes_encrypt)
C
Some
stats
from
adriana.lysator.liu.se
(
SS
1000
$
,
85
MHz
),
for
AES
128
C
Some
stats
from
adriana.lysator.liu.se
(
SS
1000
$
,
85
MHz
),
for
AES
128
C
nettle
-
1.13
C
-
code
:
1.2
MB
/
s
,
1107
cycles
/
bl
ock
C
A
:
nettle
-
1.13
C
-
code
C
nettle
-
1.13
assembler
:
2.3
MB
/
s
,
572
cycles
/
bl
ock
C
B
:
nettle
-
1.13
assembler
C
C
:
New
C
-
code
C
New
C
-
code
:
2.1
MB
/
s
,
615
cycles
/
bl
ock
C
D
:
New
assembler
,
first
correct
version
C
MB
/
s
cycles
/
bl
ock
C
A
1.2
1107
C
B
2.3
572
C
C
2.1
627
C
D
1.8
722
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment