cbb9caead4
Linux/Aarch64: support SHA acceleration detection with older libc On Linux on aarch64 (64-bit ARMv8) processors, we use getauxval() to detect whether the runtime environment supports SHA-256 or SHA-512 acceleration. Some libc do not define the necessary HWCAP_xxx constants to analyze the result of getauxval(), either because they don't bother or because they're too old to recognize the values we need (for example, HWCAP_SHA2 appeared in Glibc 2.24 and HWCAP_SHA512 appeared in Glibc 2.27). In such cases, assume that the values are the same as in the kernel ABI and define the constants manually. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com> Signed-off-by: Dave Rodgman <dave.rodgman@arm.com> |
||
---|---|---|
.. | ||
00README.md | ||
7764.txt | ||
8340.txt | ||
8372.txt | ||
8461.txt | ||
8482.txt | ||
8726.txt | ||
add-block-cipher-no-decrypt.txt | ||
add-psa-example-program-hash.txt | ||
add-record-size-limit-extension-support.txt | ||
armv8-aesce.txt | ||
ctr-perf.txt | ||
driver-only-cipher.txt | ||
ecp-keypair-utilities.txt | ||
fix-cmake-3rdparty-custom-config.txt | ||
fix-cpp-compilation-error.txt | ||
fix-csr-parsing-with-critical-fields-fails.txt | ||
fix-issue-x509-cert_req.txt | ||
fix-issue-x509-cert_write.txt | ||
fix-linux-builds-in-conda-forge.txt | ||
fix-mingw32-build.txt | ||
fix-tls-SuiteB.txt | ||
fix-tls13-server-min-version-check.txt | ||
gnutls_anti_replay_fail.txt | ||
iar-gcc-perf.txt | ||
linux-aarch64-hwcap.txt | ||
move-mbedtls-ecc-psa-helpers.txt | ||
no-cipher.txt | ||
non-psa-pk-implementation.txt | ||
pkwrite-pem-use-heap.txt | ||
rename-conf-early-data-API.txt | ||
sha256-armce-arm.txt |