Re: [PATCH v2] lib/crypto: Add SHA3-224, SHA3-256, SHA3-384, SHA-512, SHAKE128, SHAKE256

From: Stephan Mueller

Date: Fri Sep 19 2025 - 17:20:35 EST


Am Freitag, 19. September 2025, 22:47:49 Mitteleuropäische Sommerzeit schrieb
Eric Biggers:

Hi Eric,

> Yes. But I'm still a bit puzzled why there suddenly seems to be
> interest in a FIPS pre-operational self-test for SHA-3 specifically.
> lib/ has had SHA-1 for two decades without a FIPS pre-operational
> self-test. If someone actually needs this, surely they would also need
> it, and have already needed it, for other algorithms?

I just answered on the FIPS requirements as I interpreted your question in
this regard. I am not saying it needs to be added here.

I am currently a bit confused between crypto vs lib/crypto with its FIPS vs
non-FIPS support. That, perhaps, contributed to my answer.

Ciao
Stephan