diff --git a/crypto/keccak/keccakf_amd64.go b/crypto/keccak/keccakf_amd64.go index 498517a128..e9a0610cc4 100644 --- a/crypto/keccak/keccakf_amd64.go +++ b/crypto/keccak/keccakf_amd64.go @@ -8,7 +8,7 @@ import ( "golang.org/x/sys/cpu" ) -func init() { useASM = cpu.X86.HasBMI2 } +func init() { useASM = cpu.X86.HasBMI2 && cpu.X86.HasBMI1 } //go:noescape func keccakF1600BMI2(a *[200]byte)