OPENSSL_cpuid_setup FreeBSD arm update.
authorDavid Carlier <devnexen@gmail.com>
Wed, 9 Dec 2020 20:23:32 +0000 (20:23 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 14 Jan 2021 08:37:19 +0000 (08:37 +0000)
commitdfe07182aac02b962a5a72d86cab69e59e90aeca
treec47b6bd7a76926e1f3484c2d0afd35e9572b7b0b
parentfc4ca443c7b999bb47bec6b8ea828973e3c4c7e1
OPENSSL_cpuid_setup FreeBSD arm update.

when possible using the getauxval equivalent which has similar ids as Linux, instead of bad instructions catch approach.

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13650)

(cherry picked from commit 5eb24fbd1c3e0d130ba7f81f1ccf457a2b9d75ad)
crypto/armcap.c