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

(aes_decrypt): Deleted first xchgl instruction into, permuting the

AES_ROUND calls instead.

Rev: src/nettle/x86/aes-decrypt.asm:1.13
parent 2fd34281
No related branches found
No related tags found
No related merge requests found
...@@ -57,18 +57,18 @@ aes_decrypt: ...@@ -57,18 +57,18 @@ aes_decrypt:
pushl %esi C save this first: we'll clobber it later pushl %esi C save this first: we'll clobber it later
C Why??? C Why???
xchgl %ebx,%edx C xchgl %ebx,%edx
AES_ROUND(_aes_decrypt_table,a,b,c,d) AES_ROUND(_aes_decrypt_table,a,d,c,b)
pushl %edi C save first on stack pushl %edi C save first on stack
AES_ROUND(_aes_decrypt_table,d,a,b,c) AES_ROUND(_aes_decrypt_table,b,a,d,c)
pushl %edi pushl %edi
AES_ROUND(_aes_decrypt_table,c,d,a,b) AES_ROUND(_aes_decrypt_table,c,b,a,d)
pushl %edi C save first on stack pushl %edi C save first on stack
AES_ROUND(_aes_decrypt_table,b,c,d,a) AES_ROUND(_aes_decrypt_table,d,c,b,a)
movl %edi,%edx movl %edi,%edx
popl %ecx popl %ecx
......
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