summaryrefslogtreecommitdiff
path: root/sparc/aes.asm
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2002-05-16 01:01:03 +0200
committerNiels Möller <nisse@lysator.liu.se>2002-05-16 01:01:03 +0200
commit59086f677ef53405db932139c793159ea9775244 (patch)
treef644621dd20aaabcfc9bc478750d27d5f582cca6 /sparc/aes.asm
parente1afcdb2f3b3c3fa15fda5d6bd44758a82b97f10 (diff)
downloadnettle-59086f677ef53405db932139c793159ea9775244.tar.gz
(AES_FINAL_ROUND): Eliminated t3.
Rev: src/nettle/sparc/aes.asm:1.110
Diffstat (limited to 'sparc/aes.asm')
-rw-r--r--sparc/aes.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/sparc/aes.asm b/sparc/aes.asm
index d19ac1f1..318b5ce0 100644
--- a/sparc/aes.asm
+++ b/sparc/aes.asm
@@ -113,15 +113,15 @@ define(<AES_FINAL_ROUND>, <
ldub [T+t0], t0 ! 0
ldub [T+t1], t1 ! 1
- ld [IDX3 + $1], t3 ! 3
+ ld [IDX3 + $1], t2 ! 3
sll t1, 8, t1 ! 1
or t0, t1, t0 ! 0, 1
! IDX2(j) = j XOR 2
ldub [wtxt+eval($1 ^ 8)+1], t1 ! 2
- ldub [wtxt+t3], t3 ! 3
+ ldub [wtxt+t2], t2 ! 3
ldub [T+t1], t1 ! 2
- ldub [T+t3], t2 ! 3
+ ldub [T+t2], t2 ! 3
sll t1, 16, t1 ! 2
or t0, t1, t0 ! 0, 1, 2