提交 e8c42b98 编写于 作者: A Andy Polyakov

ec/asm/x25519-x86_64.pl: fix up ADCX/ADOX fallback.

Reviewed-by: NRich Salz <rsalz@openssl.org>
Reviewed-by: NRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5447)
上级 77376c05
...@@ -784,7 +784,7 @@ ___ ...@@ -784,7 +784,7 @@ ___
} else { } else {
$code.=<<___; $code.=<<___;
.globl x25519_fe64_eligible .globl x25519_fe64_eligible
.type x25519_fe64_eligible,\@function .type x25519_fe64_eligible,\@abi-omnipotent
.align 32 .align 32
x25519_fe64_eligible: x25519_fe64_eligible:
xor %eax,%eax xor %eax,%eax
...@@ -792,6 +792,7 @@ x25519_fe64_eligible: ...@@ -792,6 +792,7 @@ x25519_fe64_eligible:
.size x25519_fe64_eligible,.-x25519_fe64_eligible .size x25519_fe64_eligible,.-x25519_fe64_eligible
.globl x25519_fe64_mul .globl x25519_fe64_mul
.type x25519_fe64_mul,\@abi-omnipotent
.globl x25519_fe64_sqr .globl x25519_fe64_sqr
.globl x25519_fe64_mul121666 .globl x25519_fe64_mul121666
.globl x25519_fe64_add .globl x25519_fe64_add
...@@ -802,9 +803,10 @@ x25519_fe64_sqr: ...@@ -802,9 +803,10 @@ x25519_fe64_sqr:
x25519_fe64_mul121666: x25519_fe64_mul121666:
x25519_fe64_add: x25519_fe64_add:
x25519_fe64_sub: x25519_fe64_sub:
x25519_fe64_sub:
x25519_fe64_tobytes: x25519_fe64_tobytes:
.byte 0x0f,0x0b # ud2 .byte 0x0f,0x0b # ud2
ret
.size x25519_fe64_mul,.-x25519_fe64_mul
___ ___
} }
$code.=<<___; $code.=<<___;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册