btrfs-progs/crypto
David Sterba bbf703bfd3 btrfs-progs: crypto: call sha256 implementations by pointer
Change how sha256 implementation is selected. Instead of an if-else
check in the block processing function select the best version and assign
the function pointer. This is slightly faster.

At this point the selection is not implemented properly in
hash-speedtest so all results are from the fastest version. This will
be fixed once all algorithms are converted.

Signed-off-by: David Sterba <dsterba@suse.com>
2023-02-28 20:10:58 +01:00
..
blake2-config.h btrfs-progs: crypto: add AVX2 implementation of BLAKE2 2023-02-28 19:49:29 +01:00
blake2-impl.h btrfs-progs: add blake2b reference implementation 2019-11-18 19:21:05 +01:00
blake2.h btrfs-progs: crypto: call blake2 implementations by pointer 2023-02-28 19:53:43 +01: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: call blake2 implementations by pointer 2023-02-28 19:53:43 +01:00
blake2b-round.h btrfs-progs: crypto: add SSE2 implementation of BLAKE2 2023-02-28 19:48:24 +01:00
blake2b-sse2.c btrfs-progs: crypto: add SSE2 implementation of BLAKE2 2023-02-28 19:48:24 +01:00
blake2b-sse41.c btrfs-progs: crypto: add SSE4.1 implementation of BLAKE2 2023-02-28 19:49:06 +01:00
crc32c.c btrfs-progs: crypto: clean up types and includes for crc32c 2023-02-28 19:49:30 +01:00
crc32c.h btrfs-progs: crypto: clean up types and includes for crc32c 2023-02-28 19:49:30 +01:00
hash-speedtest.c btrfs-progs: crypto: add common function for accelerated initialization 2023-02-28 19:49:31 +01:00
hash-vectest.c btrfs-progs: crypto: test all implementations 2023-02-28 19:49:30 +01:00
hash.c btrfs-progs: crypto: call sha256 implementations by pointer 2023-02-28 20:10:58 +01:00
hash.h btrfs-progs: crypto: call sha256 implementations by pointer 2023-02-28 20:10:58 +01:00
sha-private.h btrfs-progs: move sha256 from tests to crypto/ 2019-11-18 19:20:02 +01:00
sha.h btrfs-progs: crypto: call sha256 implementations by pointer 2023-02-28 20:10:58 +01:00
sha224-256.c btrfs-progs: crypto: call sha256 implementations by pointer 2023-02-28 20:10:58 +01:00
sha256-x86.c btrfs-progs: crypto: add accelerated SHA256 implementation 2023-02-28 19:49:30 +01: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