Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F112593029
D33060.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D33060.diff
View Options
diff --git a/crypto/openssl/crypto/armcap.c b/crypto/openssl/crypto/armcap.c
--- a/crypto/openssl/crypto/armcap.c
+++ b/crypto/openssl/crypto/armcap.c
@@ -106,20 +106,23 @@
* ARM puts the feature bits for Crypto Extensions in AT_HWCAP2, whereas
* AArch64 used AT_HWCAP.
*/
+# ifndef AT_HWCAP
+# define AT_HWCAP 16
+# endif
+# ifndef AT_HWCAP2
+# define AT_HWCAP2 26
+# endif
# if defined(__arm__) || defined (__arm)
-# define HWCAP 16
- /* AT_HWCAP */
+# define HWCAP AT_HWCAP
# define HWCAP_NEON (1 << 12)
-# define HWCAP_CE 26
- /* AT_HWCAP2 */
+# define HWCAP_CE AT_HWCAP2
# define HWCAP_CE_AES (1 << 0)
# define HWCAP_CE_PMULL (1 << 1)
# define HWCAP_CE_SHA1 (1 << 2)
# define HWCAP_CE_SHA256 (1 << 3)
# elif defined(__aarch64__)
-# define HWCAP 16
- /* AT_HWCAP */
+# define HWCAP AT_HWCAP
# define HWCAP_NEON (1 << 1)
# define HWCAP_CE HWCAP
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 21, 6:34 AM (48 m, 1 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17239550
Default Alt Text
D33060.diff (1 KB)
Attached To
Mode
D33060: openssl: Fix detection of ARMv7 and ARM64 CPU features
Attached
Detach File
Event Timeline
Log In to Comment