aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/fipsmodule/modes/asm/ghash-x86_64.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/fipsmodule/modes/asm/ghash-x86_64.pl')
-rw-r--r--src/crypto/fipsmodule/modes/asm/ghash-x86_64.pl7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/crypto/fipsmodule/modes/asm/ghash-x86_64.pl b/src/crypto/fipsmodule/modes/asm/ghash-x86_64.pl
index 8ad1104..33ee1cb 100644
--- a/src/crypto/fipsmodule/modes/asm/ghash-x86_64.pl
+++ b/src/crypto/fipsmodule/modes/asm/ghash-x86_64.pl
@@ -120,7 +120,6 @@ $do4xaggr=1;
$code=<<___;
.text
-.extern OPENSSL_ia32cap_P
___
@@ -387,15 +386,9 @@ if ($do4xaggr) {
my ($Xl,$Xm,$Xh,$Hkey3,$Hkey4)=map("%xmm$_",(11..15));
$code.=<<___;
- leaq OPENSSL_ia32cap_P(%rip),%rax
- mov 4(%rax),%eax
cmp \$0x30,$len
jb .Lskip4x
- and \$`1<<26|1<<22`,%eax # isolate MOVBE+XSAVE
- cmp \$`1<<22`,%eax # check for MOVBE without XSAVE
- je .Lskip4x
-
sub \$0x30,$len
mov \$0xA040608020C0E000,%rax # ((7..0)ยท0xE0)&0xff
movdqu 0x30($Htbl),$Hkey3