Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142494861
D39782.id120959.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
671 B
Referenced Files
None
Subscribers
None
D39782.id120959.diff
View Options
diff --git a/sys/crypto/openssl/ossl_x86.c b/sys/crypto/openssl/ossl_x86.c
--- a/sys/crypto/openssl/ossl_x86.c
+++ b/sys/crypto/openssl/ossl_x86.c
@@ -47,7 +47,7 @@
* [0] = cpu_feature but with a few custom bits
* [1] = cpu_feature2 but with AMD XOP in bit 11
* [2] = cpu_stdext_feature
- * [3] = 0
+ * [3] = cpu_stdext_feature2
*/
unsigned int OPENSSL_ia32cap_P[4];
#define AESNI_CAPABLE (OPENSSL_ia32cap_P[1]&(1<<(57-32)))
@@ -117,6 +117,7 @@
OPENSSL_ia32cap_P[1] &= ~(CPUID2_AVX | AMDID2_XOP | CPUID2_FMA);
OPENSSL_ia32cap_P[2] &= ~CPUID_STDEXT_AVX2;
}
+ OPENSSL_ia32cap_P[3] = cpu_stdext_feature2;
if (!AESNI_CAPABLE) {
sc->has_aes = false;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 21, 9:52 AM (10 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27799480
Default Alt Text
D39782.id120959.diff (671 B)
Attached To
Mode
D39782: ossl: Expose more CPUID bits in OPENSSL_ia32cap_P
Attached
Detach File
Event Timeline
Log In to Comment