From: Niels Möller Date: Wed, 15 May 2002 22:30:22 +0000 (+0200) Subject: (AES_FINAL_ROUND): Use ldub, not lduh + and, to get the second X-Git-Tag: nettle_1.6_release_20021003~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4dd2c39b0e65f19268e34bc6fcb591a6e48fd3ff;p=thirdparty%2Fnettle.git (AES_FINAL_ROUND): Use ldub, not lduh + and, to get the second byte of a word. Rev: src/nettle/sparc/aes.asm:1.103 --- diff --git a/sparc/aes.asm b/sparc/aes.asm index ca287b25..709b6dab 100644 --- a/sparc/aes.asm +++ b/sparc/aes.asm @@ -81,13 +81,11 @@ define(, < sll t1, 2, t1 ! 1 ldub [wtxt+$1+3], t0 ! 0 ! IDX2(j) = j XOR 2 - lduh [wtxt+eval($1 ^ 8)], t2 ! 2 - C and t0, 255, t0 ! 0 + ldub [wtxt+eval($1 ^ 8)+1], t2 ! 2 ldub [wtxt+t3], t3 ! 3 sll t0, 2, t0 ! 0 ld [T0+t0], t0 ! 0 - and t2, 255, t2 ! 2 ld [T1+t1], t1 ! 1 sll t2, 2, t2 ! 2