1 |
On Thu, 2019-07-18 at 17:53 +0100, Dirkjan Ochtman wrote: |
2 |
> On Thu, Jul 18, 2019, 15:53 Michał Górny <mgorny@g.o> wrote: |
3 |
> |
4 |
> > Introduce 'sha' flag that corresponds to SHA-NI instruction set. |
5 |
> > This has two potential users, and is present in git version |
6 |
> > of cpuid2cpuflags (pending release once the flag is added). |
7 |
> > |
8 |
> |
9 |
> A bit of bikeshedding: as I understand it, SHA-NI covers SHA-1 and SHA-256, |
10 |
> but not SHA-3 or some of the other SHA-2 variants. Maybe name it sha-ni or |
11 |
> sha_ni to be more accurate? |
12 |
> |
13 |
|
14 |
We already name AES-NI 'aes', so naming SHA-NI 'sha' follows suit. |
15 |
Besides, unless I'm mistaken NI stands for 'new instructions', |
16 |
so I don't see how that would be relevant to SHA algorithms supported. |
17 |
|
18 |
-- |
19 |
Best regards, |
20 |
Michał Górny |