Commit 9aee5c15 authored by Niels Möller's avatar Niels Möller
Browse files

(AES_FINAL_ROUND): Eliminated ands.

Rev: src/nettle/sparc/aes.asm:1.106
parent 1713ba7d
...@@ -110,13 +110,13 @@ define(<AES_FINAL_ROUND>, < ...@@ -110,13 +110,13 @@ define(<AES_FINAL_ROUND>, <
ld [IDX1+$1], t1 ! 1 ld [IDX1+$1], t1 ! 1
ldub [wtxt+t1], t1 ! 1 ldub [wtxt+t1], 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 ldub [wtxt+eval($1 ^ 8)+1], t2 ! 2
and t0, 255, t0 ! 0 C and t0, 255, t0 ! 0
ld [IDX3 + $1], t3 ! 3 ld [IDX3 + $1], t3 ! 3
and t2, 255, t2 ! 2 C and t2, 255, t2 ! 2
ldub [T+t1], t1 ! 1 ldub [T+t1], t1 ! 1
ldub [T+t0], t0 ! 0 ldub [T+t0], t0 ! 0
sll t1, 8, t1 ! 1 sll t1, 8, t1 ! 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment