diff options
author | jsing <> | 2024-10-18 13:36:24 +0000 |
---|---|---|
committer | jsing <> | 2024-10-18 13:36:24 +0000 |
commit | c3adbc1c81adde9927d8537128bb9cf20db03c1c (patch) | |
tree | 9f24e49a607732139a986f4abb3735d101835046 /src/lib/libcrypto/ec/ec_curve.c | |
parent | 1a7fd7787292c0192e0f8e7889d78be38bf8c9c2 (diff) | |
download | openbsd-c3adbc1c81adde9927d8537128bb9cf20db03c1c.tar.gz openbsd-c3adbc1c81adde9927d8537128bb9cf20db03c1c.tar.bz2 openbsd-c3adbc1c81adde9927d8537128bb9cf20db03c1c.zip |
Provide crypto_cpu_caps_init() for amd64.
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@
Diffstat (limited to 'src/lib/libcrypto/ec/ec_curve.c')
0 files changed, 0 insertions, 0 deletions