Re: [PATCH v3 04/18] crypto: crc32 - don't unnecessarily register arch algorithms

2024-11-04 Thread Ard Biesheuvel
On Sun, 3 Nov 2024 at 23:32, Eric Biggers wrote: > > From: Eric Biggers > > Instead of registering the crc32-$arch and crc32c-$arch algorithms if > the arch-specific code was built, only register them when that code was > built *and* is not falling back to the base implementation at runtime. > >

[PATCH v3 04/18] crypto: crc32 - don't unnecessarily register arch algorithms

2024-11-03 Thread Eric Biggers
From: Eric Biggers Instead of registering the crc32-$arch and crc32c-$arch algorithms if the arch-specific code was built, only register them when that code was built *and* is not falling back to the base implementation at runtime. This avoids confusing users like btrfs which checks the shash dr