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
Marcus Hoffmann
nettle
Commits
059a39cb
Commit
059a39cb
authored
May 16, 2002
by
Niels Möller
Browse files
(_aes_crypt): Deleted cruft from the old source loop.
Rev: src/nettle/sparc/aes.asm:1.118
parent
0b68c53b
Changes
1
Hide whitespace changes
Inline
Side-by-side
sparc/aes.asm
View file @
059a39cb
...
...
@@ -212,25 +212,14 @@ _aes_crypt:
add
T
,
AES_TABLE2
,
T2
add
T
,
AES_TABLE3
,
T3
!
Read
src
,
and
add
initial
subkey
!
Difference
between
ctx
and
src.
!
NOTE:
These
instructions
are
duplicated
in
the
delay
slot
,
!
and
the
instruction
before
the
branch.
C
sub
ctx
,
src
,
%
g2
!
Difference
between
wtxt
and
src
C
sub
wtxt
,
src
,
%
g3
.Lblock_loop:
!
For
stop
condition.
Note
that
src
is
incremented
in
the
!
delay
slot
C
add
src
,
8
,
%
g1
C
Read
src
,
and
add
initial
subkey
AES_LOAD
(
0
)
!
i
=
0
AES_LOAD
(
4
)
!
i
=
1
AES_LOAD
(
8
)
!
i
=
2
AES_LOAD
(
12
)
!
i
=
3
add
src
,
16
,
src
sub
nrounds
,
1
,
round
add
ctx
,
16
,
key
...
...
@@ -255,14 +244,11 @@ _aes_crypt:
AES_FINAL_ROUND
(
4
)
!
i
=
1
AES_FINAL_ROUND
(
8
)
!
i
=
2
AES_FINAL_ROUND
(
12
)
!
i
=
3
add
ds
t
,
16
,
ds
t
addcc
length
,
-
16
,
length
C
sub
ctx
,
src
,
%
g2
bne
.Lblock_loop
nop
C
sub
wtxt
,
src
,
%
g3
add
ds
t
,
16
,
ds
t
.Lend:
ret
...
...
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