Determine availability of AES, PMULL, SHA1 and SHA2 on 64-bit ARM?

Jeffrey Walton <[email protected]>
Newsgroups gmane.os.freebsd.devel.hardware
Message-ID <CAH8yC8n5EZTNsvpBQcRL8ZUZxhV9ZQpr5_cZfNjJ1SBphcnJZA@mail.gmail.com>
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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.