Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] CPU_FLAGS_X86: Introduce 'sha' flag
Date: Thu, 18 Jul 2019 17:56:53
Message-Id: d2c9a893d2b0eaab7420f126b88eed359bf0d844.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH] CPU_FLAGS_X86: Introduce 'sha' flag by Dirkjan Ochtman
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

Attachments

File name MIME type
signature.asc application/pgp-signature