aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libicp/Makefile.am
blob: 4ba55b2158bc4b80e7f30211247867638fe8a114 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
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