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
Container registry
Model registry
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
Dmitry Baryshkov
nettle
Commits
281f4cc6
Commit
281f4cc6
authored
23 years ago
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
(_aes_crypt): Use double-buffering, and no
separate loop for adding the round key. Rev: src/nettle/sparc/aes.asm:1.38
parent
e83a85a6
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
sparc/aes.asm
+23
-23
23 additions, 23 deletions
sparc/aes.asm
with
23 additions
and
23 deletions
sparc/aes.asm
+
23
−
23
View file @
281f4cc6
...
...
@@ -158,14 +158,14 @@ _aes_crypt:
add
idx
,
4
,
idx
!
!
Fetch
roundkey
!
sll
round
,
4
,
%
o5
!
add
%
o5
,
ctx
,
%
o5
!
ld
[
%
o5
],
%
o5
!
Fetch
roundkey
sll
round
,
4
,
t1
add
t1
,
ctx
,
t1
ld
[
t1
+
i
],
t1
xor
t0
,
t3
,
t0
!
0
,
1
,
2
,
3
!
xor
t0
,
%
o5
,
t0
xor
t0
,
t1
,
t0
st
t0
,
[
tmp
+
i
]
cmp
i
,
8
...
...
@@ -173,25 +173,25 @@ _aes_crypt:
bleu
.Linner_loop
add
i
,
4
,
i
sll
round
,
4
,
%
g2
add
%
g2
,
ctx
,
%
o0
mov
0
,
i
.Lroundkey_loop:
sll
i
,
2
,
%
g2
ld
[
%
o0
],
%
o5
add
i
,
1
,
i
ld
[
tmp
+%
g2
],
%
g3
cmp
i
,
3
xor
%
g3
,
%
o5
,
%
g3
st
%
g3
,
[
wtxt
+%
g2
]
!
sll
round
,
4
,
%
g2
!
add
%
g2
,
ctx
,
%
o0
!
mov
0
,
i
!
!
.Lroundkey_loop:
!
sll
i
,
2
,
%
g2
!
ld
[
%
o0
],
%
o5
!
add
i
,
1
,
i
!
ld
[
tmp
+%
g2
],
%
g3
!
cmp
i
,
3
!
xor
%
g3
,
%
o5
,
%
g3
!
!
st
%
g3
,
[
wtxt
+%
g2
]
!
st
%
g3
,
[
tmp
+%
g2
]
bleu
.Lroundkey_loop
add
%
o0
,
4
,
%
o0
!
bleu
.Lroundkey_loop
!
add
%
o0
,
4
,
%
o0
!
!
switch
roles
for
tmp
and
wtxt
!
xor
wtxt
,
di
ff
,
wtxt
!
xor
tmp
,
di
ff
,
tmp
xor
wtxt
,
di
ff
,
wtxt
xor
tmp
,
di
ff
,
tmp
add
round
,
1
,
round
cmp
round
,
nround
...
...
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