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

(aes_encrypt): Deleted xchgl instruction in final round, by

reordering the second and fourth round.

Rev: src/nettle/x86/aes-encrypt.asm:1.6
parent f08ee194
...@@ -187,7 +187,7 @@ C .Laes_got_t: ...@@ -187,7 +187,7 @@ C .Laes_got_t:
pushl %edi pushl %edi
C second column C second column
pushl %edi pushl %edi
C third column C third column
...@@ -195,13 +195,12 @@ C .Laes_got_t: ...@@ -195,13 +195,12 @@ C .Laes_got_t:
pushl %edi pushl %edi
C fourth column C fourth column
movl %edi,%edx movl %edi,%edx
popl %ecx popl %ecx
popl %ebx popl %ebx
popl %eax popl %eax
xchgl %ebx,%edx
C // S-box substitution C // S-box substitution
mov $4,%edi mov $4,%edi
Supports Markdown
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