Determine availability of AES, PMULL, SHA1 and SHA2 on 64-bit ARM?
Jeffrey Walton
noloader at gmail.com
Tue Aug 8 02:49:31 UTC 2017
Hi Everyone,
On Linux I can check for the presence of optional cpu features AES,
PMULL, SHA1 and SHA2 using getauxval(3). It works for both Aarch32 and
Aarch64. Also see "When to use AT_HWCAP or AT_HWCAP2",
https://sourceware.org/ml/libc-help/2017-08/msg00012.html.
I'm not having any luck determining the sysctl's to use for the same
under the BSDs.
How do I determine availability of AES, PMULL, SHA1 and SHA2 on
FreeBSD? If possible, I'd like to know how to look this stuff up on
FreeBSD since I am getting poor search results.
Thanks in advance.
Jeff
More information about the freebsd-hardware
mailing list