btrfs-progs/crypto
David Sterba d1c366ee42 btrfs-progs: crypto: call blake2 implementations by pointer
Change how blake2 implementation is selected. Instead of an if-else check
inside blake2b_compress each time, select the best one 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 19:53:43 +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 blake2 implementations by pointer 2023-02-28 19:53:43 +01:00
hash.h btrfs-progs: crypto: call blake2 implementations by pointer 2023-02-28 19:53:43 +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: remove unused sha256 definitions 2021-03-24 22:20:19 +01:00
sha224-256.c btrfs-progs: crypto: add accelerated SHA256 implementation 2023-02-28 19:49:30 +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