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
Brian Smith
nettle
Commits
b71ab570
Commit
b71ab570
authored
Feb 25, 2002
by
Niels Möller
Browse files
(_aes_crypt): Changed stop condition in source_loop to not depend
on i. Rev: src/nettle/sparc/aes.asm:1.48
parent
8940ba4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
sparc/aes.asm
View file @
b71ab570
...
...
@@ -67,6 +67,14 @@ _aes_crypt:
.Lblock_loop:
!
Read
src
,
and
add
initial
subkey
mov
-
4
,
i
!
Read
src
,
and
add
initial
subkey
!
mov
-
4
,
i
!
Difference
between
ctx
and
src
sub
ctx
,
src
,
%
g2
!
Difference
between
wtxt
and
src
sub
wtxt
,
src
,
%
g3
!
For
stop
condition
add
src
,
12
,
%
g4
.Lsource_loop:
add
i
,
4
,
i
...
...
@@ -80,13 +88,15 @@ _aes_crypt:
ldub
[
src
],
t0
sll
t1
,
8
,
t1
ld
[
ctx
+
i
],
%
g3
!
Get
subkey
ld
[
ctx
+
i
],
t2
or
t3
,
t1
,
t3
or
t3
,
t0
,
t3
xor
t3
,
%
g3
,
t3
xor
t3
,
t2
,
t3
add
src
,
4
,
src
cmp
i
,
8
!
cmp
i
,
8
cmp
src
,
%
g4
bleu
.Lsource_loop
st
t3
,
[
wtxt
+
i
]
...
...
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