aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libicp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libicp')
-rw-r--r--lib/libicp/Makefile.am25
1 files changed, 22 insertions, 3 deletions
diff --git a/lib/libicp/Makefile.am b/lib/libicp/Makefile.am
index 304f49e39..b7f1d0e1b 100644
--- a/lib/libicp/Makefile.am
+++ b/lib/libicp/Makefile.am
@@ -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