diff options
author | jsing <> | 2024-08-31 12:43:58 +0000 |
---|---|---|
committer | jsing <> | 2024-08-31 12:43:58 +0000 |
commit | 4d860a7d33bdb05e5782330d5085fda5e809bd72 (patch) | |
tree | ce0f04393328694fbea716953d4d7ed39d8db04c /src/regress/lib/libssl/ciphers/cipherstest.c | |
parent | 2049348fa6a328167273a9ddbd4a308041e0fe16 (diff) | |
download | openbsd-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