summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/ciphers/cipherstest.c
diff options
context:
space:
mode:
authorjsing <>2024-08-31 12:43:58 +0000
committerjsing <>2024-08-31 12:43:58 +0000
commit4d860a7d33bdb05e5782330d5085fda5e809bd72 (patch)
treece0f04393328694fbea716953d4d7ed39d8db04c /src/regress/lib/libssl/ciphers/cipherstest.c
parent2049348fa6a328167273a9ddbd4a308041e0fe16 (diff)
downloadopenbsd-4d860a7d33bdb05e5782330d5085fda5e809bd72.tar.gz
openbsd-4d860a7d33bdb05e5782330d5085fda5e809bd72.tar.bz2
openbsd-4d860a7d33bdb05e5782330d5085fda5e809bd72.zip
Make OPENSSL_cpu_caps() machine independent.
OPENSSL_cpu_caps() is currently machine dependent and exposes CPUID data on amd64 and i386. However, what it is really used for is to indicate whether specific algorithms are accelerated on the given hardware. Change OPENSSL_cpu_caps() so that it returns a machine indepent value, which decouples it from amd64/i386 and will allow it to be used appropriately on other platforms in the future. ok tb@
Diffstat (limited to 'src/regress/lib/libssl/ciphers/cipherstest.c')
0 files changed, 0 insertions, 0 deletions