Skip to content
Snippets Groups Projects
Commit 196436c2 authored by Niels Möller's avatar Niels Möller
Browse files

(AES_FINAL_ROUND): Use ldub, not ld + and, to get the third byte

of wtxt.

Rev: src/nettle/sparc/aes.asm:1.102
parent 6b356409
No related branches found
No related tags found
No related merge requests found
...@@ -79,10 +79,10 @@ define(<AES_ROUND>, < ...@@ -79,10 +79,10 @@ define(<AES_ROUND>, <
ld [IDX3+$1], t3 ! 3 ld [IDX3+$1], t3 ! 3
sll t1, 2, t1 ! 1 sll t1, 2, t1 ! 1
ld [wtxt+$1], t0 ! 0 ldub [wtxt+$1+3], t0 ! 0
! IDX2(j) = j XOR 2 ! IDX2(j) = j XOR 2
lduh [wtxt+eval($1 ^ 8)], t2 ! 2 lduh [wtxt+eval($1 ^ 8)], t2 ! 2
and t0, 255, t0 ! 0 C and t0, 255, t0 ! 0
ldub [wtxt+t3], t3 ! 3 ldub [wtxt+t3], t3 ! 3
sll t0, 2, t0 ! 0 sll t0, 2, t0 ! 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment