summaryrefslogtreecommitdiff
path: root/sparc
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2002-05-15 22:43:23 +0200
committerNiels Möller <nisse@lysator.liu.se>2002-05-15 22:43:23 +0200
commitc209a74e025eb9d21a94ec56843672a0aa55ad30 (patch)
tree94dd4c2598b676ca82dcb51cd8bd251c4ea6ef5f /sparc
parentca23f2234d9601e47c3b7bc83144a82af9dbb6f7 (diff)
downloadnettle-c209a74e025eb9d21a94ec56843672a0aa55ad30.tar.gz
Cleanup.
Rev: src/nettle/sparc/aes.asm:1.92
Diffstat (limited to 'sparc')
-rw-r--r--sparc/aes.asm10
1 files changed, 1 insertions, 9 deletions
diff --git a/sparc/aes.asm b/sparc/aes.asm
index 2b69c217..9aead0dc 100644
--- a/sparc/aes.asm
+++ b/sparc/aes.asm
@@ -286,16 +286,12 @@ _aes_crypt:
bne .Lround_loop
add key, 16, key
- ! final round
- ! Use round as the loop variable, as it's already zero
-undefine(<i>)
-define(i, round)
+ ! Final round
! Comments mark which j in T->sbox[Bj(wtxt[IDXj(i)])]
! the instruction is part of.
C Unrolled final loop begins
- ! NOTE: First instruction duplicated in delay slot
C i = 0
ld [IDX1+0], t1 ! 1
@@ -325,7 +321,6 @@ define(i, round)
or t0, t3, t0 ! 0, 1, 2, 3
xor t0, t2, t0
- C add i, 4, i
srl t0, 24, t3
srl t0, 16, t2
@@ -366,7 +361,6 @@ define(i, round)
or t0, t3, t0 ! 0, 1, 2, 3
xor t0, t2, t0
- C add i, 4, i
srl t0, 24, t3
srl t0, 16, t2
@@ -407,7 +401,6 @@ define(i, round)
or t0, t3, t0 ! 0, 1, 2, 3
xor t0, t2, t0
- C add i, 4, i
srl t0, 24, t3
srl t0, 16, t2
@@ -448,7 +441,6 @@ define(i, round)
or t0, t3, t0 ! 0, 1, 2, 3
xor t0, t2, t0
- C add i, 4, i
srl t0, 24, t3
srl t0, 16, t2