-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathinclude.am
More file actions
265 lines (260 loc) · 13.3 KB
/
Copy pathinclude.am
File metadata and controls
265 lines (260 loc) · 13.3 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# vim:ft=automake
# included from Top Level Makefile.am
# All paths should be given relative to the root
if BUILD_TESTS
noinst_PROGRAMS += tests/unit.test
tests_unit_test_SOURCES = \
tests/unit.c \
tests/api.c \
tests/utils.c \
testsuite/utils.c \
tests/suites.c \
tests/w64wrapper.c \
tests/srp.c \
tests/quic.c \
examples/client/client.c \
examples/server/server.c
if BUILD_WOLFCRYPT_TESTS
tests_unit_test_SOURCES += wolfcrypt/test/test.c
endif
tests_unit_test_CFLAGS = -DNO_MAIN_DRIVER $(AM_CFLAGS) $(WOLFSENTRY_INCLUDE)
tests_unit_test_LDADD = src/libwolfssl@[email protected] $(LIB_STATIC_ADD) $(WOLFSENTRY_LIB)
tests_unit_test_DEPENDENCIES = src/libwolfssl@[email protected]
if BUILD_SWDEV
tests_unit_test_SOURCES += tests/swdev/swdev_loader.c
tests_unit_test_LDADD += $(top_builddir)/tests/swdev/build/swdev.o $(LIBM)
tests_unit_test_DEPENDENCIES += $(top_builddir)/tests/swdev/build/swdev.o
endif
include tests/api/include.am
endif
EXTRA_DIST += tests/unit.h \
tests/test.conf \
tests/test-sha2.conf \
tests/test-tls13.conf \
tests/test-tls13-down.conf \
tests/test-tls13-ecc.conf \
tests/test-tls13-psk.conf \
tests/test-tls13-pq-standalone.conf \
tests/test-tls13-pq-hybrid.conf \
tests/test-tls13-pq-hybrid-extra.conf \
tests/test-tls13-slhdsa-shake.conf \
tests/test-tls13-slhdsa-sha2.conf \
tests/test-tls13-slhdsa-fail.conf \
tests/test-tls13-slhdsa-entity.conf \
tests/test-tls13-slhdsa-entity-128s.conf \
tests/test-tls13-slhdsa-entity-sha2.conf \
tests/test-tls13-slhdsa-entity-sha2-128s.conf \
tests/test-dtls13-slhdsa-entity.conf \
tests/test-dtls13-slhdsa-entity-128s.conf \
tests/test-dtls13-pq-standalone.conf \
tests/test-dtls13-pq-standalone-frag.conf \
tests/test-dtls13-pq-hybrid-frag.conf \
tests/test-dtls13-pq-hybrid-extra.conf \
tests/test-dtls13-pq-hybrid-extra-frag.conf \
tests/test-psk.conf \
tests/test-psk-no-id.conf \
tests/test-psk-no-id-sha2.conf \
tests/test-dtls.conf \
tests/test-dtls-downgrade.conf \
tests/test-dtls-fails.conf \
tests/test-dtls-fails-cipher.conf \
tests/test-dtls-group.conf \
tests/test-dtls-mtu.conf \
tests/test-dtls-reneg-client.conf \
tests/test-dtls-reneg-server.conf \
tests/test-dtls-resume.conf \
tests/test-dtls-sha2.conf \
tests/test-dtls-srtp.conf \
tests/test-dtls-srtp-fails.conf \
tests/test-dtls13.conf \
tests/test-dtls13-downgrade.conf \
tests/test-dtls13-downgrade-fails.conf \
tests/test-dtls13-psk.conf \
tests/test-dtls13-cid.conf \
tests/test-sctp.conf \
tests/test-sctp-sha2.conf \
tests/test-sig.conf \
tests/test-rsapss.conf \
tests/test-ed25519.conf \
tests/test-ed448.conf \
tests/test-enckeys.conf \
tests/test-maxfrag.conf \
tests/test-maxfrag-dtls.conf \
tests/test-fails.conf \
tests/test-chains.conf \
tests/test-altchains.conf \
tests/test-trustpeer.conf \
tests/test-dhprime.conf \
tests/test-p521.conf \
tests/test-ecc-cust-curves.conf \
tests/test-sm2.conf \
tests/NCONF_test.cnf \
tests/test-tls-downgrade.conf \
tests/TXT_DB.txt \
tests/utils.h \
tests/emnet/IP/IP.h \
tests/emnet/emnet_shim.c \
tests/emnet/emnet_nonblock_test.c \
tests/emnet/Makefile \
tests/freertos-mem-track-repro/user_settings.h \
tests/freertos-mem-track-repro/repro.c \
tests/freertos-mem-track-repro/FreeRTOS.h \
tests/freertos-mem-track-repro/semphr.h \
tests/freertos-mem-track-repro/task.h \
tests/freertos-mem-track-repro/run.sh
DISTCLEANFILES+= tests/.libs/unit.test
# MC/DC white-box coverage supplements (tests/unit-mcdc/).
#
# These are NOT part of the wolfSSL build: each file #includes a wolfCrypt .c
# directly and defines its own main(), so it cannot be a unit.test source (that
# would duplicate main() and the included .c's symbols). They are compiled
# standalone, one at a time, by the out-of-tree per-module MC/DC coverage
# suite, which reads them from this directory. They are listed in EXTRA_DIST
# only so the source-completeness check accounts for them and so they ship in
# the dist tarball -- the same treatment tests/api/include.am gives its
# non-compiled files. Do not move them to tests_unit_test_SOURCES.
EXTRA_DIST += \
tests/unit-mcdc/README.md \
tests/unit-mcdc/run-whitebox-smoke.sh \
tests/unit-mcdc/smoke-expected.txt \
tests/unit-mcdc/mcdc_der_edit.h \
tests/unit-mcdc/mcdc_fault_alloc.h \
tests/unit-mcdc/mcdc_fault_cryptocb.h \
tests/unit-mcdc/mcdc_fault_hash.h \
tests/unit-mcdc/mcdc_fault_mp.h \
tests/unit-mcdc/mcdc_fault_mpint.h \
tests/unit-mcdc/mcdc_fault_mutex.h \
tests/unit-mcdc/mcdc_seed_rng.h \
tests/unit-mcdc/test_aes_whitebox.c \
tests/unit-mcdc/test_asn_cert_whitebox.c \
tests/unit-mcdc/test_asn_certgen_whitebox.c \
tests/unit-mcdc/test_asn_ext_whitebox.c \
tests/unit-mcdc/test_asn_fault_whitebox.c \
tests/unit-mcdc/test_asn_keys_whitebox.c \
tests/unit-mcdc/test_asn_revocation_whitebox.c \
tests/unit-mcdc/test_asn_whitebox.c \
tests/unit-mcdc/test_blake2b_whitebox.c \
tests/unit-mcdc/test_blake2s_whitebox.c \
tests/unit-mcdc/test_chacha20_poly1305_whitebox.c \
tests/unit-mcdc/test_chacha_whitebox.c \
tests/unit-mcdc/test_cmac_whitebox.c \
tests/unit-mcdc/test_crl_whitebox.c \
tests/unit-mcdc/test_cryptocb_whitebox.c \
tests/unit-mcdc/test_curve25519_whitebox.c \
tests/unit-mcdc/test_dh_fault_whitebox.c \
tests/unit-mcdc/test_dsa_fault_whitebox.c \
tests/unit-mcdc/test_dtls13_role_whitebox.c \
tests/unit-mcdc/test_dtls_whitebox.c \
tests/unit-mcdc/test_ecc_fault_whitebox.c \
tests/unit-mcdc/test_ecc_whitebox.c \
tests/unit-mcdc/test_eccsi_fault_whitebox.c \
tests/unit-mcdc/test_eccsi_whitebox.c \
tests/unit-mcdc/test_ed25519_hash_fault_whitebox.c \
tests/unit-mcdc/test_ed25519_whitebox.c \
tests/unit-mcdc/test_ed448_hash_fault_whitebox.c \
tests/unit-mcdc/test_ed448_whitebox.c \
tests/unit-mcdc/test_falcon_whitebox.c \
tests/unit-mcdc/test_frodokem_cryptocb_whitebox.c \
tests/unit-mcdc/test_frodokem_fault_common.h \
tests/unit-mcdc/test_frodokem_fault_whitebox.c \
tests/unit-mcdc/test_frodokem_mat_fault_whitebox.c \
tests/unit-mcdc/test_frodokem_mat_hash_fault_whitebox.c \
tests/unit-mcdc/test_hpke_fault_whitebox.c \
tests/unit-mcdc/test_hpke_whitebox.c \
tests/unit-mcdc/test_integer_fault_whitebox.c \
tests/unit-mcdc/test_integer_whitebox.c \
tests/unit-mcdc/test_kdf_hash_fault_whitebox.c \
tests/unit-mcdc/test_internal_domain_whitebox.c \
tests/unit-mcdc/test_internal_certerror_whitebox.c \
tests/unit-mcdc/test_internal_clienthello_whitebox.c \
tests/unit-mcdc/test_internal_cryptocb_whitebox.c \
tests/unit-mcdc/test_ssl_certman_whitebox.c \
tests/unit-mcdc/test_ssl_sess_whitebox.c \
tests/unit-mcdc/test_internal_dhskehash_whitebox.c \
tests/unit-mcdc/test_internal_eddsa_whitebox.c \
tests/unit-mcdc/test_internal_nullguard_whitebox.c \
tests/unit-mcdc/test_internal_peerkey_whitebox.c \
tests/unit-mcdc/test_keys_whitebox.c \
tests/unit-mcdc/test_internal_revocation_whitebox.c \
tests/unit-mcdc/test_internal_record_whitebox.c \
tests/unit-mcdc/test_internal_status_whitebox.c \
tests/unit-mcdc/test_internal_sanity_whitebox.c \
tests/unit-mcdc/test_internal_suites_whitebox.c \
tests/unit-mcdc/test_kdf_whitebox.c \
tests/unit-mcdc/test_lms_bds_whitebox.c \
tests/unit-mcdc/test_lms_fault_whitebox.c \
tests/unit-mcdc/test_lms_hash_fault_whitebox.c \
tests/unit-mcdc/test_logging_globalq_whitebox.c \
tests/unit-mcdc/test_logging_whitebox.c \
tests/unit-mcdc/test_memory_whitebox.c \
tests/unit-mcdc/test_mldsa_fault_whitebox.c \
tests/unit-mcdc/test_mldsa_hash_fault_whitebox.c \
tests/unit-mcdc/test_mlkem_fault_whitebox.c \
tests/unit-mcdc/test_mlkem_poly_hash_fault_whitebox.c \
tests/unit-mcdc/test_pkcs12_fault_whitebox.c \
tests/unit-mcdc/test_ocsp_whitebox.c \
tests/unit-mcdc/test_pkcs12_parse_whitebox.c \
tests/unit-mcdc/test_pkcs12_whitebox.c \
tests/unit-mcdc/test_pkcs7_arg_whitebox.c \
tests/unit-mcdc/test_pkcs7_craft_whitebox.c \
tests/unit-mcdc/test_pkcs7_decode_whitebox.c \
tests/unit-mcdc/test_pkcs7_fault_whitebox.c \
tests/unit-mcdc/test_pkcs7_lever_whitebox.c \
tests/unit-mcdc/test_pkcs7_mutate_whitebox.c \
tests/unit-mcdc/test_pkcs7_whitebox.c \
tests/unit-mcdc/test_poly1305_whitebox.c \
tests/unit-mcdc/test_puf_gf_whitebox.c \
tests/unit-mcdc/test_puf_whitebox.c \
tests/unit-mcdc/test_pwdbased_whitebox.c \
tests/unit-mcdc/test_random_fault_whitebox.c \
tests/unit-mcdc/test_random_whitebox.c \
tests/unit-mcdc/test_rsa_fault_whitebox.c \
tests/unit-mcdc/test_rsa_whitebox.c \
tests/unit-mcdc/test_sakke_fault_whitebox.c \
tests/unit-mcdc/test_sakke_whitebox.c \
tests/unit-mcdc/test_sha256_whitebox.c \
tests/unit-mcdc/test_sha3_whitebox.c \
tests/unit-mcdc/test_sha512_whitebox.c \
tests/unit-mcdc/test_she_whitebox.c \
tests/unit-mcdc/test_signature_whitebox.c \
tests/unit-mcdc/test_slhdsa_hash_fault_whitebox.c \
tests/unit-mcdc/test_slhdsa_whitebox.c \
tests/unit-mcdc/test_sp_arm32_fault_whitebox.c \
tests/unit-mcdc/test_sp_arm32_whitebox.c \
tests/unit-mcdc/test_sp_arm64_fault_whitebox.c \
tests/unit-mcdc/test_sp_arm64_whitebox.c \
tests/unit-mcdc/test_sp_arm_fault_common.h \
tests/unit-mcdc/test_sp_armthumb_fault_whitebox.c \
tests/unit-mcdc/test_sp_armthumb_whitebox.c \
tests/unit-mcdc/test_sp_c32_fault_whitebox.c \
tests/unit-mcdc/test_sp_c32_whitebox.c \
tests/unit-mcdc/test_sp_c64_fault_whitebox.c \
tests/unit-mcdc/test_sp_c64_whitebox.c \
tests/unit-mcdc/test_sp_cortexm_crafted_whitebox.c \
tests/unit-mcdc/test_sp_cortexm_fault_whitebox.c \
tests/unit-mcdc/test_sp_cortexm_whitebox.c \
tests/unit-mcdc/test_sp_crafted_common.h \
tests/unit-mcdc/test_sp_fault_common.h \
tests/unit-mcdc/test_sp_int_fault_whitebox.c \
tests/unit-mcdc/test_sp_int_whitebox.c \
tests/unit-mcdc/test_sp_x86_64_fault_whitebox.c \
tests/unit-mcdc/test_sp_x86_64_whitebox.c \
tests/unit-mcdc/test_srp_whitebox.c \
tests/unit-mcdc/test_tfm_fault_whitebox.c \
tests/unit-mcdc/test_tfm_whitebox.c \
tests/unit-mcdc/test_tls13_null_whitebox.c \
tests/unit-mcdc/test_tls13_whitebox.c \
tests/unit-mcdc/test_tsp_fault_whitebox.c \
tests/unit-mcdc/test_tsp_whitebox.c \
tests/unit-mcdc/test_wc_encrypt_whitebox.c \
tests/unit-mcdc/test_wc_lms_impl_whitebox.c \
tests/unit-mcdc/test_wc_lms_impl_whitebox_gap.c \
tests/unit-mcdc/test_wc_mldsa_whitebox.c \
tests/unit-mcdc/test_wc_mlkem_poly_whitebox.c \
tests/unit-mcdc/test_wc_port_whitebox.c \
tests/unit-mcdc/test_wc_xmss_impl_whitebox.c \
tests/unit-mcdc/test_wolfentropy_whitebox.c \
tests/unit-mcdc/test_wolfio_whitebox.c \
tests/unit-mcdc/test_wolfmath_whitebox.c \
tests/unit-mcdc/test_xmss_fault_whitebox.c \
tests/unit-mcdc/test_xmss_hash_fault_whitebox.c