Re: [syzbot ci] Re: bpf: Remove inclusions of crypto/sha1.h

From: Eric Biggers

Date: Sun Mar 15 2026 - 13:03:10 EST


On Sun, Mar 15, 2026 at 04:56:14AM -0700, syzbot ci wrote:
> net/ipv6/addrconf.c:3341:25: error: variable has incomplete type 'struct sha1_ctx'
> net/ipv6/addrconf.c:3344:13: error: use of undeclared identifier 'SHA1_BLOCK_SIZE'
> net/ipv6/addrconf.c:3369:2: error: call to undeclared function 'sha1_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> net/ipv6/addrconf.c:3378:2: error: call to undeclared function 'sha1_update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]

Thanks. The BPF CI caught this first, and this was already fixed in v3.

- Eric