Commit 3f79e3c0 authored by Niels Möller's avatar Niels Möller

(aes_decrypt): Got rid if the xchgl instruction after the final

round, folding it into the final round.

Rev: src/nettle/x86/aes-decrypt.asm:1.15
parent 49c91fe6
......@@ -87,19 +87,18 @@ aes_decrypt:
AES_FINAL_ROUND(a,d,c,b)
pushl %edi
AES_FINAL_ROUND(d,c,b,a)
AES_FINAL_ROUND(b,a,d,c)
pushl %edi
AES_FINAL_ROUND(c,b,a,d)
pushl %edi
AES_FINAL_ROUND(b,a,d,c)
AES_FINAL_ROUND(d,c,b,a)
movl %edi,%edx
popl %ecx
popl %ebx
popl %eax
xchgl %ebx,%edx
C inverse S-box substitution
mov $4,%edi
......
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