From: Niels Möller Date: Wed, 15 May 2002 22:27:51 +0000 (+0200) Subject: (AES_FINAL_ROUND): Use ldub, not ld + and, to get the third byte X-Git-Tag: nettle_1.6_release_20021003~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=196436c2ea4de17cfe2d7882417e77966d0cfcd1;p=thirdparty%2Fnettle.git (AES_FINAL_ROUND): Use ldub, not ld + and, to get the third byte of wtxt. Rev: src/nettle/sparc/aes.asm:1.102 --- diff --git a/sparc/aes.asm b/sparc/aes.asm index d979a556..ca287b25 100644 --- a/sparc/aes.asm +++ b/sparc/aes.asm @@ -79,10 +79,10 @@ define(, < ld [IDX3+$1], t3 ! 3 sll t1, 2, t1 ! 1 - ld [wtxt+$1], t0 ! 0 + ldub [wtxt+$1+3], t0 ! 0 ! IDX2(j) = j XOR 2 lduh [wtxt+eval($1 ^ 8)], t2 ! 2 - and t0, 255, t0 ! 0 + C and t0, 255, t0 ! 0 ldub [wtxt+t3], t3 ! 3 sll t0, 2, t0 ! 0