util: Add a copy of BLAKE3 hash library.
authorTatsuyuki Ishi <ishitatsuyuki@gmail.com>
Thu, 30 Mar 2023 07:21:57 +0000 (16:21 +0900)
committerMarge Bot <emma+marge@anholt.net>
Sat, 22 Apr 2023 01:28:38 +0000 (01:28 +0000)
commit77826e835243291df664ccf2a7b8405287b72387
tree4cf3ac4de85213840e70923e2120534fc279bb9b
parenta01d9ac330ea1de0bc66c98a42f2088ffd2465ec
util: Add a copy of BLAKE3 hash library.

The files are copied from upstream repo, with a few modifications to fix
build errors, as described in the README.

Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22387>
21 files changed:
src/util/blake3/README [new file with mode: 0644]
src/util/blake3/blake3.c [new file with mode: 0644]
src/util/blake3/blake3.h [new file with mode: 0644]
src/util/blake3/blake3_avx2_x86-64_unix.S [new file with mode: 0644]
src/util/blake3/blake3_avx2_x86-64_windows_gnu.S [new file with mode: 0644]
src/util/blake3/blake3_avx2_x86-64_windows_msvc.masm [new file with mode: 0644]
src/util/blake3/blake3_avx512_x86-64_unix.S [new file with mode: 0644]
src/util/blake3/blake3_avx512_x86-64_windows_gnu.S [new file with mode: 0644]
src/util/blake3/blake3_avx512_x86-64_windows_msvc.masm [new file with mode: 0644]
src/util/blake3/blake3_dispatch.c [new file with mode: 0644]
src/util/blake3/blake3_impl.h [new file with mode: 0644]
src/util/blake3/blake3_neon.c [new file with mode: 0644]
src/util/blake3/blake3_portable.c [new file with mode: 0644]
src/util/blake3/blake3_sse2_x86-64_unix.S [new file with mode: 0644]
src/util/blake3/blake3_sse2_x86-64_windows_gnu.S [new file with mode: 0644]
src/util/blake3/blake3_sse2_x86-64_windows_msvc.masm [new file with mode: 0644]
src/util/blake3/blake3_sse41_x86-64_unix.S [new file with mode: 0644]
src/util/blake3/blake3_sse41_x86-64_windows_gnu.S [new file with mode: 0644]
src/util/blake3/blake3_sse41_x86-64_windows_msvc.masm [new file with mode: 0644]
src/util/blake3/meson.build [new file with mode: 0644]
src/util/meson.build