mirror of https://github.com/torvalds/linux.git
Make the CRC32 library export a function crc32_optimizations() which returns flags that indicate which CRC32 functions are actually executing optimized code at runtime. This will be used to determine whether the crc32[c]-$arch shash algorithms should be registered in the crypto API. btrfs could also start using these flags instead of the hack that it currently uses where it parses the crypto_shash_driver_name. Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20241202010844.144356-4-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@google.com> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| clear_page.S | ||
| crc32-riscv.c | ||
| csum.c | ||
| delay.c | ||
| error-inject.c | ||
| memcpy.S | ||
| memmove.S | ||
| memset.S | ||
| riscv_v_helpers.c | ||
| strcmp.S | ||
| strlen.S | ||
| strncmp.S | ||
| tishift.S | ||
| uaccess.S | ||
| uaccess_vector.S | ||
| xor.S | ||