btrfs-progs/crypto
David Sterba 03f41ac508 btrfs-progs: detect PCLMUL CPU support for accelerated crc32c
The accelerated crc32c needs to check for two CPU features, the crc32c
instructions is in SSE 4.2 and 'pclmulqdq' is a separate. There's still
old hardware used that does not have the PCLMUL instructions. Detect it
and make it the condition.

The pclmul is not supported on old compilers so also add a
configure-time detection and leave the SSE 4.2 only implementation as
the accelerated one if possible.

Issue: #676
Signed-off-by: David Sterba <dsterba@suse.com>
2023-09-13 00:38:50 +02:00
..
blake2-config.h btrfs-progs: crypto: add AVX2 implementation of BLAKE2 2023-02-28 19:49:29 +01:00
blake2-impl.h
blake2.h btrfs-progs: crypto: move optimized declarations to blake2b.h 2023-05-26 18:02:31 +02:00
blake2b-avx2.c btrfs-progs: crypto: add AVX2 implementation of BLAKE2 2023-02-28 19:49:29 +01:00
blake2b-load-avx2-simple.h btrfs-progs: crypto: add AVX2 implementation of BLAKE2 2023-02-28 19:49:29 +01:00
blake2b-load-avx2.h btrfs-progs: crypto: add AVX2 implementation of BLAKE2 2023-02-28 19:49:29 +01:00
blake2b-load-sse2.h btrfs-progs: crypto: add SSE2 implementation of BLAKE2 2023-02-28 19:48:24 +01:00
blake2b-load-sse41.h btrfs-progs: crypto: add SSE4.1 implementation of BLAKE2 2023-02-28 19:49:06 +01:00
blake2b-ref.c btrfs-progs: crypto: move optimized declarations to blake2b.h 2023-05-26 18:02:31 +02:00
blake2b-round.h btrfs-progs: crypto: fix SSE2/SSE4.1 detection of BLAKE2 2023-03-07 20:50:06 +01:00
blake2b-sse2.c btrfs-progs: crypto: fix SSE2/SSE4.1 detection of BLAKE2 2023-03-07 20:50:06 +01:00
blake2b-sse41.c btrfs-progs: crypto: fix SSE2/SSE4.1 detection of BLAKE2 2023-03-07 20:50:06 +01:00
crc32c-pcl-intel-asm_64.S btrfs-progs: crypto: fix readonly relocation of the jumptable 2023-09-12 22:08:02 +02:00
crc32c.c btrfs-progs: detect PCLMUL CPU support for accelerated crc32c 2023-09-13 00:38:50 +02:00
crc32c.h btrfs-progs: crypto: use common CPU feature detection for crc32c 2023-02-28 20:11:22 +01:00
hash-speedtest.c btrfs-progs: detect PCLMUL CPU support for accelerated crc32c 2023-09-13 00:38:50 +02:00
hash-vectest.c btrfs-progs: detect PCLMUL CPU support for accelerated crc32c 2023-09-13 00:38:50 +02:00
hash.c btrfs-progs: fix detection of accelerated implementation. 2023-03-01 15:10:21 +01:00
hash.h btrfs-progs: fix detection of accelerated implementation. 2023-03-01 15:10:21 +01:00
sha-private.h
sha.h btrfs-progs: crypto: declare SHA256 x86 optimized implementation 2023-05-26 18:02:31 +02:00
sha224-256.c btrfs-progs: fix detection of accelerated implementation. 2023-03-01 15:10:21 +01:00
sha256-x86.c btrfs-progs: crypto: declare SHA256 x86 optimized implementation 2023-05-26 18:02:31 +02:00
xxhash.c btrfs-progs: crypto: update xxhash 2023-02-28 19:49:31 +01:00
xxhash.h btrfs-progs: crypto: update xxhash 2023-02-28 19:49:31 +01:00