summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arch/amd64/crypto_cpu_caps.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add CPU feature detection for ADX on amd64.jsing11 days1-1/+5
| | | | | | | | Add detection of Multi-Precision Add-Carry Instruction Extensions on amd64. s2n-bignum provides a number of fast multiplication routines that can leverage these instructions. ok tb@
* Remove crypto_cpu_caps_ia32()jsing2025-07-221-7/+1
| | | | | | There are no more consumers of crypto_cpu_caps_ia32(), so remove it. ok bcook@ joshua@ tb@
* Add CLMUL to machine dependent CPU capabilities for amd64.jsing2025-06-281-2/+4
| | | | ok tb@
* Provide CRYPTO_CPU_CAPS_AMD64_AES in machine dependent CPU capabilities.jsing2025-06-151-2/+4
| | | | ok tb@
* Add CPU capability detection for the Intel SHA extensions (aka SHA-NI).jsing2024-11-161-4/+18
| | | | | | | This also provides a crypto_cpu_caps_amd64 variable that can be checked for CRYPTO_CPU_CAPS_AMD64_SHA. ok tb@
* Check the correct variable in cpuid().jsing2024-11-121-2/+2
|
* Remove IA32 specific code from cryptlib.c.jsing2024-10-191-2/+8
| | | | | | Move the IA32 specific code to arch/{amd64,i386}/crypto_cpu_caps.c, rather than polluting cryptlib.c with machine dependent code. A stub version of crypto_cpu_caps_ia32() still remains for now.
* Provide crypto_cpu_caps_init() for amd64.jsing2024-10-181-0/+114
This is a CPU capability detection implementation in C, with minimal inline assembly (for cpuid and xgetbv). This replaces the assembly mess generated by x86_64cpuid.pl. Rather than populating OPENSSL_ia32cap_P directly with CPUID output, just set the bits that the remaining perlasm checks (namely AESNI, AVX, FXSR, INTEL, HT, MMX, PCLMUL, SSE, SSE2 and SSSE3). ok joshua@ tb@