Re: [PATCH v4 0/4] Implement GCM ghash using Zbc and Zbkb extensions

From: Eric Biggers
Date: Wed Apr 26 2023 - 18:55:59 EST


Hi Heiko,

On Wed, Mar 29, 2023 at 04:06:38PM +0200, Heiko Stuebner wrote:
> From: Heiko Stuebner <heiko.stuebner@xxxxxxxx>
>
> This was originally part of my vector crypto series, but was part
> of a separate openssl merge request implementing GCM ghash as using
> non-vector extensions.
>
> As that pull-request
> https://github.com/openssl/openssl/pull/20078
> got merged recently into openssl, we could also check if this could
> go into the kernel as well and provide a base for further accelerated
> cryptographic support.

One more question. It seems that this patchset uses the RISC-V scalar crypto
extensions. I've been hearing rumors that the RISC-V scalar crypto extensions
have been superseded by the vector crypto extensions. Is that accurate? I
wonder if it's worth putting effort into implementations that use the scalar
crypto extensions when they might already be obsolete.

- Eric