mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
4c5fec01a4
The skeleton file module/icp/include/generic_impl.c can be used for iterating over different implementations of algorithms. It is used by SHA256, SHA512 and BLAKE3 currently. The Solaris SHA2 implementation got replaced with a version which is based on public domain code of cppcrypto v0.10. These assembly files are taken from current openssl master: - sha256-x86_64.S: x64, SSSE3, AVX, AVX2, SHA-NI (x86_64) - sha512-x86_64.S: x64, AVX, AVX2 (x86_64) - sha256-armv7.S: ARMv7, NEON, ARMv8-CE (arm) - sha512-armv7.S: ARMv7, NEON (arm) - sha256-armv8.S: ARMv7, NEON, ARMv8-CE (aarch64) - sha512-armv8.S: ARMv7, ARMv8-CE (aarch64) - sha256-ppc.S: Generic PPC64 LE/BE (ppc64) - sha512-ppc.S: Generic PPC64 LE/BE (ppc64) - sha256-p8.S: Power8 ISA Version 2.07 LE/BE (ppc64) - sha512-p8.S: Power8 ISA Version 2.07 LE/BE (ppc64) Tested-by: Rich Ercolani <rincebrain@gmail.com> Tested-by: Sebastian Gottschall <s.gottschall@dd-wrt.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de> Closes #13741
85 lines
2.7 KiB
Makefile
85 lines
2.7 KiB
Makefile
libicp_la_CCASFLAGS = $(AM_CCASFLAGS)
|
|
libicp_la_CFLAGS = $(AM_CFLAGS) $(KERNEL_CFLAGS) $(LIBRARY_CFLAGS)
|
|
|
|
noinst_LTLIBRARIES += libicp.la
|
|
|
|
nodist_libicp_la_SOURCES = \
|
|
module/icp/spi/kcf_spi.c \
|
|
module/icp/api/kcf_ctxops.c \
|
|
module/icp/api/kcf_cipher.c \
|
|
module/icp/api/kcf_mac.c \
|
|
module/icp/algs/aes/aes_impl_aesni.c \
|
|
module/icp/algs/aes/aes_impl_generic.c \
|
|
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/edonr/edonr.c \
|
|
module/icp/algs/modes/modes.c \
|
|
module/icp/algs/modes/cbc.c \
|
|
module/icp/algs/modes/gcm_generic.c \
|
|
module/icp/algs/modes/gcm_pclmulqdq.c \
|
|
module/icp/algs/modes/gcm.c \
|
|
module/icp/algs/modes/ctr.c \
|
|
module/icp/algs/modes/ccm.c \
|
|
module/icp/algs/modes/ecb.c \
|
|
module/icp/algs/sha2/sha2_generic.c \
|
|
module/icp/algs/sha2/sha256_impl.c \
|
|
module/icp/algs/sha2/sha512_impl.c \
|
|
module/icp/algs/skein/skein.c \
|
|
module/icp/algs/skein/skein_block.c \
|
|
module/icp/algs/skein/skein_iv.c \
|
|
module/icp/illumos-crypto.c \
|
|
module/icp/io/aes.c \
|
|
module/icp/io/sha2_mod.c \
|
|
module/icp/io/skein_mod.c \
|
|
module/icp/core/kcf_sched.c \
|
|
module/icp/core/kcf_prov_lib.c \
|
|
module/icp/core/kcf_callprov.c \
|
|
module/icp/core/kcf_mech_tabs.c \
|
|
module/icp/core/kcf_prov_tabs.c \
|
|
module/zfs/zfs_impl.c
|
|
|
|
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 \
|
|
module/icp/asm-aarch64/sha2/sha256-armv8.S \
|
|
module/icp/asm-aarch64/sha2/sha512-armv8.S
|
|
endif
|
|
|
|
if TARGET_CPU_ARM
|
|
nodist_libicp_la_SOURCES += \
|
|
module/icp/asm-arm/sha2/sha256-armv7.S \
|
|
module/icp/asm-arm/sha2/sha512-armv7.S
|
|
endif
|
|
|
|
if TARGET_CPU_POWERPC
|
|
nodist_libicp_la_SOURCES += \
|
|
module/icp/asm-ppc64/blake3/b3_ppc64le_sse2.S \
|
|
module/icp/asm-ppc64/blake3/b3_ppc64le_sse41.S \
|
|
module/icp/asm-ppc64/sha2/sha256-ppc.S \
|
|
module/icp/asm-ppc64/sha2/sha512-ppc.S \
|
|
module/icp/asm-ppc64/sha2/sha256-p8.S \
|
|
module/icp/asm-ppc64/sha2/sha512-p8.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-x86_64.S \
|
|
module/icp/asm-x86_64/sha2/sha512-x86_64.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
|
|
|