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
f9abf2bd
Commit
f9abf2bd
authored
Feb 15, 2002
by
Niels Möller
Browse files
* sparc/aes.asm (_aes_crypt): Don't check for nrounds==0 at the
start of the loop. Rev: src/nettle/sparc/aes.asm:1.18
parent
bcba7673
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/nettle/sparc/aes.asm
View file @
f9abf2bd
...
...
@@ -54,10 +54,9 @@ define(src, %o2)
define
(
wtxt
,
%
l2
)
define
(
tmp
,
%
o1
)
_aes_crypt:
!#
PROLOGUE#
0
!
Why
-
136
?
save
%
sp
,
-
136
,
%
sp
!#
PROLOGUE#
1
!
Why
this
moving
around
of
the
input
parameters?
mov
%
i2
,
length
mov
%
i0
,
ctx
...
...
@@ -66,7 +65,7 @@ _aes_crypt:
cmp
length
,
0
be
.Lend
mov
%
i4
,
src
!
wtxt
?
!
wtxt
add
%
fp
,
-
24
,
%
l1
mov
%
l1
,
wtxt
.Lblock_loop:
...
...
@@ -95,9 +94,9 @@ _aes_crypt:
!
FIXME:
We
can
safely
assume
that
nrounds
>
1
ld
[
ctx
+
AES_NROUNDS
],
%
g2
mov
1
,
%
g1
cmp
%
g1
,
%
g2
bgeu
,
a
.Lfinal_round
sll
%
g1
,
4
,
%
g2
!
cmp
%
g1
,
%
g2
!
bgeu
,
a
.Lfinal_round
!
sll
%
g1
,
4
,
%
g2
add
%
fp
,
-
40
,
tmp
mov
%
g2
,
%
o7
...
...
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