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

(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
No related branches found
No related tags found
No related merge requests found
...@@ -87,19 +87,18 @@ aes_decrypt: ...@@ -87,19 +87,18 @@ aes_decrypt:
AES_FINAL_ROUND(a,d,c,b) AES_FINAL_ROUND(a,d,c,b)
pushl %edi pushl %edi
AES_FINAL_ROUND(d,c,b,a) AES_FINAL_ROUND(b,a,d,c)
pushl %edi pushl %edi
AES_FINAL_ROUND(c,b,a,d) AES_FINAL_ROUND(c,b,a,d)
pushl %edi pushl %edi
AES_FINAL_ROUND(b,a,d,c) AES_FINAL_ROUND(d,c,b,a)
movl %edi,%edx movl %edi,%edx
popl %ecx popl %ecx
popl %ebx popl %ebx
popl %eax popl %eax
xchgl %ebx,%edx
C inverse S-box substitution C inverse S-box substitution
mov $4,%edi mov $4,%edi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment