On Mon, Mar 12, 2018 at 4:23 PM, Amos Jeffries squid3@treenet.co.nz wrote:
On 13/03/18 08:44, Jeffrey Walton wrote:
Check /proc/cpuinfo for the sha_ni flag. If present, then you can test the SHA extensions.
SHA extensions made their debut in Goldmont. They are also available in Goldmont+. They were scheduled for one of the lakes but they did not make it in.
I have a Goldmont machine for testing SHA but it is a turd. It is a Celeron J3455 (https://www.amazon.com/dp/B01LYCDG4H).
Ah, okay. That Goldmont info matches my /proc/cpuinfo. No "sha_ni" listed :-(, just the aes-ni instruction set.
Yeah, if I recall correctly, SHA was supposed to be in Kaby Lake. It looks like it slipped, and SHA was added to the non-turd machines at Cannon Lake. Also see https://en.wikipedia.org/wiki/Cannon_Lake_(microarchitecture)
Jeff