Re: [GIT PULL] Crypto Update for 6.17

From: Herbert Xu
Date: Thu Oct 02 2025 - 05:31:13 EST


On Thu, Oct 02, 2025 at 10:10:41AM +0200, Jiri Slaby wrote:
> On 29. 07. 25, 13:07, Herbert Xu wrote:
> > Vegard Nossum (1):
> > crypto: testmgr - desupport SHA-1 for FIPS 140
>
> Booting 6.17 with fips=1 crashes with this commit -- see below.
>
> The crash is different being on 6.17 (below) and on the commit --
> 9d50a25eeb05c45fef46120f4527885a14c84fb2.
>
> 6.17 minus that one makes it work again.
>
> Any ideas?

The purpose of the above commit is to remove the SHA1 algorithm
if you boot with fips=1. As net/ipv6/seg6_hmac.c depends on the
sha1 algorithm, it will obviously fail if SHA1 isn't there.

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt