blob: 5b0d603df1ee79df5f1e4ae8ad3757b531b42d6f [file] [log] [blame]
David Benjaminfe0c91e2024-03-18 15:37:24 +10001// This file defines BoringSSL's build, expressed in terms of the input source
2// files that BoringSSL developers edit. It is a JSON file with line comments,
3// with line comments removed before parsing. It drives ./util/pregenerate which
4// converts some of those inputs (e.g. perlasm files) into pre-generated
5// outputs. This produces a more simplified build, which is then converted into
6// build files of various syntaxes.
7//
8// When modifying this file, run `go run ./util/pregenerate`. See gen/README.md
9// for more details, and util/pregenerate/build.go for the schema.
10//
11// TODO(crbug.com/boringssl/542): Moving build inputs to this file is still work
12// in progress, so this file is currently incomplete.
13{
14 "bcm": {
David Benjamincb2f3e82024-03-18 23:17:59 +100015 "srcs": [
Adam Langley5813c2c2024-10-30 14:48:00 -070016 "crypto/fipsmodule/bcm.cc"
David Benjamincb2f3e82024-03-18 23:17:59 +100017 ],
David Benjamin70b33d32024-03-19 17:50:16 +100018 "internal_hdrs": [
Adam Langley5813c2c2024-10-30 14:48:00 -070019 "crypto/fipsmodule/aes/aes.cc.inc",
20 "crypto/fipsmodule/aes/aes_nohw.cc.inc",
21 "crypto/fipsmodule/aes/key_wrap.cc.inc",
22 "crypto/fipsmodule/aes/mode_wrappers.cc.inc",
23 "crypto/fipsmodule/bn/add.cc.inc",
24 "crypto/fipsmodule/bn/asm/x86_64-gcc.cc.inc",
25 "crypto/fipsmodule/bn/bn.cc.inc",
26 "crypto/fipsmodule/bn/bytes.cc.inc",
27 "crypto/fipsmodule/bn/cmp.cc.inc",
28 "crypto/fipsmodule/bn/ctx.cc.inc",
29 "crypto/fipsmodule/bn/div.cc.inc",
30 "crypto/fipsmodule/bn/div_extra.cc.inc",
31 "crypto/fipsmodule/bn/exponentiation.cc.inc",
32 "crypto/fipsmodule/bn/gcd.cc.inc",
33 "crypto/fipsmodule/bn/gcd_extra.cc.inc",
34 "crypto/fipsmodule/bn/generic.cc.inc",
35 "crypto/fipsmodule/bn/jacobi.cc.inc",
36 "crypto/fipsmodule/bn/montgomery.cc.inc",
37 "crypto/fipsmodule/bn/montgomery_inv.cc.inc",
38 "crypto/fipsmodule/bn/mul.cc.inc",
39 "crypto/fipsmodule/bn/prime.cc.inc",
40 "crypto/fipsmodule/bn/random.cc.inc",
41 "crypto/fipsmodule/bn/rsaz_exp.cc.inc",
42 "crypto/fipsmodule/bn/shift.cc.inc",
43 "crypto/fipsmodule/bn/sqrt.cc.inc",
44 "crypto/fipsmodule/cipher/aead.cc.inc",
45 "crypto/fipsmodule/cipher/cipher.cc.inc",
46 "crypto/fipsmodule/cipher/e_aes.cc.inc",
47 "crypto/fipsmodule/cipher/e_aesccm.cc.inc",
48 "crypto/fipsmodule/cmac/cmac.cc.inc",
49 "crypto/fipsmodule/dh/check.cc.inc",
50 "crypto/fipsmodule/dh/dh.cc.inc",
51 "crypto/fipsmodule/digest/digest.cc.inc",
52 "crypto/fipsmodule/digest/digests.cc.inc",
53 "crypto/fipsmodule/digestsign/digestsign.cc.inc",
54 "crypto/fipsmodule/ec/ec.cc.inc",
55 "crypto/fipsmodule/ec/ec_key.cc.inc",
56 "crypto/fipsmodule/ec/ec_montgomery.cc.inc",
57 "crypto/fipsmodule/ec/felem.cc.inc",
58 "crypto/fipsmodule/ec/oct.cc.inc",
59 "crypto/fipsmodule/ec/p224-64.cc.inc",
60 "crypto/fipsmodule/ec/p256-nistz.cc.inc",
61 "crypto/fipsmodule/ec/p256.cc.inc",
62 "crypto/fipsmodule/ec/scalar.cc.inc",
63 "crypto/fipsmodule/ec/simple.cc.inc",
64 "crypto/fipsmodule/ec/simple_mul.cc.inc",
65 "crypto/fipsmodule/ec/util.cc.inc",
66 "crypto/fipsmodule/ec/wnaf.cc.inc",
67 "crypto/fipsmodule/ecdh/ecdh.cc.inc",
68 "crypto/fipsmodule/ecdsa/ecdsa.cc.inc",
69 "crypto/fipsmodule/hkdf/hkdf.cc.inc",
70 "crypto/fipsmodule/hmac/hmac.cc.inc",
Adam Langley163dee52024-11-21 13:23:23 -080071 "crypto/fipsmodule/keccak/keccak.cc.inc",
72 "crypto/fipsmodule/mldsa/mldsa.cc.inc",
Adam Langley5813c2c2024-10-30 14:48:00 -070073 "crypto/fipsmodule/modes/cbc.cc.inc",
74 "crypto/fipsmodule/modes/cfb.cc.inc",
75 "crypto/fipsmodule/modes/ctr.cc.inc",
76 "crypto/fipsmodule/modes/gcm.cc.inc",
77 "crypto/fipsmodule/modes/gcm_nohw.cc.inc",
78 "crypto/fipsmodule/modes/ofb.cc.inc",
79 "crypto/fipsmodule/modes/polyval.cc.inc",
80 "crypto/fipsmodule/rand/ctrdrbg.cc.inc",
81 "crypto/fipsmodule/rand/rand.cc.inc",
82 "crypto/fipsmodule/rsa/blinding.cc.inc",
83 "crypto/fipsmodule/rsa/padding.cc.inc",
84 "crypto/fipsmodule/rsa/rsa.cc.inc",
85 "crypto/fipsmodule/rsa/rsa_impl.cc.inc",
86 "crypto/fipsmodule/self_check/fips.cc.inc",
87 "crypto/fipsmodule/self_check/self_check.cc.inc",
88 "crypto/fipsmodule/service_indicator/service_indicator.cc.inc",
89 "crypto/fipsmodule/sha/sha1.cc.inc",
90 "crypto/fipsmodule/sha/sha256.cc.inc",
91 "crypto/fipsmodule/sha/sha512.cc.inc",
92 "crypto/fipsmodule/tls/kdf.cc.inc"
David Benjamin70b33d32024-03-19 17:50:16 +100093 ],
David Benjamin2fb5f9c2024-05-16 15:27:36 -040094 "asm": [
95 "third_party/fiat/asm/fiat_p256_adx_mul.S",
96 "third_party/fiat/asm/fiat_p256_adx_sqr.S"
97 ],
David Benjaminfe0c91e2024-03-18 15:37:24 +100098 "perlasm_aarch64": [
99 {"src": "crypto/fipsmodule/aes/asm/aesv8-armx.pl", "dst": "aesv8-armv8"},
100 {"src": "crypto/fipsmodule/modes/asm/aesv8-gcm-armv8.pl"},
101 {"src": "crypto/fipsmodule/bn/asm/armv8-mont.pl"},
102 {"src": "crypto/fipsmodule/bn/asm/bn-armv8.pl"},
103 {"src": "crypto/fipsmodule/modes/asm/ghash-neon-armv8.pl"},
104 {"src": "crypto/fipsmodule/modes/asm/ghashv8-armx.pl", "dst": "ghashv8-armv8"},
105 {"src": "crypto/fipsmodule/ec/asm/p256_beeu-armv8-asm.pl"},
106 {"src": "crypto/fipsmodule/ec/asm/p256-armv8-asm.pl"},
107 {"src": "crypto/fipsmodule/sha/asm/sha1-armv8.pl"},
108 {"src": "crypto/fipsmodule/sha/asm/sha512-armv8.pl", "args": ["sha256"], "dst": "sha256-armv8"},
109 {"src": "crypto/fipsmodule/sha/asm/sha512-armv8.pl", "args": ["sha512"]},
110 {"src": "crypto/fipsmodule/aes/asm/vpaes-armv8.pl"}
111 ],
112 "perlasm_arm": [
113 {"src": "crypto/fipsmodule/aes/asm/aesv8-armx.pl", "dst": "aesv8-armv7"},
114 {"src": "crypto/fipsmodule/bn/asm/armv4-mont.pl"},
115 {"src": "crypto/fipsmodule/aes/asm/bsaes-armv7.pl"},
116 {"src": "crypto/fipsmodule/modes/asm/ghash-armv4.pl"},
117 {"src": "crypto/fipsmodule/modes/asm/ghashv8-armx.pl", "dst": "ghashv8-armv7"},
118 {"src": "crypto/fipsmodule/sha/asm/sha1-armv4-large.pl"},
119 {"src": "crypto/fipsmodule/sha/asm/sha256-armv4.pl"},
120 {"src": "crypto/fipsmodule/sha/asm/sha512-armv4.pl"},
121 {"src": "crypto/fipsmodule/aes/asm/vpaes-armv7.pl"}
122 ],
123 "perlasm_x86": [
124 {"src": "crypto/fipsmodule/aes/asm/aesni-x86.pl"},
125 {"src": "crypto/fipsmodule/bn/asm/bn-586.pl"},
126 {"src": "crypto/fipsmodule/bn/asm/co-586.pl"},
127 {"src": "crypto/fipsmodule/modes/asm/ghash-ssse3-x86.pl"},
128 {"src": "crypto/fipsmodule/modes/asm/ghash-x86.pl"},
David Benjaminfe0c91e2024-03-18 15:37:24 +1000129 {"src": "crypto/fipsmodule/sha/asm/sha1-586.pl"},
130 {"src": "crypto/fipsmodule/sha/asm/sha256-586.pl"},
131 {"src": "crypto/fipsmodule/sha/asm/sha512-586.pl"},
132 {"src": "crypto/fipsmodule/aes/asm/vpaes-x86.pl"},
133 {"src": "crypto/fipsmodule/bn/asm/x86-mont.pl"}
134 ],
135 "perlasm_x86_64": [
136 {"src": "crypto/fipsmodule/modes/asm/aesni-gcm-x86_64.pl"},
Eric Biggers57f525e2024-12-06 19:10:17 -0800137 {"src": "crypto/fipsmodule/modes/asm/aes-gcm-avx10-x86_64.pl"},
David Benjaminfe0c91e2024-03-18 15:37:24 +1000138 {"src": "crypto/fipsmodule/aes/asm/aesni-x86_64.pl"},
139 {"src": "crypto/fipsmodule/modes/asm/ghash-ssse3-x86_64.pl"},
140 {"src": "crypto/fipsmodule/modes/asm/ghash-x86_64.pl"},
David Benjaminfe0c91e2024-03-18 15:37:24 +1000141 {"src": "crypto/fipsmodule/ec/asm/p256_beeu-x86_64-asm.pl"},
142 {"src": "crypto/fipsmodule/ec/asm/p256-x86_64-asm.pl"},
143 {"src": "crypto/fipsmodule/rand/asm/rdrand-x86_64.pl"},
144 {"src": "crypto/fipsmodule/bn/asm/rsaz-avx2.pl"},
145 {"src": "crypto/fipsmodule/sha/asm/sha1-x86_64.pl"},
146 {"src": "crypto/fipsmodule/sha/asm/sha512-x86_64.pl", "args": ["sha256"], "dst": "sha256-x86_64"},
147 {"src": "crypto/fipsmodule/sha/asm/sha512-x86_64.pl", "args": ["sha512"]},
148 {"src": "crypto/fipsmodule/aes/asm/vpaes-x86_64.pl"},
149 {"src": "crypto/fipsmodule/bn/asm/x86_64-mont.pl"},
150 {"src": "crypto/fipsmodule/bn/asm/x86_64-mont5.pl"}
151 ]
152 },
153 "crypto": {
David Benjamincb2f3e82024-03-18 23:17:59 +1000154 "srcs": [
Adam Langley5813c2c2024-10-30 14:48:00 -0700155 "crypto/asn1/a_bitstr.cc",
156 "crypto/asn1/a_bool.cc",
157 "crypto/asn1/a_d2i_fp.cc",
158 "crypto/asn1/a_dup.cc",
159 "crypto/asn1/a_gentm.cc",
160 "crypto/asn1/a_i2d_fp.cc",
161 "crypto/asn1/a_int.cc",
162 "crypto/asn1/a_mbstr.cc",
163 "crypto/asn1/a_object.cc",
164 "crypto/asn1/a_octet.cc",
165 "crypto/asn1/a_strex.cc",
166 "crypto/asn1/a_strnid.cc",
167 "crypto/asn1/a_time.cc",
168 "crypto/asn1/a_type.cc",
169 "crypto/asn1/a_utctm.cc",
170 "crypto/asn1/asn1_lib.cc",
171 "crypto/asn1/asn1_par.cc",
172 "crypto/asn1/asn_pack.cc",
173 "crypto/asn1/f_int.cc",
174 "crypto/asn1/f_string.cc",
175 "crypto/asn1/posix_time.cc",
176 "crypto/asn1/tasn_dec.cc",
177 "crypto/asn1/tasn_enc.cc",
178 "crypto/asn1/tasn_fre.cc",
179 "crypto/asn1/tasn_new.cc",
180 "crypto/asn1/tasn_typ.cc",
181 "crypto/asn1/tasn_utl.cc",
182 "crypto/base64/base64.cc",
183 "crypto/bio/bio.cc",
184 "crypto/bio/bio_mem.cc",
185 "crypto/bio/connect.cc",
186 "crypto/bio/errno.cc",
187 "crypto/bio/fd.cc",
188 "crypto/bio/file.cc",
189 "crypto/bio/hexdump.cc",
190 "crypto/bio/pair.cc",
191 "crypto/bio/printf.cc",
192 "crypto/bio/socket.cc",
193 "crypto/bio/socket_helper.cc",
194 "crypto/blake2/blake2.cc",
195 "crypto/bn_extra/bn_asn1.cc",
196 "crypto/bn_extra/convert.cc",
197 "crypto/buf/buf.cc",
198 "crypto/bytestring/asn1_compat.cc",
199 "crypto/bytestring/ber.cc",
200 "crypto/bytestring/cbb.cc",
201 "crypto/bytestring/cbs.cc",
202 "crypto/bytestring/unicode.cc",
203 "crypto/chacha/chacha.cc",
204 "crypto/cipher_extra/cipher_extra.cc",
205 "crypto/cipher_extra/derive_key.cc",
206 "crypto/cipher_extra/e_aesctrhmac.cc",
207 "crypto/cipher_extra/e_aesgcmsiv.cc",
208 "crypto/cipher_extra/e_chacha20poly1305.cc",
209 "crypto/cipher_extra/e_des.cc",
210 "crypto/cipher_extra/e_null.cc",
211 "crypto/cipher_extra/e_rc2.cc",
212 "crypto/cipher_extra/e_rc4.cc",
213 "crypto/cipher_extra/e_tls.cc",
214 "crypto/cipher_extra/tls_cbc.cc",
215 "crypto/conf/conf.cc",
216 "crypto/cpu_aarch64_apple.cc",
217 "crypto/cpu_aarch64_fuchsia.cc",
218 "crypto/cpu_aarch64_linux.cc",
219 "crypto/cpu_aarch64_openbsd.cc",
220 "crypto/cpu_aarch64_sysreg.cc",
221 "crypto/cpu_aarch64_win.cc",
222 "crypto/cpu_arm_freebsd.cc",
223 "crypto/cpu_arm_linux.cc",
224 "crypto/cpu_intel.cc",
225 "crypto/crypto.cc",
226 "crypto/curve25519/curve25519.cc",
227 "crypto/curve25519/curve25519_64_adx.cc",
228 "crypto/curve25519/spake25519.cc",
229 "crypto/des/des.cc",
230 "crypto/dh_extra/dh_asn1.cc",
231 "crypto/dh_extra/params.cc",
232 "crypto/digest_extra/digest_extra.cc",
Adam Langley5813c2c2024-10-30 14:48:00 -0700233 "crypto/dsa/dsa.cc",
234 "crypto/dsa/dsa_asn1.cc",
235 "crypto/ec_extra/ec_asn1.cc",
236 "crypto/ec_extra/ec_derive.cc",
237 "crypto/ec_extra/hash_to_curve.cc",
238 "crypto/ecdh_extra/ecdh_extra.cc",
239 "crypto/ecdsa_extra/ecdsa_asn1.cc",
240 "crypto/engine/engine.cc",
241 "crypto/err/err.cc",
242 "crypto/evp/evp.cc",
243 "crypto/evp/evp_asn1.cc",
244 "crypto/evp/evp_ctx.cc",
245 "crypto/evp/p_dh.cc",
246 "crypto/evp/p_dh_asn1.cc",
247 "crypto/evp/p_dsa_asn1.cc",
248 "crypto/evp/p_ec.cc",
249 "crypto/evp/p_ec_asn1.cc",
250 "crypto/evp/p_ed25519.cc",
251 "crypto/evp/p_ed25519_asn1.cc",
252 "crypto/evp/p_hkdf.cc",
253 "crypto/evp/p_rsa.cc",
254 "crypto/evp/p_rsa_asn1.cc",
255 "crypto/evp/p_x25519.cc",
256 "crypto/evp/p_x25519_asn1.cc",
257 "crypto/evp/pbkdf.cc",
258 "crypto/evp/print.cc",
259 "crypto/evp/scrypt.cc",
260 "crypto/evp/sign.cc",
261 "crypto/ex_data.cc",
262 "crypto/fipsmodule/fips_shared_support.cc",
263 "crypto/hpke/hpke.cc",
264 "crypto/hrss/hrss.cc",
Adam Langley5813c2c2024-10-30 14:48:00 -0700265 "crypto/kyber/kyber.cc",
266 "crypto/lhash/lhash.cc",
267 "crypto/md4/md4.cc",
268 "crypto/md5/md5.cc",
269 "crypto/mem.cc",
Adam Langley76281942024-10-04 11:04:18 -0700270 "crypto/mldsa/mldsa.cc",
Adam Langley500fa1f2024-07-30 11:26:14 -0700271 "crypto/mlkem/mlkem.cc",
Adam Langley5813c2c2024-10-30 14:48:00 -0700272 "crypto/obj/obj.cc",
273 "crypto/obj/obj_xref.cc",
274 "crypto/pem/pem_all.cc",
275 "crypto/pem/pem_info.cc",
276 "crypto/pem/pem_lib.cc",
277 "crypto/pem/pem_oth.cc",
278 "crypto/pem/pem_pk8.cc",
279 "crypto/pem/pem_pkey.cc",
280 "crypto/pem/pem_x509.cc",
281 "crypto/pem/pem_xaux.cc",
282 "crypto/pkcs7/pkcs7.cc",
283 "crypto/pkcs7/pkcs7_x509.cc",
284 "crypto/pkcs8/p5_pbev2.cc",
285 "crypto/pkcs8/pkcs8.cc",
286 "crypto/pkcs8/pkcs8_x509.cc",
287 "crypto/poly1305/poly1305.cc",
288 "crypto/poly1305/poly1305_arm.cc",
289 "crypto/poly1305/poly1305_vec.cc",
290 "crypto/pool/pool.cc",
291 "crypto/rand_extra/deterministic.cc",
292 "crypto/rand_extra/fork_detect.cc",
293 "crypto/rand_extra/forkunsafe.cc",
294 "crypto/rand_extra/getentropy.cc",
295 "crypto/rand_extra/ios.cc",
296 "crypto/rand_extra/passive.cc",
297 "crypto/rand_extra/rand_extra.cc",
298 "crypto/rand_extra/trusty.cc",
299 "crypto/rand_extra/urandom.cc",
300 "crypto/rand_extra/windows.cc",
301 "crypto/rc4/rc4.cc",
302 "crypto/refcount.cc",
303 "crypto/rsa_extra/rsa_asn1.cc",
304 "crypto/rsa_extra/rsa_crypt.cc",
305 "crypto/rsa_extra/rsa_extra.cc",
306 "crypto/rsa_extra/rsa_print.cc",
307 "crypto/sha/sha1.cc",
308 "crypto/sha/sha256.cc",
309 "crypto/sha/sha512.cc",
310 "crypto/siphash/siphash.cc",
311 "crypto/slhdsa/fors.cc",
312 "crypto/slhdsa/merkle.cc",
313 "crypto/slhdsa/slhdsa.cc",
314 "crypto/slhdsa/thash.cc",
315 "crypto/slhdsa/wots.cc",
Adam Langley5813c2c2024-10-30 14:48:00 -0700316 "crypto/stack/stack.cc",
317 "crypto/thread.cc",
318 "crypto/thread_none.cc",
319 "crypto/thread_pthread.cc",
320 "crypto/thread_win.cc",
321 "crypto/trust_token/pmbtoken.cc",
322 "crypto/trust_token/trust_token.cc",
323 "crypto/trust_token/voprf.cc",
324 "crypto/x509/a_digest.cc",
325 "crypto/x509/a_sign.cc",
326 "crypto/x509/a_verify.cc",
327 "crypto/x509/algorithm.cc",
328 "crypto/x509/asn1_gen.cc",
329 "crypto/x509/by_dir.cc",
330 "crypto/x509/by_file.cc",
331 "crypto/x509/i2d_pr.cc",
332 "crypto/x509/name_print.cc",
333 "crypto/x509/policy.cc",
334 "crypto/x509/rsa_pss.cc",
335 "crypto/x509/t_crl.cc",
336 "crypto/x509/t_req.cc",
337 "crypto/x509/t_x509.cc",
338 "crypto/x509/t_x509a.cc",
339 "crypto/x509/v3_akey.cc",
340 "crypto/x509/v3_akeya.cc",
341 "crypto/x509/v3_alt.cc",
342 "crypto/x509/v3_bcons.cc",
343 "crypto/x509/v3_bitst.cc",
344 "crypto/x509/v3_conf.cc",
345 "crypto/x509/v3_cpols.cc",
346 "crypto/x509/v3_crld.cc",
347 "crypto/x509/v3_enum.cc",
348 "crypto/x509/v3_extku.cc",
349 "crypto/x509/v3_genn.cc",
350 "crypto/x509/v3_ia5.cc",
351 "crypto/x509/v3_info.cc",
352 "crypto/x509/v3_int.cc",
353 "crypto/x509/v3_lib.cc",
354 "crypto/x509/v3_ncons.cc",
355 "crypto/x509/v3_ocsp.cc",
356 "crypto/x509/v3_pcons.cc",
357 "crypto/x509/v3_pmaps.cc",
358 "crypto/x509/v3_prn.cc",
359 "crypto/x509/v3_purp.cc",
360 "crypto/x509/v3_skey.cc",
361 "crypto/x509/v3_utl.cc",
362 "crypto/x509/x509.cc",
363 "crypto/x509/x509_att.cc",
364 "crypto/x509/x509_cmp.cc",
365 "crypto/x509/x509_d2.cc",
366 "crypto/x509/x509_def.cc",
367 "crypto/x509/x509_ext.cc",
368 "crypto/x509/x509_lu.cc",
369 "crypto/x509/x509_obj.cc",
370 "crypto/x509/x509_req.cc",
371 "crypto/x509/x509_set.cc",
372 "crypto/x509/x509_trs.cc",
373 "crypto/x509/x509_txt.cc",
374 "crypto/x509/x509_v3.cc",
375 "crypto/x509/x509_vfy.cc",
376 "crypto/x509/x509_vpm.cc",
377 "crypto/x509/x509cset.cc",
378 "crypto/x509/x509name.cc",
379 "crypto/x509/x509rset.cc",
380 "crypto/x509/x509spki.cc",
381 "crypto/x509/x_algor.cc",
382 "crypto/x509/x_all.cc",
383 "crypto/x509/x_attrib.cc",
384 "crypto/x509/x_crl.cc",
385 "crypto/x509/x_exten.cc",
386 "crypto/x509/x_name.cc",
387 "crypto/x509/x_pubkey.cc",
388 "crypto/x509/x_req.cc",
389 "crypto/x509/x_sig.cc",
390 "crypto/x509/x_spki.cc",
391 "crypto/x509/x_val.cc",
392 "crypto/x509/x_x509.cc",
393 "crypto/x509/x_x509a.cc"
David Benjamincb2f3e82024-03-18 23:17:59 +1000394 ],
David Benjamin49b92bc2024-03-18 23:36:59 +1000395 "hdrs": [
396 "include/openssl/aead.h",
397 "include/openssl/aes.h",
398 "include/openssl/arm_arch.h",
399 "include/openssl/asm_base.h",
400 "include/openssl/asn1.h",
401 "include/openssl/asn1_mac.h",
402 "include/openssl/asn1t.h",
403 "include/openssl/base.h",
404 "include/openssl/base64.h",
Bob Beck229801d2024-08-26 21:14:35 +0000405 "include/openssl/bcm_public.h",
David Benjamin49b92bc2024-03-18 23:36:59 +1000406 "include/openssl/bio.h",
407 "include/openssl/blake2.h",
408 "include/openssl/blowfish.h",
409 "include/openssl/bn.h",
410 "include/openssl/buf.h",
411 "include/openssl/buffer.h",
412 "include/openssl/bytestring.h",
413 "include/openssl/cast.h",
414 "include/openssl/chacha.h",
415 "include/openssl/cipher.h",
416 "include/openssl/cmac.h",
417 "include/openssl/conf.h",
418 "include/openssl/cpu.h",
419 "include/openssl/crypto.h",
420 "include/openssl/ctrdrbg.h",
421 "include/openssl/curve25519.h",
422 "include/openssl/des.h",
423 "include/openssl/dh.h",
424 "include/openssl/digest.h",
425 "include/openssl/dsa.h",
426 "include/openssl/e_os2.h",
427 "include/openssl/ec.h",
428 "include/openssl/ec_key.h",
429 "include/openssl/ecdh.h",
430 "include/openssl/ecdsa.h",
431 "include/openssl/engine.h",
432 "include/openssl/err.h",
433 "include/openssl/evp.h",
434 "include/openssl/evp_errors.h",
435 "include/openssl/ex_data.h",
436 "include/openssl/experimental/kyber.h",
David Benjamin49b92bc2024-03-18 23:36:59 +1000437 "include/openssl/hkdf.h",
438 "include/openssl/hmac.h",
439 "include/openssl/hpke.h",
440 "include/openssl/hrss.h",
441 "include/openssl/is_boringssl.h",
442 "include/openssl/kdf.h",
443 "include/openssl/lhash.h",
444 "include/openssl/md4.h",
445 "include/openssl/md5.h",
446 "include/openssl/mem.h",
Adam Langley0ba20012024-08-01 12:43:39 -0700447 "include/openssl/mldsa.h",
Adam Langley500fa1f2024-07-30 11:26:14 -0700448 "include/openssl/mlkem.h",
David Benjamin49b92bc2024-03-18 23:36:59 +1000449 "include/openssl/nid.h",
450 "include/openssl/obj.h",
451 "include/openssl/obj_mac.h",
452 "include/openssl/objects.h",
453 "include/openssl/opensslconf.h",
454 "include/openssl/opensslv.h",
455 "include/openssl/ossl_typ.h",
456 "include/openssl/pem.h",
457 "include/openssl/pkcs12.h",
458 "include/openssl/pkcs7.h",
459 "include/openssl/pkcs8.h",
460 "include/openssl/poly1305.h",
461 "include/openssl/pool.h",
462 "include/openssl/posix_time.h",
463 "include/openssl/rand.h",
464 "include/openssl/rc4.h",
465 "include/openssl/ripemd.h",
466 "include/openssl/rsa.h",
467 "include/openssl/safestack.h",
468 "include/openssl/service_indicator.h",
469 "include/openssl/sha.h",
470 "include/openssl/siphash.h",
Adam Langley642e8e52024-09-04 14:17:26 -0700471 "include/openssl/slhdsa.h",
David Benjamin49b92bc2024-03-18 23:36:59 +1000472 "include/openssl/span.h",
473 "include/openssl/stack.h",
474 "include/openssl/target.h",
475 "include/openssl/thread.h",
476 "include/openssl/time.h",
477 "include/openssl/trust_token.h",
478 "include/openssl/type_check.h",
479 "include/openssl/x509.h",
480 "include/openssl/x509_vfy.h",
481 "include/openssl/x509v3.h",
482 "include/openssl/x509v3_errors.h"
483 ],
David Benjaminfebb4402024-03-19 16:52:15 +1000484 "internal_hdrs": [
485 "crypto/asn1/internal.h",
486 "crypto/bio/internal.h",
487 "crypto/bytestring/internal.h",
488 "crypto/chacha/internal.h",
489 "crypto/cipher_extra/internal.h",
David Benjaminfebb4402024-03-19 16:52:15 +1000490 "crypto/conf/internal.h",
491 "crypto/cpu_arm_linux.h",
492 "crypto/curve25519/curve25519_tables.h",
493 "crypto/curve25519/internal.h",
494 "crypto/des/internal.h",
495 "crypto/dsa/internal.h",
496 "crypto/ec_extra/internal.h",
497 "crypto/err/internal.h",
498 "crypto/evp/internal.h",
David Benjamind2638492024-08-29 13:42:18 -0400499 "crypto/fipsmodule/aes/internal.h",
Bob Beckec09a2d2024-04-29 23:15:36 +0000500 "crypto/fipsmodule/bcm_interface.h",
David Benjaminfebb4402024-03-19 16:52:15 +1000501 "crypto/fipsmodule/bn/internal.h",
502 "crypto/fipsmodule/bn/rsaz_exp.h",
503 "crypto/fipsmodule/cipher/internal.h",
504 "crypto/fipsmodule/delocate.h",
505 "crypto/fipsmodule/dh/internal.h",
506 "crypto/fipsmodule/digest/internal.h",
507 "crypto/fipsmodule/digest/md32_common.h",
508 "crypto/fipsmodule/ec/builtin_curves.h",
509 "crypto/fipsmodule/ec/internal.h",
510 "crypto/fipsmodule/ec/p256-nistz-table.h",
511 "crypto/fipsmodule/ec/p256-nistz.h",
512 "crypto/fipsmodule/ec/p256_table.h",
513 "crypto/fipsmodule/ecdsa/internal.h",
Adam Langley163dee52024-11-21 13:23:23 -0800514 "crypto/fipsmodule/keccak/internal.h",
David Benjaminfebb4402024-03-19 16:52:15 +1000515 "crypto/fipsmodule/modes/internal.h",
David Benjaminfebb4402024-03-19 16:52:15 +1000516 "crypto/fipsmodule/rand/internal.h",
517 "crypto/fipsmodule/rsa/internal.h",
518 "crypto/fipsmodule/service_indicator/internal.h",
519 "crypto/fipsmodule/sha/internal.h",
520 "crypto/fipsmodule/tls/internal.h",
521 "crypto/hrss/internal.h",
Bob Beckec09a2d2024-04-29 23:15:36 +0000522 "crypto/bcm_support.h",
David Benjaminfebb4402024-03-19 16:52:15 +1000523 "crypto/internal.h",
David Benjaminfebb4402024-03-19 16:52:15 +1000524 "crypto/kyber/internal.h",
525 "crypto/lhash/internal.h",
Bob Beck25959432024-08-28 23:50:02 +0000526 "crypto/md5/internal.h",
Adam Langley500fa1f2024-07-30 11:26:14 -0700527 "crypto/mlkem/internal.h",
David Benjaminfebb4402024-03-19 16:52:15 +1000528 "crypto/obj/obj_dat.h",
529 "crypto/pkcs7/internal.h",
530 "crypto/pkcs8/internal.h",
531 "crypto/poly1305/internal.h",
532 "crypto/pool/internal.h",
Bob Beckec09a2d2024-04-29 23:15:36 +0000533 "crypto/rand_extra/getrandom_fillin.h",
534 "crypto/rand_extra/sysrand_internal.h",
David Benjaminfebb4402024-03-19 16:52:15 +1000535 "crypto/rsa_extra/internal.h",
Adam Langley642e8e52024-09-04 14:17:26 -0700536 "crypto/slhdsa/address.h",
537 "crypto/slhdsa/fors.h",
538 "crypto/slhdsa/internal.h",
539 "crypto/slhdsa/merkle.h",
540 "crypto/slhdsa/params.h",
541 "crypto/slhdsa/thash.h",
542 "crypto/slhdsa/wots.h",
David Benjaminfebb4402024-03-19 16:52:15 +1000543 "crypto/trust_token/internal.h",
544 "crypto/x509/ext_dat.h",
545 "crypto/x509/internal.h",
546 "third_party/fiat/curve25519_32.h",
547 "third_party/fiat/curve25519_64.h",
548 "third_party/fiat/curve25519_64_adx.h",
549 "third_party/fiat/curve25519_64_msvc.h",
550 "third_party/fiat/p256_32.h",
551 "third_party/fiat/p256_64.h",
552 "third_party/fiat/p256_64_msvc.h"
553 ],
David Benjaminfe0c91e2024-03-18 15:37:24 +1000554 "err_data": [
David Benjamin115deb32024-03-18 18:08:57 +1000555 "crypto/err/*.errordata"
David Benjaminfe0c91e2024-03-18 15:37:24 +1000556 ],
557 "asm": [
558 "crypto/curve25519/asm/x25519-asm-arm.S",
559 "crypto/hrss/asm/poly_rq_mul.S",
560 "crypto/poly1305/poly1305_arm_asm.S",
561 "third_party/fiat/asm/fiat_curve25519_adx_mul.S",
David Benjamin2fb5f9c2024-05-16 15:27:36 -0400562 "third_party/fiat/asm/fiat_curve25519_adx_square.S"
David Benjaminfe0c91e2024-03-18 15:37:24 +1000563 ],
564 "perlasm_aarch64": [
565 {"src": "crypto/chacha/asm/chacha-armv8.pl"},
566 {"src": "crypto/cipher_extra/asm/chacha20_poly1305_armv8.pl"}
567 ],
568 "perlasm_arm": [
569 {"src": "crypto/chacha/asm/chacha-armv4.pl"}
570 ],
571 "perlasm_x86": [
Bob Beck25959432024-08-28 23:50:02 +0000572 {"src": "crypto/chacha/asm/chacha-x86.pl"},
573 {"src": "crypto/md5/asm/md5-586.pl"}
David Benjaminfe0c91e2024-03-18 15:37:24 +1000574 ],
575 "perlasm_x86_64": [
576 {"src": "crypto/chacha/asm/chacha-x86_64.pl"},
577 {"src": "crypto/cipher_extra/asm/aes128gcmsiv-x86_64.pl"},
Bob Beck25959432024-08-28 23:50:02 +0000578 {"src": "crypto/cipher_extra/asm/chacha20_poly1305_x86_64.pl"},
579 {"src": "crypto/md5/asm/md5-x86_64.pl"}
David Benjaminfe0c91e2024-03-18 15:37:24 +1000580 ]
581 },
David Benjamin231510c2024-03-18 22:39:15 +1000582 "pki": {
583 "srcs": [
584 "pki/cert_error_id.cc",
585 "pki/cert_error_params.cc",
586 "pki/cert_errors.cc",
587 "pki/cert_issuer_source_static.cc",
588 "pki/certificate.cc",
589 "pki/certificate_policies.cc",
590 "pki/common_cert_errors.cc",
591 "pki/crl.cc",
592 "pki/encode_values.cc",
593 "pki/extended_key_usage.cc",
594 "pki/general_names.cc",
595 "pki/input.cc",
596 "pki/ip_util.cc",
597 "pki/name_constraints.cc",
598 "pki/ocsp.cc",
599 "pki/ocsp_verify_result.cc",
600 "pki/parse_certificate.cc",
601 "pki/parse_name.cc",
602 "pki/parse_values.cc",
603 "pki/parsed_certificate.cc",
604 "pki/parser.cc",
605 "pki/path_builder.cc",
606 "pki/pem.cc",
607 "pki/revocation_util.cc",
608 "pki/signature_algorithm.cc",
609 "pki/simple_path_builder_delegate.cc",
610 "pki/string_util.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700611 "pki/trust_store.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000612 "pki/trust_store_collection.cc",
613 "pki/trust_store_in_memory.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700614 "pki/verify.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000615 "pki/verify_certificate_chain.cc",
616 "pki/verify_error.cc",
617 "pki/verify_name_match.cc",
618 "pki/verify_signed_data.cc"
David Benjamin49b92bc2024-03-18 23:36:59 +1000619 ],
620 "hdrs": [
621 "include/openssl/pki/certificate.h",
David Benjaminb2966322024-03-29 19:02:18 -0400622 "include/openssl/pki/signature_verify_cache.h",
David Benjamin3a01cba2024-05-15 17:00:42 -0400623 "include/openssl/pki/verify.h",
David Benjaminb2966322024-03-29 19:02:18 -0400624 "include/openssl/pki/verify_error.h"
David Benjaminfebb4402024-03-19 16:52:15 +1000625 ],
626 "internal_hdrs": [
627 "pki/cert_error_id.h",
628 "pki/cert_error_params.h",
629 "pki/cert_errors.h",
630 "pki/cert_issuer_source.h",
631 "pki/cert_issuer_source_static.h",
632 // TODO(crbug.com/boringssl/542): This should be in pki_tests.
633 "pki/cert_issuer_source_sync_unittest.h",
634 "pki/certificate_policies.h",
635 "pki/common_cert_errors.h",
636 "pki/crl.h",
637 "pki/encode_values.h",
638 "pki/extended_key_usage.h",
639 "pki/general_names.h",
640 "pki/input.h",
641 "pki/ip_util.h",
642 "pki/mock_signature_verify_cache.h",
643 "pki/name_constraints.h",
644 "pki/nist_pkits_unittest.h",
645 "pki/ocsp.h",
646 "pki/ocsp_revocation_status.h",
647 "pki/ocsp_verify_result.h",
648 "pki/parse_certificate.h",
649 "pki/parse_name.h",
650 "pki/parse_values.h",
651 "pki/parsed_certificate.h",
652 "pki/parser.h",
653 "pki/path_builder.h",
654 "pki/pem.h",
655 "pki/revocation_util.h",
656 "pki/signature_algorithm.h",
657 "pki/simple_path_builder_delegate.h",
658 "pki/string_util.h",
659 // TODO(crbug.com/boringssl/542): This should be in pki_tests.
660 "pki/test_helpers.h",
661 // TODO(crbug.com/boringssl/542): This should be in pki_tests.
662 "pki/testdata/nist-pkits/pkits_testcases-inl.h",
663 "pki/trust_store.h",
664 "pki/trust_store_collection.h",
665 "pki/trust_store_in_memory.h",
666 "pki/verify_certificate_chain.h",
667 // TODO(crbug.com/boringssl/542): This should be in pki_tests.
668 "pki/verify_certificate_chain_typed_unittest.h",
669 "pki/verify_name_match.h",
670 "pki/verify_signed_data.h"
David Benjamin231510c2024-03-18 22:39:15 +1000671 ]
672 },
673 "ssl": {
674 "srcs": [
675 "ssl/bio_ssl.cc",
676 "ssl/d1_both.cc",
677 "ssl/d1_lib.cc",
678 "ssl/d1_pkt.cc",
679 "ssl/d1_srtp.cc",
680 "ssl/dtls_method.cc",
681 "ssl/dtls_record.cc",
682 "ssl/encrypted_client_hello.cc",
683 "ssl/extensions.cc",
684 "ssl/handoff.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700685 "ssl/handshake.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000686 "ssl/handshake_client.cc",
687 "ssl/handshake_server.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000688 "ssl/s3_both.cc",
689 "ssl/s3_lib.cc",
690 "ssl/s3_pkt.cc",
691 "ssl/ssl_aead_ctx.cc",
692 "ssl/ssl_asn1.cc",
693 "ssl/ssl_buffer.cc",
694 "ssl/ssl_cert.cc",
695 "ssl/ssl_cipher.cc",
696 "ssl/ssl_credential.cc",
697 "ssl/ssl_file.cc",
698 "ssl/ssl_key_share.cc",
699 "ssl/ssl_lib.cc",
700 "ssl/ssl_privkey.cc",
701 "ssl/ssl_session.cc",
702 "ssl/ssl_stat.cc",
703 "ssl/ssl_transcript.cc",
704 "ssl/ssl_versions.cc",
705 "ssl/ssl_x509.cc",
706 "ssl/t1_enc.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000707 "ssl/tls13_both.cc",
708 "ssl/tls13_client.cc",
709 "ssl/tls13_enc.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700710 "ssl/tls13_server.cc",
711 "ssl/tls_method.cc",
712 "ssl/tls_record.cc"
David Benjamin49b92bc2024-03-18 23:36:59 +1000713 ],
714 "hdrs": [
715 "include/openssl/dtls1.h",
716 "include/openssl/srtp.h",
717 "include/openssl/ssl.h",
718 "include/openssl/ssl3.h",
719 "include/openssl/tls1.h"
David Benjaminfebb4402024-03-19 16:52:15 +1000720 ],
721 "internal_hdrs": [
722 "ssl/internal.h"
David Benjamin231510c2024-03-18 22:39:15 +1000723 ]
724 },
725 "decrepit": {
726 "srcs": [
Adam Langley5813c2c2024-10-30 14:48:00 -0700727 "decrepit/bio/base64_bio.cc",
728 "decrepit/blowfish/blowfish.cc",
729 "decrepit/cast/cast.cc",
730 "decrepit/cast/cast_tables.cc",
731 "decrepit/cfb/cfb.cc",
732 "decrepit/des/cfb64ede.cc",
733 "decrepit/dh/dh_decrepit.cc",
734 "decrepit/dsa/dsa_decrepit.cc",
735 "decrepit/evp/dss1.cc",
736 "decrepit/evp/evp_do_all.cc",
737 "decrepit/obj/obj_decrepit.cc",
738 "decrepit/rc4/rc4_decrepit.cc",
739 "decrepit/ripemd/ripemd.cc",
740 "decrepit/rsa/rsa_decrepit.cc",
741 "decrepit/ssl/ssl_decrepit.cc",
742 "decrepit/x509/x509_decrepit.cc",
743 "decrepit/xts/xts.cc"
David Benjamine2d7f2d2024-03-20 09:56:14 +1000744 ],
745 "internal_hdrs": [
746 "decrepit/cast/internal.h",
747 "decrepit/macros.h"
David Benjamin231510c2024-03-18 22:39:15 +1000748 ]
749 },
David Benjaminfe0c91e2024-03-18 15:37:24 +1000750 "test_support": {
David Benjamin231510c2024-03-18 22:39:15 +1000751 "srcs": [
752 "crypto/test/abi_test.cc",
753 "crypto/test/file_test.cc",
David Benjamin3ae23972024-03-18 22:43:46 +1000754 "crypto/test/file_test_gtest.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000755 "crypto/test/file_util.cc",
David Benjamin3ae23972024-03-18 22:43:46 +1000756 "crypto/test/test_data.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000757 "crypto/test/test_util.cc",
758 "crypto/test/wycheproof_util.cc"
759 ],
David Benjaminfebb4402024-03-19 16:52:15 +1000760 "internal_hdrs": [
761 "crypto/test/abi_test.h",
762 "crypto/test/file_test.h",
763 "crypto/test/file_util.h",
764 "crypto/test/gtest_main.h",
765 "crypto/test/test_data.h",
766 "crypto/test/test_util.h",
767 "crypto/test/wycheproof_util.h",
768 // TODO(crbug.com/boringssl/542): It's a bit odd that these are in
769 // test_support. Most of it is part of bssl_shim, except that the
770 // fuzzers use some of these headers.
771 "ssl/test/async_bio.h",
772 "ssl/test/fuzzer.h",
773 "ssl/test/fuzzer_tags.h",
774 "ssl/test/handshake_util.h",
775 "ssl/test/mock_quic_transport.h",
776 "ssl/test/packeted_bio.h",
777 "ssl/test/settings_writer.h",
778 "ssl/test/test_config.h",
779 "ssl/test/test_state.h"
780 ],
David Benjaminfe0c91e2024-03-18 15:37:24 +1000781 "perlasm_aarch64": [
782 {"src": "crypto/test/asm/trampoline-armv8.pl"}
783 ],
784 "perlasm_arm": [
785 {"src": "crypto/test/asm/trampoline-armv4.pl"}
786 ],
787 "perlasm_x86": [
788 {"src": "crypto/test/asm/trampoline-x86.pl"}
789 ],
790 "perlasm_x86_64": [
791 {"src": "crypto/test/asm/trampoline-x86_64.pl"}
792 ]
David Benjamin6cbf2c02024-03-18 22:11:06 +1000793 },
794 "crypto_test": {
David Benjamin231510c2024-03-18 22:39:15 +1000795 "srcs": [
796 "crypto/abi_self_test.cc",
797 "crypto/asn1/asn1_test.cc",
798 "crypto/base64/base64_test.cc",
799 "crypto/bio/bio_test.cc",
800 "crypto/blake2/blake2_test.cc",
801 "crypto/buf/buf_test.cc",
802 "crypto/bytestring/bytestring_test.cc",
803 "crypto/chacha/chacha_test.cc",
804 "crypto/cipher_extra/aead_test.cc",
805 "crypto/cipher_extra/cipher_test.cc",
806 "crypto/compiler_test.cc",
807 "crypto/conf/conf_test.cc",
808 "crypto/constant_time_test.cc",
809 "crypto/cpu_arm_linux_test.cc",
810 "crypto/crypto_test.cc",
811 "crypto/curve25519/ed25519_test.cc",
812 "crypto/curve25519/spake25519_test.cc",
813 "crypto/curve25519/x25519_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000814 "crypto/dh_extra/dh_test.cc",
815 "crypto/digest_extra/digest_test.cc",
816 "crypto/dsa/dsa_test.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700817 "crypto/ecdh_extra/ecdh_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000818 "crypto/err/err_test.cc",
819 "crypto/evp/evp_extra_test.cc",
820 "crypto/evp/evp_test.cc",
821 "crypto/evp/pbkdf_test.cc",
822 "crypto/evp/scrypt_test.cc",
Bob Beck9540c042024-05-29 19:43:44 +0000823 "crypto/fipsmodule/aes/aes_test.cc",
824 "crypto/fipsmodule/bn/bn_test.cc",
825 "crypto/fipsmodule/cmac/cmac_test.cc",
826 "crypto/fipsmodule/ec/ec_test.cc",
827 "crypto/fipsmodule/ec/p256-nistz_test.cc",
828 "crypto/fipsmodule/ec/p256_test.cc",
829 "crypto/fipsmodule/ecdsa/ecdsa_test.cc",
830 "crypto/fipsmodule/hkdf/hkdf_test.cc",
Adam Langley163dee52024-11-21 13:23:23 -0800831 "crypto/fipsmodule/keccak/keccak_test.cc",
Bob Beck9540c042024-05-29 19:43:44 +0000832 "crypto/fipsmodule/modes/gcm_test.cc",
833 "crypto/fipsmodule/rand/ctrdrbg_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000834 "crypto/fipsmodule/service_indicator/service_indicator_test.cc",
Bob Beck9540c042024-05-29 19:43:44 +0000835 "crypto/fipsmodule/sha/sha_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000836 "crypto/hmac_extra/hmac_test.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700837 "crypto/hpke/hpke_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000838 "crypto/hrss/hrss_test.cc",
839 "crypto/impl_dispatch_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000840 "crypto/kyber/kyber_test.cc",
841 "crypto/lhash/lhash_test.cc",
Bob Beck25959432024-08-28 23:50:02 +0000842 "crypto/md5/md5_test.cc",
Adam Langley500fa1f2024-07-30 11:26:14 -0700843 "crypto/mlkem/mlkem_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000844 "crypto/obj/obj_test.cc",
845 "crypto/pem/pem_test.cc",
Adam Langley0ba20012024-08-01 12:43:39 -0700846 "crypto/mldsa/mldsa_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000847 "crypto/pkcs7/pkcs7_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000848 "crypto/pkcs8/pkcs12_test.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700849 "crypto/pkcs8/pkcs8_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000850 "crypto/poly1305/poly1305_test.cc",
851 "crypto/pool/pool_test.cc",
Bob Beckee79a932024-05-31 21:37:00 +0000852 "crypto/rand_extra/fork_detect_test.cc",
Bob Beck9540c042024-05-29 19:43:44 +0000853 "crypto/rand_extra/getentropy_test.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700854 "crypto/rand_extra/rand_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000855 "crypto/refcount_test.cc",
856 "crypto/rsa_extra/rsa_test.cc",
857 "crypto/self_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000858 "crypto/siphash/siphash_test.cc",
Adam Langley642e8e52024-09-04 14:17:26 -0700859 "crypto/slhdsa/slhdsa_test.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700860 "crypto/stack/stack_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000861 "crypto/test/gtest_main.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700862 "crypto/thread_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000863 "crypto/trust_token/trust_token_test.cc",
864 "crypto/x509/tab_test.cc",
865 "crypto/x509/x509_test.cc",
866 "crypto/x509/x509_time_test.cc"
867 ],
David Benjamin6cbf2c02024-03-18 22:11:06 +1000868 "data": [
869 "crypto/blake2/blake2b256_tests.txt",
870 "crypto/cipher_extra/test/*.txt",
871 "crypto/cipher_extra/test/nist_cavp/*.txt",
872 "crypto/curve25519/ed25519_tests.txt",
873 "crypto/ecdh_extra/ecdh_tests.txt",
874 "crypto/evp/evp_tests.txt",
875 "crypto/evp/scrypt_tests.txt",
Bob Becked3f05a2024-05-29 19:42:44 +0000876 "crypto/fipsmodule/aes/aes_tests.txt",
877 "crypto/fipsmodule/bn/test/*.txt",
878 "crypto/fipsmodule/cmac/cavp_3des_cmac_tests.txt",
879 "crypto/fipsmodule/cmac/cavp_aes128_cmac_tests.txt",
880 "crypto/fipsmodule/cmac/cavp_aes192_cmac_tests.txt",
881 "crypto/fipsmodule/cmac/cavp_aes256_cmac_tests.txt",
882 "crypto/fipsmodule/ec/ec_scalar_base_mult_tests.txt",
Bob Beck9540c042024-05-29 19:43:44 +0000883 "crypto/fipsmodule/ec/p256-nistz_tests.txt",
Bob Becked3f05a2024-05-29 19:42:44 +0000884 "crypto/fipsmodule/ecdsa/ecdsa_sign_tests.txt",
885 "crypto/fipsmodule/ecdsa/ecdsa_verify_tests.txt",
Adam Langley163dee52024-11-21 13:23:23 -0800886 "crypto/fipsmodule/keccak/keccak_tests.txt",
Bob Beck9540c042024-05-29 19:43:44 +0000887 "crypto/fipsmodule/rand/ctrdrbg_vectors.txt",
David Benjamin6cbf2c02024-03-18 22:11:06 +1000888 "crypto/hmac_extra/hmac_tests.txt",
889 "crypto/hpke/hpke_test_vectors.txt",
David Benjamin6cbf2c02024-03-18 22:11:06 +1000890 "crypto/kyber/kyber_tests.txt",
Adam Langley48d150f2024-12-04 14:16:30 -0800891 "crypto/mldsa/mldsa_nist_keygen_65_tests.txt",
892 "crypto/mldsa/mldsa_nist_keygen_87_tests.txt",
893 "crypto/mldsa/mldsa_nist_siggen_65_tests.txt",
894 "crypto/mldsa/mldsa_nist_siggen_87_tests.txt",
Adam Langley500fa1f2024-07-30 11:26:14 -0700895 "crypto/mlkem/mlkem1024_decap_tests.txt",
896 "crypto/mlkem/mlkem1024_encap_tests.txt",
897 "crypto/mlkem/mlkem1024_keygen_tests.txt",
898 "crypto/mlkem/mlkem1024_nist_decap_tests.txt",
899 "crypto/mlkem/mlkem1024_nist_keygen_tests.txt",
900 "crypto/mlkem/mlkem768_decap_tests.txt",
901 "crypto/mlkem/mlkem768_encap_tests.txt",
902 "crypto/mlkem/mlkem768_keygen_tests.txt",
903 "crypto/mlkem/mlkem768_nist_decap_tests.txt",
904 "crypto/mlkem/mlkem768_nist_keygen_tests.txt",
David Benjamin6cbf2c02024-03-18 22:11:06 +1000905 "crypto/pkcs8/test/*.p12",
906 "crypto/poly1305/poly1305_tests.txt",
907 "crypto/siphash/siphash_tests.txt",
Adam Langley642e8e52024-09-04 14:17:26 -0700908 "crypto/slhdsa/slhdsa_keygen.txt",
Adam Langley06d50782024-10-23 15:03:08 -0700909 "crypto/slhdsa/slhdsa_prehash.txt",
Adam Langley642e8e52024-09-04 14:17:26 -0700910 "crypto/slhdsa/slhdsa_siggen.txt",
911 "crypto/slhdsa/slhdsa_sigver.txt",
David Benjamin6cbf2c02024-03-18 22:11:06 +1000912 "crypto/x509/test/*.pem",
913 "third_party/wycheproof_testvectors/*.txt"
914 ]
915 },
David Benjamin231510c2024-03-18 22:39:15 +1000916 "urandom_test": {
917 "srcs": [
Bob Beckec09a2d2024-04-29 23:15:36 +0000918 "crypto/rand_extra/urandom_test.cc"
David Benjamin231510c2024-03-18 22:39:15 +1000919 ]
920 },
David Benjamin6cbf2c02024-03-18 22:11:06 +1000921 "pki_test": {
David Benjamin231510c2024-03-18 22:39:15 +1000922 "srcs": [
923 "crypto/test/gtest_main.cc",
924 "pki/cert_issuer_source_static_unittest.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000925 "pki/certificate_policies_unittest.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700926 "pki/certificate_unittest.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000927 "pki/crl_unittest.cc",
928 "pki/encode_values_unittest.cc",
929 "pki/extended_key_usage_unittest.cc",
930 "pki/general_names_unittest.cc",
931 "pki/input_unittest.cc",
932 "pki/ip_util_unittest.cc",
933 "pki/mock_signature_verify_cache.cc",
934 "pki/name_constraints_unittest.cc",
935 "pki/nist_pkits_unittest.cc",
936 "pki/ocsp_unittest.cc",
937 "pki/parse_certificate_unittest.cc",
938 "pki/parse_name_unittest.cc",
939 "pki/parse_values_unittest.cc",
940 "pki/parsed_certificate_unittest.cc",
941 "pki/parser_unittest.cc",
942 "pki/path_builder_pkits_unittest.cc",
943 "pki/path_builder_unittest.cc",
944 "pki/path_builder_verify_certificate_chain_unittest.cc",
945 "pki/pem_unittest.cc",
946 "pki/signature_algorithm_unittest.cc",
947 "pki/simple_path_builder_delegate_unittest.cc",
948 "pki/string_util_unittest.cc",
949 "pki/test_helpers.cc",
950 "pki/trust_store_collection_unittest.cc",
951 "pki/trust_store_in_memory_unittest.cc",
952 "pki/verify_certificate_chain_pkits_unittest.cc",
953 "pki/verify_certificate_chain_unittest.cc",
954 "pki/verify_name_match_unittest.cc",
Bob Beck35a91092023-12-13 23:37:41 +0000955 "pki/verify_signed_data_unittest.cc",
956 "pki/verify_unittest.cc"
David Benjamin231510c2024-03-18 22:39:15 +1000957 ],
David Benjamin6cbf2c02024-03-18 22:11:06 +1000958 "data": [
959 "pki/testdata/cert_issuer_source_static_unittest/*.pem",
960 "pki/testdata/certificate_policies_unittest/*.pem",
961 "pki/testdata/crl_unittest/*.pem",
962 "pki/testdata/name_constraints_unittest/*.pem",
963 "pki/testdata/nist-pkits/certs/*.crt",
964 "pki/testdata/nist-pkits/crls/*.crl",
965 "pki/testdata/ocsp_unittest/*.pem",
966 "pki/testdata/parse_certificate_unittest/*.pem",
967 "pki/testdata/parse_certificate_unittest/*/*.pem",
968 "pki/testdata/path_builder_unittest/*.pem",
969 "pki/testdata/path_builder_unittest/*/*.pem",
970 "pki/testdata/verify_certificate_chain_unittest/*/*.pem",
971 "pki/testdata/verify_certificate_chain_unittest/*/*.test",
972 "pki/testdata/verify_certificate_chain_unittest/pkits_errors/*.txt",
973 "pki/testdata/verify_name_match_unittest/names/*.pem",
974 "pki/testdata/verify_signed_data_unittest/*.pem",
Bob Beck35a91092023-12-13 23:37:41 +0000975 "pki/testdata/verify_unittest/*.der",
David Benjamin6cbf2c02024-03-18 22:11:06 +1000976 "pki/testdata/verify_unittest/self-issued.pem"
977 ]
David Benjamin231510c2024-03-18 22:39:15 +1000978 },
979 "ssl_test": {
980 "srcs": [
981 "crypto/test/gtest_main.cc",
982 "ssl/span_test.cc",
983 "ssl/ssl_c_test.c",
David Benjamin4f765232024-10-22 11:42:37 -0400984 "ssl/ssl_internal_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000985 "ssl/ssl_test.cc"
986 ]
987 },
988 "decrepit_test": {
989 "srcs": [
990 "crypto/test/gtest_main.cc",
991 "decrepit/blowfish/blowfish_test.cc",
992 "decrepit/cast/cast_test.cc",
993 "decrepit/cfb/cfb_test.cc",
994 "decrepit/des/des_test.cc",
995 "decrepit/evp/evp_test.cc",
996 "decrepit/ripemd/ripemd_test.cc",
997 "decrepit/xts/xts_test.cc"
998 ]
999 },
1000 "bssl": {
1001 "srcs": [
1002 "tool/args.cc",
1003 "tool/ciphers.cc",
1004 "tool/client.cc",
1005 "tool/const.cc",
1006 "tool/digest.cc",
1007 "tool/fd.cc",
1008 "tool/file.cc",
1009 "tool/generate_ech.cc",
1010 "tool/generate_ed25519.cc",
1011 "tool/genrsa.cc",
1012 "tool/pkcs12.cc",
1013 "tool/rand.cc",
1014 "tool/server.cc",
1015 "tool/sign.cc",
1016 "tool/speed.cc",
1017 "tool/tool.cc",
1018 "tool/transport_common.cc"
David Benjaminfebb4402024-03-19 16:52:15 +10001019 ],
1020 "internal_hdrs": [
1021 "tool/internal.h",
1022 "tool/transport_common.h"
David Benjamin231510c2024-03-18 22:39:15 +10001023 ]
David Benjamine13f7e22024-08-21 16:30:53 -04001024 },
1025 "fuzz": {
1026 // TODO(crbug.com/42290554): Unlike the other targets, each source here
1027 // is expected to be built separately. When we migrate from libFuzzer to
1028 // FuzzTest, this will be moot.
1029 "srcs": [
1030 "fuzz/*.cc"
1031 ]
David Benjamin98754792024-08-21 16:38:57 -04001032 },
1033 "rust_bssl_sys": {
1034 "srcs": [
1035 "rust/bssl-sys/src/*.rs"
1036 ]
1037 },
1038 "rust_bssl_crypto": {
1039 "srcs": [
1040 "rust/bssl-crypto/src/*.rs",
1041 "rust/bssl-crypto/src/*/*.rs"
1042 ]
David Benjaminfe0c91e2024-03-18 15:37:24 +10001043 }
1044}