diff options
author | 2016-11-04 17:30:30 +0000 | |
---|---|---|
committer | 2016-11-04 17:30:30 +0000 | |
commit | e60c46c4c9a5c27f2a64a9eeda73a83a36b3f7a8 (patch) | |
tree | 4a1d8de71c6b778094c6bb11703e3e5b3ad28f83 /lib/libssl/ssl.h | |
parent | Be verbose when PATCH_PATH is not set (that is temporary until we agree on (diff) | |
download | wireguard-openbsd-e60c46c4c9a5c27f2a64a9eeda73a83a36b3f7a8.tar.xz wireguard-openbsd-e60c46c4c9a5c27f2a64a9eeda73a83a36b3f7a8.zip |
Replace all uses of magic numbers when operating on OPENSSL_ia32_P[] by
meaningful constants in a private header file, so that reviewers can actually
get a chance to figure out what the code is attempting to do without knowing
all cpuid bits.
While there, turn it from an array of two 32-bit ints into a properly aligned
64-bit int.
Use of OPENSSL_ia32_P is now restricted to the assembler parts. C code will
now always use OPENSSL_cpu_caps() and check for the proper bits in the
whole 64-bit word it returns.
i386 tests and ok jsing@
Diffstat (limited to 'lib/libssl/ssl.h')
0 files changed, 0 insertions, 0 deletions