Project

General

Profile

Regression #11524 ยป disable-sha.patch

Jan de Groot, 04/16/2021 01:46 PM

View differences:

sys/crypto/aesni/aesni.c
116 116

  
117 117
	*has_aes = ((cpu_feature2 & CPUID2_AESNI) != 0 &&
118 118
	    (cpu_feature2 & CPUID2_SSE41) != 0);
119
	*has_sha = ((cpu_stdext_feature & CPUID_STDEXT_SHA) != 0 &&
120
	    (cpu_feature2 & CPUID2_SSSE3) != 0);
119
	*has_sha = false;
121 120
}
122 121

  
123 122
static int
    (1-1/1)