]> git.proxmox.com Git - mirror_zfs.git/blobdiff - lib/libicp/Makefile.am
Introduce BLAKE3 checksums as an OpenZFS feature
[mirror_zfs.git] / lib / libicp / Makefile.am
index 304f49e39005580100d43fdb8b893dc7df83ae94..b7f1d0e1b1e42fc1dc728041eaed3ef340efdfc7 100644 (file)
@@ -13,6 +13,10 @@ nodist_libicp_la_SOURCES = \
        module/icp/algs/aes/aes_impl_x86-64.c \
        module/icp/algs/aes/aes_impl.c \
        module/icp/algs/aes/aes_modes.c \
+       module/icp/algs/blake3/blake3.c \
+       module/icp/algs/blake3/blake3_generic.c \
+       module/icp/algs/blake3/blake3_impl.c \
+       module/icp/algs/blake3/blake3_x86-64.c \
        module/icp/algs/edonr/edonr.c \
        module/icp/algs/modes/modes.c \
        module/icp/algs/modes/cbc.c \
@@ -36,15 +40,30 @@ nodist_libicp_la_SOURCES = \
        module/icp/core/kcf_mech_tabs.c \
        module/icp/core/kcf_prov_tabs.c
 
-if TARGET_CPU_X86_64
+if TARGET_CPU_AARCH64
+nodist_libicp_la_SOURCES += \
+       module/icp/asm-aarch64/blake3/b3_aarch64_sse2.S \
+       module/icp/asm-aarch64/blake3/b3_aarch64_sse41.S
+endif
+
+if TARGET_CPU_POWERPC
 nodist_libicp_la_SOURCES += \
-       module/icp/asm-x86_64/aes/aeskey.c
+       module/icp/asm-ppc64/blake3/b3_ppc64le_sse2.S \
+       module/icp/asm-ppc64/blake3/b3_ppc64le_sse41.S
+endif
+
+if TARGET_CPU_X86_64
 nodist_libicp_la_SOURCES += \
+       module/icp/asm-x86_64/aes/aeskey.c \
        module/icp/asm-x86_64/aes/aes_amd64.S \
        module/icp/asm-x86_64/aes/aes_aesni.S \
        module/icp/asm-x86_64/modes/gcm_pclmulqdq.S \
        module/icp/asm-x86_64/modes/aesni-gcm-x86_64.S \
        module/icp/asm-x86_64/modes/ghash-x86_64.S \
        module/icp/asm-x86_64/sha2/sha256_impl.S \
-       module/icp/asm-x86_64/sha2/sha512_impl.S
+       module/icp/asm-x86_64/sha2/sha512_impl.S \
+       module/icp/asm-x86_64/blake3/blake3_avx2.S \
+       module/icp/asm-x86_64/blake3/blake3_avx512.S \
+       module/icp/asm-x86_64/blake3/blake3_sse2.S \
+       module/icp/asm-x86_64/blake3/blake3_sse41.S
 endif