From: Niels Möller Date: Wed, 15 May 2002 22:48:29 +0000 (+0200) Subject: (AES_FINAL_ROUND): Some reordering. X-Git-Tag: nettle_1.6_release_20021003~108 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07d3f3e2454d8a21626201b14adc736bfe8b4aa9;p=thirdparty%2Fnettle.git (AES_FINAL_ROUND): Some reordering. Rev: src/nettle/sparc/aes.asm:1.107 --- diff --git a/sparc/aes.asm b/sparc/aes.asm index ead8da4e..7e388696 100644 --- a/sparc/aes.asm +++ b/sparc/aes.asm @@ -108,17 +108,15 @@ C The comments mark which j in T->table[j][ Bj(wtxt[IDXi(i)]) ] C the instruction is a part of. define(, < ld [IDX1+$1], t1 ! 1 + ldub [wtxt+$1+3], t0 ! 0 ldub [wtxt+t1], t1 ! 1 + ldub [T+t0], t0 ! 0 + ldub [T+t1], t1 ! 1 - ldub [wtxt+$1+3], t0 ! 0 ! IDX2(j) = j XOR 2 ldub [wtxt+eval($1 ^ 8)+1], t2 ! 2 - C and t0, 255, t0 ! 0 ld [IDX3 + $1], t3 ! 3 - C and t2, 255, t2 ! 2 - ldub [T+t1], t1 ! 1 - ldub [T+t0], t0 ! 0 sll t1, 8, t1 ! 1 ldub [wtxt+t3], t3 ! 3