blob: 23c0634e94d0a7a6c0f5aec1aff90cf7915fa76a [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": [
16 "crypto/fipsmodule/bcm.c"
17 ],
David Benjamin70b33d32024-03-19 17:50:16 +100018 "internal_hdrs": [
David Benjamin3a138e42024-08-29 13:41:37 -040019 "crypto/fipsmodule/aes/aes.c.inc",
20 "crypto/fipsmodule/aes/aes_nohw.c.inc",
21 "crypto/fipsmodule/aes/key_wrap.c.inc",
22 "crypto/fipsmodule/aes/mode_wrappers.c.inc",
23 "crypto/fipsmodule/bn/add.c.inc",
24 "crypto/fipsmodule/bn/asm/x86_64-gcc.c.inc",
25 "crypto/fipsmodule/bn/bn.c.inc",
26 "crypto/fipsmodule/bn/bytes.c.inc",
27 "crypto/fipsmodule/bn/cmp.c.inc",
28 "crypto/fipsmodule/bn/ctx.c.inc",
29 "crypto/fipsmodule/bn/div.c.inc",
30 "crypto/fipsmodule/bn/div_extra.c.inc",
31 "crypto/fipsmodule/bn/exponentiation.c.inc",
32 "crypto/fipsmodule/bn/gcd.c.inc",
33 "crypto/fipsmodule/bn/gcd_extra.c.inc",
34 "crypto/fipsmodule/bn/generic.c.inc",
35 "crypto/fipsmodule/bn/jacobi.c.inc",
36 "crypto/fipsmodule/bn/montgomery.c.inc",
37 "crypto/fipsmodule/bn/montgomery_inv.c.inc",
38 "crypto/fipsmodule/bn/mul.c.inc",
39 "crypto/fipsmodule/bn/prime.c.inc",
40 "crypto/fipsmodule/bn/random.c.inc",
41 "crypto/fipsmodule/bn/rsaz_exp.c.inc",
42 "crypto/fipsmodule/bn/shift.c.inc",
43 "crypto/fipsmodule/bn/sqrt.c.inc",
44 "crypto/fipsmodule/cipher/aead.c.inc",
45 "crypto/fipsmodule/cipher/cipher.c.inc",
46 "crypto/fipsmodule/cipher/e_aes.c.inc",
47 "crypto/fipsmodule/cipher/e_aesccm.c.inc",
48 "crypto/fipsmodule/cmac/cmac.c.inc",
49 "crypto/fipsmodule/dh/check.c.inc",
50 "crypto/fipsmodule/dh/dh.c.inc",
51 "crypto/fipsmodule/digest/digest.c.inc",
52 "crypto/fipsmodule/digest/digests.c.inc",
53 "crypto/fipsmodule/digestsign/digestsign.c.inc",
54 "crypto/fipsmodule/ec/ec.c.inc",
55 "crypto/fipsmodule/ec/ec_key.c.inc",
56 "crypto/fipsmodule/ec/ec_montgomery.c.inc",
57 "crypto/fipsmodule/ec/felem.c.inc",
58 "crypto/fipsmodule/ec/oct.c.inc",
59 "crypto/fipsmodule/ec/p224-64.c.inc",
60 "crypto/fipsmodule/ec/p256-nistz.c.inc",
61 "crypto/fipsmodule/ec/p256.c.inc",
62 "crypto/fipsmodule/ec/scalar.c.inc",
63 "crypto/fipsmodule/ec/simple.c.inc",
64 "crypto/fipsmodule/ec/simple_mul.c.inc",
65 "crypto/fipsmodule/ec/util.c.inc",
66 "crypto/fipsmodule/ec/wnaf.c.inc",
67 "crypto/fipsmodule/ecdh/ecdh.c.inc",
68 "crypto/fipsmodule/ecdsa/ecdsa.c.inc",
69 "crypto/fipsmodule/hkdf/hkdf.c.inc",
70 "crypto/fipsmodule/hmac/hmac.c.inc",
David Benjamin3a138e42024-08-29 13:41:37 -040071 "crypto/fipsmodule/modes/cbc.c.inc",
72 "crypto/fipsmodule/modes/cfb.c.inc",
73 "crypto/fipsmodule/modes/ctr.c.inc",
74 "crypto/fipsmodule/modes/gcm.c.inc",
75 "crypto/fipsmodule/modes/gcm_nohw.c.inc",
76 "crypto/fipsmodule/modes/ofb.c.inc",
77 "crypto/fipsmodule/modes/polyval.c.inc",
78 "crypto/fipsmodule/rand/ctrdrbg.c.inc",
79 "crypto/fipsmodule/rand/rand.c.inc",
80 "crypto/fipsmodule/rsa/blinding.c.inc",
81 "crypto/fipsmodule/rsa/padding.c.inc",
82 "crypto/fipsmodule/rsa/rsa.c.inc",
83 "crypto/fipsmodule/rsa/rsa_impl.c.inc",
84 "crypto/fipsmodule/self_check/fips.c.inc",
85 "crypto/fipsmodule/self_check/self_check.c.inc",
86 "crypto/fipsmodule/service_indicator/service_indicator.c.inc",
87 "crypto/fipsmodule/sha/sha1.c.inc",
88 "crypto/fipsmodule/sha/sha256.c.inc",
89 "crypto/fipsmodule/sha/sha512.c.inc",
90 "crypto/fipsmodule/tls/kdf.c.inc"
David Benjamin70b33d32024-03-19 17:50:16 +100091 ],
David Benjamin2fb5f9c2024-05-16 15:27:36 -040092 "asm": [
93 "third_party/fiat/asm/fiat_p256_adx_mul.S",
94 "third_party/fiat/asm/fiat_p256_adx_sqr.S"
95 ],
David Benjaminfe0c91e2024-03-18 15:37:24 +100096 "perlasm_aarch64": [
97 {"src": "crypto/fipsmodule/aes/asm/aesv8-armx.pl", "dst": "aesv8-armv8"},
98 {"src": "crypto/fipsmodule/modes/asm/aesv8-gcm-armv8.pl"},
99 {"src": "crypto/fipsmodule/bn/asm/armv8-mont.pl"},
100 {"src": "crypto/fipsmodule/bn/asm/bn-armv8.pl"},
101 {"src": "crypto/fipsmodule/modes/asm/ghash-neon-armv8.pl"},
102 {"src": "crypto/fipsmodule/modes/asm/ghashv8-armx.pl", "dst": "ghashv8-armv8"},
103 {"src": "crypto/fipsmodule/ec/asm/p256_beeu-armv8-asm.pl"},
104 {"src": "crypto/fipsmodule/ec/asm/p256-armv8-asm.pl"},
105 {"src": "crypto/fipsmodule/sha/asm/sha1-armv8.pl"},
106 {"src": "crypto/fipsmodule/sha/asm/sha512-armv8.pl", "args": ["sha256"], "dst": "sha256-armv8"},
107 {"src": "crypto/fipsmodule/sha/asm/sha512-armv8.pl", "args": ["sha512"]},
108 {"src": "crypto/fipsmodule/aes/asm/vpaes-armv8.pl"}
109 ],
110 "perlasm_arm": [
111 {"src": "crypto/fipsmodule/aes/asm/aesv8-armx.pl", "dst": "aesv8-armv7"},
112 {"src": "crypto/fipsmodule/bn/asm/armv4-mont.pl"},
113 {"src": "crypto/fipsmodule/aes/asm/bsaes-armv7.pl"},
114 {"src": "crypto/fipsmodule/modes/asm/ghash-armv4.pl"},
115 {"src": "crypto/fipsmodule/modes/asm/ghashv8-armx.pl", "dst": "ghashv8-armv7"},
116 {"src": "crypto/fipsmodule/sha/asm/sha1-armv4-large.pl"},
117 {"src": "crypto/fipsmodule/sha/asm/sha256-armv4.pl"},
118 {"src": "crypto/fipsmodule/sha/asm/sha512-armv4.pl"},
119 {"src": "crypto/fipsmodule/aes/asm/vpaes-armv7.pl"}
120 ],
121 "perlasm_x86": [
122 {"src": "crypto/fipsmodule/aes/asm/aesni-x86.pl"},
123 {"src": "crypto/fipsmodule/bn/asm/bn-586.pl"},
124 {"src": "crypto/fipsmodule/bn/asm/co-586.pl"},
125 {"src": "crypto/fipsmodule/modes/asm/ghash-ssse3-x86.pl"},
126 {"src": "crypto/fipsmodule/modes/asm/ghash-x86.pl"},
David Benjaminfe0c91e2024-03-18 15:37:24 +1000127 {"src": "crypto/fipsmodule/sha/asm/sha1-586.pl"},
128 {"src": "crypto/fipsmodule/sha/asm/sha256-586.pl"},
129 {"src": "crypto/fipsmodule/sha/asm/sha512-586.pl"},
130 {"src": "crypto/fipsmodule/aes/asm/vpaes-x86.pl"},
131 {"src": "crypto/fipsmodule/bn/asm/x86-mont.pl"}
132 ],
133 "perlasm_x86_64": [
134 {"src": "crypto/fipsmodule/modes/asm/aesni-gcm-x86_64.pl"},
135 {"src": "crypto/fipsmodule/aes/asm/aesni-x86_64.pl"},
136 {"src": "crypto/fipsmodule/modes/asm/ghash-ssse3-x86_64.pl"},
137 {"src": "crypto/fipsmodule/modes/asm/ghash-x86_64.pl"},
David Benjaminfe0c91e2024-03-18 15:37:24 +1000138 {"src": "crypto/fipsmodule/ec/asm/p256_beeu-x86_64-asm.pl"},
139 {"src": "crypto/fipsmodule/ec/asm/p256-x86_64-asm.pl"},
140 {"src": "crypto/fipsmodule/rand/asm/rdrand-x86_64.pl"},
141 {"src": "crypto/fipsmodule/bn/asm/rsaz-avx2.pl"},
142 {"src": "crypto/fipsmodule/sha/asm/sha1-x86_64.pl"},
143 {"src": "crypto/fipsmodule/sha/asm/sha512-x86_64.pl", "args": ["sha256"], "dst": "sha256-x86_64"},
144 {"src": "crypto/fipsmodule/sha/asm/sha512-x86_64.pl", "args": ["sha512"]},
145 {"src": "crypto/fipsmodule/aes/asm/vpaes-x86_64.pl"},
146 {"src": "crypto/fipsmodule/bn/asm/x86_64-mont.pl"},
147 {"src": "crypto/fipsmodule/bn/asm/x86_64-mont5.pl"}
148 ]
149 },
150 "crypto": {
David Benjamincb2f3e82024-03-18 23:17:59 +1000151 "srcs": [
152 "crypto/asn1/a_bitstr.c",
153 "crypto/asn1/a_bool.c",
154 "crypto/asn1/a_d2i_fp.c",
155 "crypto/asn1/a_dup.c",
156 "crypto/asn1/a_gentm.c",
157 "crypto/asn1/a_i2d_fp.c",
158 "crypto/asn1/a_int.c",
159 "crypto/asn1/a_mbstr.c",
160 "crypto/asn1/a_object.c",
161 "crypto/asn1/a_octet.c",
162 "crypto/asn1/a_strex.c",
163 "crypto/asn1/a_strnid.c",
164 "crypto/asn1/a_time.c",
165 "crypto/asn1/a_type.c",
166 "crypto/asn1/a_utctm.c",
167 "crypto/asn1/asn1_lib.c",
168 "crypto/asn1/asn1_par.c",
169 "crypto/asn1/asn_pack.c",
170 "crypto/asn1/f_int.c",
171 "crypto/asn1/f_string.c",
Adam Langleyfe17d192024-07-30 11:30:02 -0700172 "crypto/asn1/posix_time.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000173 "crypto/asn1/tasn_dec.c",
174 "crypto/asn1/tasn_enc.c",
175 "crypto/asn1/tasn_fre.c",
176 "crypto/asn1/tasn_new.c",
177 "crypto/asn1/tasn_typ.c",
178 "crypto/asn1/tasn_utl.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000179 "crypto/base64/base64.c",
180 "crypto/bio/bio.c",
181 "crypto/bio/bio_mem.c",
182 "crypto/bio/connect.c",
183 "crypto/bio/errno.c",
184 "crypto/bio/fd.c",
185 "crypto/bio/file.c",
186 "crypto/bio/hexdump.c",
187 "crypto/bio/pair.c",
188 "crypto/bio/printf.c",
189 "crypto/bio/socket.c",
190 "crypto/bio/socket_helper.c",
191 "crypto/blake2/blake2.c",
192 "crypto/bn_extra/bn_asn1.c",
193 "crypto/bn_extra/convert.c",
194 "crypto/buf/buf.c",
195 "crypto/bytestring/asn1_compat.c",
196 "crypto/bytestring/ber.c",
197 "crypto/bytestring/cbb.c",
198 "crypto/bytestring/cbs.c",
199 "crypto/bytestring/unicode.c",
200 "crypto/chacha/chacha.c",
201 "crypto/cipher_extra/cipher_extra.c",
202 "crypto/cipher_extra/derive_key.c",
203 "crypto/cipher_extra/e_aesctrhmac.c",
204 "crypto/cipher_extra/e_aesgcmsiv.c",
205 "crypto/cipher_extra/e_chacha20poly1305.c",
206 "crypto/cipher_extra/e_des.c",
207 "crypto/cipher_extra/e_null.c",
208 "crypto/cipher_extra/e_rc2.c",
209 "crypto/cipher_extra/e_rc4.c",
210 "crypto/cipher_extra/e_tls.c",
211 "crypto/cipher_extra/tls_cbc.c",
212 "crypto/conf/conf.c",
213 "crypto/cpu_aarch64_apple.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000214 "crypto/cpu_aarch64_fuchsia.c",
215 "crypto/cpu_aarch64_linux.c",
Adam Langleyfe17d192024-07-30 11:30:02 -0700216 "crypto/cpu_aarch64_openbsd.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000217 "crypto/cpu_aarch64_sysreg.c",
218 "crypto/cpu_aarch64_win.c",
219 "crypto/cpu_arm_freebsd.c",
220 "crypto/cpu_arm_linux.c",
221 "crypto/cpu_intel.c",
222 "crypto/crypto.c",
223 "crypto/curve25519/curve25519.c",
224 "crypto/curve25519/curve25519_64_adx.c",
225 "crypto/curve25519/spake25519.c",
226 "crypto/des/des.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000227 "crypto/dh_extra/dh_asn1.c",
Adam Langleyfe17d192024-07-30 11:30:02 -0700228 "crypto/dh_extra/params.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000229 "crypto/digest_extra/digest_extra.c",
Bob Beck7c44f452024-03-12 20:16:18 +0000230 "crypto/dilithium/dilithium.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000231 "crypto/dsa/dsa.c",
232 "crypto/dsa/dsa_asn1.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000233 "crypto/ec_extra/ec_asn1.c",
234 "crypto/ec_extra/ec_derive.c",
235 "crypto/ec_extra/hash_to_curve.c",
Adam Langleyfe17d192024-07-30 11:30:02 -0700236 "crypto/ecdh_extra/ecdh_extra.c",
237 "crypto/ecdsa_extra/ecdsa_asn1.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000238 "crypto/engine/engine.c",
Adam Langleyfe17d192024-07-30 11:30:02 -0700239 "crypto/err/err.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000240 "crypto/evp/evp.c",
241 "crypto/evp/evp_asn1.c",
242 "crypto/evp/evp_ctx.c",
243 "crypto/evp/p_dh.c",
244 "crypto/evp/p_dh_asn1.c",
245 "crypto/evp/p_dsa_asn1.c",
246 "crypto/evp/p_ec.c",
247 "crypto/evp/p_ec_asn1.c",
248 "crypto/evp/p_ed25519.c",
249 "crypto/evp/p_ed25519_asn1.c",
250 "crypto/evp/p_hkdf.c",
251 "crypto/evp/p_rsa.c",
252 "crypto/evp/p_rsa_asn1.c",
253 "crypto/evp/p_x25519.c",
254 "crypto/evp/p_x25519_asn1.c",
255 "crypto/evp/pbkdf.c",
256 "crypto/evp/print.c",
257 "crypto/evp/scrypt.c",
258 "crypto/evp/sign.c",
259 "crypto/ex_data.c",
260 "crypto/fipsmodule/fips_shared_support.c",
261 "crypto/hpke/hpke.c",
262 "crypto/hrss/hrss.c",
263 "crypto/keccak/keccak.c",
264 "crypto/kyber/kyber.c",
265 "crypto/lhash/lhash.c",
Bob Beck70a73872024-08-28 23:07:04 +0000266 "crypto/md4/md4.c",
Bob Beck25959432024-08-28 23:50:02 +0000267 "crypto/md5/md5.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000268 "crypto/mem.c",
Adam Langley0ba20012024-08-01 12:43:39 -0700269 "crypto/mldsa/mldsa.c",
Adam Langley500fa1f2024-07-30 11:26:14 -0700270 "crypto/mlkem/mlkem.cc",
David Benjamincb2f3e82024-03-18 23:17:59 +1000271 "crypto/obj/obj.c",
272 "crypto/obj/obj_xref.c",
273 "crypto/pem/pem_all.c",
274 "crypto/pem/pem_info.c",
275 "crypto/pem/pem_lib.c",
276 "crypto/pem/pem_oth.c",
277 "crypto/pem/pem_pk8.c",
278 "crypto/pem/pem_pkey.c",
279 "crypto/pem/pem_x509.c",
280 "crypto/pem/pem_xaux.c",
281 "crypto/pkcs7/pkcs7.c",
282 "crypto/pkcs7/pkcs7_x509.c",
Adam Langleyfe17d192024-07-30 11:30:02 -0700283 "crypto/pkcs8/p5_pbev2.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000284 "crypto/pkcs8/pkcs8.c",
285 "crypto/pkcs8/pkcs8_x509.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000286 "crypto/poly1305/poly1305.c",
287 "crypto/poly1305/poly1305_arm.c",
288 "crypto/poly1305/poly1305_vec.c",
289 "crypto/pool/pool.c",
290 "crypto/rand_extra/deterministic.c",
Bob Beckee79a932024-05-31 21:37:00 +0000291 "crypto/rand_extra/fork_detect.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000292 "crypto/rand_extra/forkunsafe.c",
293 "crypto/rand_extra/getentropy.c",
294 "crypto/rand_extra/ios.c",
295 "crypto/rand_extra/passive.c",
296 "crypto/rand_extra/rand_extra.c",
297 "crypto/rand_extra/trusty.c",
Bob Beckec09a2d2024-04-29 23:15:36 +0000298 "crypto/rand_extra/urandom.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000299 "crypto/rand_extra/windows.c",
300 "crypto/rc4/rc4.c",
301 "crypto/refcount.c",
302 "crypto/rsa_extra/rsa_asn1.c",
303 "crypto/rsa_extra/rsa_crypt.c",
304 "crypto/rsa_extra/rsa_print.c",
Bob Beck229801d2024-08-26 21:14:35 +0000305 "crypto/sha/sha1.c",
Adam Langleyfe17d192024-07-30 11:30:02 -0700306 "crypto/siphash/siphash.c",
Adam Langley642e8e52024-09-04 14:17:26 -0700307 "crypto/slhdsa/fors.c",
308 "crypto/slhdsa/merkle.c",
309 "crypto/slhdsa/slhdsa.c",
310 "crypto/slhdsa/thash.c",
311 "crypto/slhdsa/wots.c",
Adam Langley97322b22024-09-04 14:46:54 -0700312 "crypto/spx/spx_address.c",
313 "crypto/spx/spx_fors.c",
314 "crypto/spx/spx_merkle.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000315 "crypto/spx/spx.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000316 "crypto/spx/spx_util.c",
Adam Langley97322b22024-09-04 14:46:54 -0700317 "crypto/spx/spx_thash.c",
318 "crypto/spx/spx_wots.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000319 "crypto/stack/stack.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000320 "crypto/thread.c",
321 "crypto/thread_none.c",
322 "crypto/thread_pthread.c",
323 "crypto/thread_win.c",
324 "crypto/trust_token/pmbtoken.c",
325 "crypto/trust_token/trust_token.c",
326 "crypto/trust_token/voprf.c",
327 "crypto/x509/a_digest.c",
328 "crypto/x509/a_sign.c",
329 "crypto/x509/a_verify.c",
330 "crypto/x509/algorithm.c",
331 "crypto/x509/asn1_gen.c",
332 "crypto/x509/by_dir.c",
333 "crypto/x509/by_file.c",
334 "crypto/x509/i2d_pr.c",
335 "crypto/x509/name_print.c",
336 "crypto/x509/policy.c",
337 "crypto/x509/rsa_pss.c",
338 "crypto/x509/t_crl.c",
339 "crypto/x509/t_req.c",
340 "crypto/x509/t_x509.c",
341 "crypto/x509/t_x509a.c",
342 "crypto/x509/v3_akey.c",
343 "crypto/x509/v3_akeya.c",
344 "crypto/x509/v3_alt.c",
345 "crypto/x509/v3_bcons.c",
346 "crypto/x509/v3_bitst.c",
347 "crypto/x509/v3_conf.c",
348 "crypto/x509/v3_cpols.c",
349 "crypto/x509/v3_crld.c",
350 "crypto/x509/v3_enum.c",
351 "crypto/x509/v3_extku.c",
352 "crypto/x509/v3_genn.c",
353 "crypto/x509/v3_ia5.c",
354 "crypto/x509/v3_info.c",
355 "crypto/x509/v3_int.c",
356 "crypto/x509/v3_lib.c",
357 "crypto/x509/v3_ncons.c",
358 "crypto/x509/v3_ocsp.c",
359 "crypto/x509/v3_pcons.c",
360 "crypto/x509/v3_pmaps.c",
361 "crypto/x509/v3_prn.c",
362 "crypto/x509/v3_purp.c",
363 "crypto/x509/v3_skey.c",
364 "crypto/x509/v3_utl.c",
Adam Langleyfe17d192024-07-30 11:30:02 -0700365 "crypto/x509/x509.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000366 "crypto/x509/x509_att.c",
367 "crypto/x509/x509_cmp.c",
368 "crypto/x509/x509_d2.c",
369 "crypto/x509/x509_def.c",
370 "crypto/x509/x509_ext.c",
371 "crypto/x509/x509_lu.c",
372 "crypto/x509/x509_obj.c",
373 "crypto/x509/x509_req.c",
374 "crypto/x509/x509_set.c",
375 "crypto/x509/x509_trs.c",
376 "crypto/x509/x509_txt.c",
377 "crypto/x509/x509_v3.c",
378 "crypto/x509/x509_vfy.c",
379 "crypto/x509/x509_vpm.c",
David Benjamincb2f3e82024-03-18 23:17:59 +1000380 "crypto/x509/x509cset.c",
381 "crypto/x509/x509name.c",
382 "crypto/x509/x509rset.c",
Adam Langleyfe17d192024-07-30 11:30:02 -0700383 "crypto/x509/x509spki.c",
384 "crypto/x509/x_algor.c",
385 "crypto/x509/x_all.c",
386 "crypto/x509/x_attrib.c",
387 "crypto/x509/x_crl.c",
388 "crypto/x509/x_exten.c",
389 "crypto/x509/x_name.c",
390 "crypto/x509/x_pubkey.c",
391 "crypto/x509/x_req.c",
392 "crypto/x509/x_sig.c",
393 "crypto/x509/x_spki.c",
394 "crypto/x509/x_val.c",
395 "crypto/x509/x_x509.c",
396 "crypto/x509/x_x509a.c"
David Benjamincb2f3e82024-03-18 23:17:59 +1000397 ],
David Benjamin49b92bc2024-03-18 23:36:59 +1000398 "hdrs": [
399 "include/openssl/aead.h",
400 "include/openssl/aes.h",
401 "include/openssl/arm_arch.h",
402 "include/openssl/asm_base.h",
403 "include/openssl/asn1.h",
404 "include/openssl/asn1_mac.h",
405 "include/openssl/asn1t.h",
406 "include/openssl/base.h",
407 "include/openssl/base64.h",
Bob Beck229801d2024-08-26 21:14:35 +0000408 "include/openssl/bcm_public.h",
David Benjamin49b92bc2024-03-18 23:36:59 +1000409 "include/openssl/bio.h",
410 "include/openssl/blake2.h",
411 "include/openssl/blowfish.h",
412 "include/openssl/bn.h",
413 "include/openssl/buf.h",
414 "include/openssl/buffer.h",
415 "include/openssl/bytestring.h",
416 "include/openssl/cast.h",
417 "include/openssl/chacha.h",
418 "include/openssl/cipher.h",
419 "include/openssl/cmac.h",
420 "include/openssl/conf.h",
421 "include/openssl/cpu.h",
422 "include/openssl/crypto.h",
423 "include/openssl/ctrdrbg.h",
424 "include/openssl/curve25519.h",
425 "include/openssl/des.h",
426 "include/openssl/dh.h",
427 "include/openssl/digest.h",
428 "include/openssl/dsa.h",
429 "include/openssl/e_os2.h",
430 "include/openssl/ec.h",
431 "include/openssl/ec_key.h",
432 "include/openssl/ecdh.h",
433 "include/openssl/ecdsa.h",
434 "include/openssl/engine.h",
435 "include/openssl/err.h",
436 "include/openssl/evp.h",
437 "include/openssl/evp_errors.h",
438 "include/openssl/ex_data.h",
Bob Beck7c44f452024-03-12 20:16:18 +0000439 "include/openssl/experimental/dilithium.h",
David Benjamin49b92bc2024-03-18 23:36:59 +1000440 "include/openssl/experimental/kyber.h",
441 "include/openssl/experimental/spx.h",
442 "include/openssl/hkdf.h",
443 "include/openssl/hmac.h",
444 "include/openssl/hpke.h",
445 "include/openssl/hrss.h",
446 "include/openssl/is_boringssl.h",
447 "include/openssl/kdf.h",
448 "include/openssl/lhash.h",
449 "include/openssl/md4.h",
450 "include/openssl/md5.h",
451 "include/openssl/mem.h",
Adam Langley0ba20012024-08-01 12:43:39 -0700452 "include/openssl/mldsa.h",
Adam Langley500fa1f2024-07-30 11:26:14 -0700453 "include/openssl/mlkem.h",
David Benjamin49b92bc2024-03-18 23:36:59 +1000454 "include/openssl/nid.h",
455 "include/openssl/obj.h",
456 "include/openssl/obj_mac.h",
457 "include/openssl/objects.h",
458 "include/openssl/opensslconf.h",
459 "include/openssl/opensslv.h",
460 "include/openssl/ossl_typ.h",
461 "include/openssl/pem.h",
462 "include/openssl/pkcs12.h",
463 "include/openssl/pkcs7.h",
464 "include/openssl/pkcs8.h",
465 "include/openssl/poly1305.h",
466 "include/openssl/pool.h",
467 "include/openssl/posix_time.h",
468 "include/openssl/rand.h",
469 "include/openssl/rc4.h",
470 "include/openssl/ripemd.h",
471 "include/openssl/rsa.h",
472 "include/openssl/safestack.h",
473 "include/openssl/service_indicator.h",
474 "include/openssl/sha.h",
475 "include/openssl/siphash.h",
Adam Langley642e8e52024-09-04 14:17:26 -0700476 "include/openssl/slhdsa.h",
David Benjamin49b92bc2024-03-18 23:36:59 +1000477 "include/openssl/span.h",
478 "include/openssl/stack.h",
479 "include/openssl/target.h",
480 "include/openssl/thread.h",
481 "include/openssl/time.h",
482 "include/openssl/trust_token.h",
483 "include/openssl/type_check.h",
484 "include/openssl/x509.h",
485 "include/openssl/x509_vfy.h",
486 "include/openssl/x509v3.h",
487 "include/openssl/x509v3_errors.h"
488 ],
David Benjaminfebb4402024-03-19 16:52:15 +1000489 "internal_hdrs": [
490 "crypto/asn1/internal.h",
491 "crypto/bio/internal.h",
492 "crypto/bytestring/internal.h",
493 "crypto/chacha/internal.h",
494 "crypto/cipher_extra/internal.h",
David Benjaminfebb4402024-03-19 16:52:15 +1000495 "crypto/conf/internal.h",
496 "crypto/cpu_arm_linux.h",
497 "crypto/curve25519/curve25519_tables.h",
498 "crypto/curve25519/internal.h",
499 "crypto/des/internal.h",
Bob Beck7c44f452024-03-12 20:16:18 +0000500 "crypto/dilithium/internal.h",
David Benjaminfebb4402024-03-19 16:52:15 +1000501 "crypto/dsa/internal.h",
502 "crypto/ec_extra/internal.h",
503 "crypto/err/internal.h",
504 "crypto/evp/internal.h",
David Benjamind2638492024-08-29 13:42:18 -0400505 "crypto/fipsmodule/aes/internal.h",
Bob Beckec09a2d2024-04-29 23:15:36 +0000506 "crypto/fipsmodule/bcm_interface.h",
David Benjaminfebb4402024-03-19 16:52:15 +1000507 "crypto/fipsmodule/bn/internal.h",
508 "crypto/fipsmodule/bn/rsaz_exp.h",
509 "crypto/fipsmodule/cipher/internal.h",
510 "crypto/fipsmodule/delocate.h",
511 "crypto/fipsmodule/dh/internal.h",
512 "crypto/fipsmodule/digest/internal.h",
513 "crypto/fipsmodule/digest/md32_common.h",
514 "crypto/fipsmodule/ec/builtin_curves.h",
515 "crypto/fipsmodule/ec/internal.h",
516 "crypto/fipsmodule/ec/p256-nistz-table.h",
517 "crypto/fipsmodule/ec/p256-nistz.h",
518 "crypto/fipsmodule/ec/p256_table.h",
519 "crypto/fipsmodule/ecdsa/internal.h",
David Benjaminfebb4402024-03-19 16:52:15 +1000520 "crypto/fipsmodule/modes/internal.h",
David Benjaminfebb4402024-03-19 16:52:15 +1000521 "crypto/fipsmodule/rand/internal.h",
522 "crypto/fipsmodule/rsa/internal.h",
523 "crypto/fipsmodule/service_indicator/internal.h",
524 "crypto/fipsmodule/sha/internal.h",
525 "crypto/fipsmodule/tls/internal.h",
526 "crypto/hrss/internal.h",
Bob Beckec09a2d2024-04-29 23:15:36 +0000527 "crypto/bcm_support.h",
David Benjaminfebb4402024-03-19 16:52:15 +1000528 "crypto/internal.h",
529 "crypto/keccak/internal.h",
530 "crypto/kyber/internal.h",
531 "crypto/lhash/internal.h",
Bob Beck25959432024-08-28 23:50:02 +0000532 "crypto/md5/internal.h",
Adam Langley0ba20012024-08-01 12:43:39 -0700533 "crypto/mldsa/internal.h",
Adam Langley500fa1f2024-07-30 11:26:14 -0700534 "crypto/mlkem/internal.h",
David Benjaminfebb4402024-03-19 16:52:15 +1000535 "crypto/obj/obj_dat.h",
536 "crypto/pkcs7/internal.h",
537 "crypto/pkcs8/internal.h",
538 "crypto/poly1305/internal.h",
539 "crypto/pool/internal.h",
Bob Beckec09a2d2024-04-29 23:15:36 +0000540 "crypto/rand_extra/getrandom_fillin.h",
541 "crypto/rand_extra/sysrand_internal.h",
David Benjaminfebb4402024-03-19 16:52:15 +1000542 "crypto/rsa_extra/internal.h",
Adam Langley642e8e52024-09-04 14:17:26 -0700543 "crypto/slhdsa/address.h",
544 "crypto/slhdsa/fors.h",
545 "crypto/slhdsa/internal.h",
546 "crypto/slhdsa/merkle.h",
547 "crypto/slhdsa/params.h",
548 "crypto/slhdsa/thash.h",
549 "crypto/slhdsa/wots.h",
Adam Langley97322b22024-09-04 14:46:54 -0700550 "crypto/spx/spx_address.h",
551 "crypto/spx/spx_fors.h",
552 "crypto/spx/spx_merkle.h",
553 "crypto/spx/spx_params.h",
554 "crypto/spx/spx_thash.h",
David Benjaminfebb4402024-03-19 16:52:15 +1000555 "crypto/spx/spx_util.h",
Adam Langley97322b22024-09-04 14:46:54 -0700556 "crypto/spx/spx_wots.h",
David Benjaminfebb4402024-03-19 16:52:15 +1000557 "crypto/trust_token/internal.h",
558 "crypto/x509/ext_dat.h",
559 "crypto/x509/internal.h",
560 "third_party/fiat/curve25519_32.h",
561 "third_party/fiat/curve25519_64.h",
562 "third_party/fiat/curve25519_64_adx.h",
563 "third_party/fiat/curve25519_64_msvc.h",
564 "third_party/fiat/p256_32.h",
565 "third_party/fiat/p256_64.h",
566 "third_party/fiat/p256_64_msvc.h"
567 ],
David Benjaminfe0c91e2024-03-18 15:37:24 +1000568 "err_data": [
David Benjamin115deb32024-03-18 18:08:57 +1000569 "crypto/err/*.errordata"
David Benjaminfe0c91e2024-03-18 15:37:24 +1000570 ],
571 "asm": [
572 "crypto/curve25519/asm/x25519-asm-arm.S",
573 "crypto/hrss/asm/poly_rq_mul.S",
574 "crypto/poly1305/poly1305_arm_asm.S",
575 "third_party/fiat/asm/fiat_curve25519_adx_mul.S",
David Benjamin2fb5f9c2024-05-16 15:27:36 -0400576 "third_party/fiat/asm/fiat_curve25519_adx_square.S"
David Benjaminfe0c91e2024-03-18 15:37:24 +1000577 ],
578 "perlasm_aarch64": [
579 {"src": "crypto/chacha/asm/chacha-armv8.pl"},
580 {"src": "crypto/cipher_extra/asm/chacha20_poly1305_armv8.pl"}
581 ],
582 "perlasm_arm": [
583 {"src": "crypto/chacha/asm/chacha-armv4.pl"}
584 ],
585 "perlasm_x86": [
Bob Beck25959432024-08-28 23:50:02 +0000586 {"src": "crypto/chacha/asm/chacha-x86.pl"},
587 {"src": "crypto/md5/asm/md5-586.pl"}
David Benjaminfe0c91e2024-03-18 15:37:24 +1000588 ],
589 "perlasm_x86_64": [
590 {"src": "crypto/chacha/asm/chacha-x86_64.pl"},
591 {"src": "crypto/cipher_extra/asm/aes128gcmsiv-x86_64.pl"},
Bob Beck25959432024-08-28 23:50:02 +0000592 {"src": "crypto/cipher_extra/asm/chacha20_poly1305_x86_64.pl"},
593 {"src": "crypto/md5/asm/md5-x86_64.pl"}
David Benjaminfe0c91e2024-03-18 15:37:24 +1000594 ]
595 },
David Benjamin231510c2024-03-18 22:39:15 +1000596 "pki": {
597 "srcs": [
598 "pki/cert_error_id.cc",
599 "pki/cert_error_params.cc",
600 "pki/cert_errors.cc",
601 "pki/cert_issuer_source_static.cc",
602 "pki/certificate.cc",
603 "pki/certificate_policies.cc",
604 "pki/common_cert_errors.cc",
605 "pki/crl.cc",
606 "pki/encode_values.cc",
607 "pki/extended_key_usage.cc",
608 "pki/general_names.cc",
609 "pki/input.cc",
610 "pki/ip_util.cc",
611 "pki/name_constraints.cc",
612 "pki/ocsp.cc",
613 "pki/ocsp_verify_result.cc",
614 "pki/parse_certificate.cc",
615 "pki/parse_name.cc",
616 "pki/parse_values.cc",
617 "pki/parsed_certificate.cc",
618 "pki/parser.cc",
619 "pki/path_builder.cc",
620 "pki/pem.cc",
621 "pki/revocation_util.cc",
622 "pki/signature_algorithm.cc",
623 "pki/simple_path_builder_delegate.cc",
624 "pki/string_util.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700625 "pki/trust_store.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000626 "pki/trust_store_collection.cc",
627 "pki/trust_store_in_memory.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700628 "pki/verify.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000629 "pki/verify_certificate_chain.cc",
630 "pki/verify_error.cc",
631 "pki/verify_name_match.cc",
632 "pki/verify_signed_data.cc"
David Benjamin49b92bc2024-03-18 23:36:59 +1000633 ],
634 "hdrs": [
635 "include/openssl/pki/certificate.h",
David Benjaminb2966322024-03-29 19:02:18 -0400636 "include/openssl/pki/signature_verify_cache.h",
David Benjamin3a01cba2024-05-15 17:00:42 -0400637 "include/openssl/pki/verify.h",
David Benjaminb2966322024-03-29 19:02:18 -0400638 "include/openssl/pki/verify_error.h"
David Benjaminfebb4402024-03-19 16:52:15 +1000639 ],
640 "internal_hdrs": [
641 "pki/cert_error_id.h",
642 "pki/cert_error_params.h",
643 "pki/cert_errors.h",
644 "pki/cert_issuer_source.h",
645 "pki/cert_issuer_source_static.h",
646 // TODO(crbug.com/boringssl/542): This should be in pki_tests.
647 "pki/cert_issuer_source_sync_unittest.h",
648 "pki/certificate_policies.h",
649 "pki/common_cert_errors.h",
650 "pki/crl.h",
651 "pki/encode_values.h",
652 "pki/extended_key_usage.h",
653 "pki/general_names.h",
654 "pki/input.h",
655 "pki/ip_util.h",
656 "pki/mock_signature_verify_cache.h",
657 "pki/name_constraints.h",
658 "pki/nist_pkits_unittest.h",
659 "pki/ocsp.h",
660 "pki/ocsp_revocation_status.h",
661 "pki/ocsp_verify_result.h",
662 "pki/parse_certificate.h",
663 "pki/parse_name.h",
664 "pki/parse_values.h",
665 "pki/parsed_certificate.h",
666 "pki/parser.h",
667 "pki/path_builder.h",
668 "pki/pem.h",
669 "pki/revocation_util.h",
670 "pki/signature_algorithm.h",
671 "pki/simple_path_builder_delegate.h",
672 "pki/string_util.h",
673 // TODO(crbug.com/boringssl/542): This should be in pki_tests.
674 "pki/test_helpers.h",
675 // TODO(crbug.com/boringssl/542): This should be in pki_tests.
676 "pki/testdata/nist-pkits/pkits_testcases-inl.h",
677 "pki/trust_store.h",
678 "pki/trust_store_collection.h",
679 "pki/trust_store_in_memory.h",
680 "pki/verify_certificate_chain.h",
681 // TODO(crbug.com/boringssl/542): This should be in pki_tests.
682 "pki/verify_certificate_chain_typed_unittest.h",
683 "pki/verify_name_match.h",
684 "pki/verify_signed_data.h"
David Benjamin231510c2024-03-18 22:39:15 +1000685 ]
686 },
687 "ssl": {
688 "srcs": [
689 "ssl/bio_ssl.cc",
690 "ssl/d1_both.cc",
691 "ssl/d1_lib.cc",
692 "ssl/d1_pkt.cc",
693 "ssl/d1_srtp.cc",
694 "ssl/dtls_method.cc",
695 "ssl/dtls_record.cc",
696 "ssl/encrypted_client_hello.cc",
697 "ssl/extensions.cc",
698 "ssl/handoff.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700699 "ssl/handshake.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000700 "ssl/handshake_client.cc",
701 "ssl/handshake_server.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000702 "ssl/s3_both.cc",
703 "ssl/s3_lib.cc",
704 "ssl/s3_pkt.cc",
705 "ssl/ssl_aead_ctx.cc",
706 "ssl/ssl_asn1.cc",
707 "ssl/ssl_buffer.cc",
708 "ssl/ssl_cert.cc",
709 "ssl/ssl_cipher.cc",
710 "ssl/ssl_credential.cc",
711 "ssl/ssl_file.cc",
712 "ssl/ssl_key_share.cc",
713 "ssl/ssl_lib.cc",
714 "ssl/ssl_privkey.cc",
715 "ssl/ssl_session.cc",
716 "ssl/ssl_stat.cc",
717 "ssl/ssl_transcript.cc",
718 "ssl/ssl_versions.cc",
719 "ssl/ssl_x509.cc",
720 "ssl/t1_enc.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000721 "ssl/tls13_both.cc",
722 "ssl/tls13_client.cc",
723 "ssl/tls13_enc.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700724 "ssl/tls13_server.cc",
725 "ssl/tls_method.cc",
726 "ssl/tls_record.cc"
David Benjamin49b92bc2024-03-18 23:36:59 +1000727 ],
728 "hdrs": [
729 "include/openssl/dtls1.h",
730 "include/openssl/srtp.h",
731 "include/openssl/ssl.h",
732 "include/openssl/ssl3.h",
733 "include/openssl/tls1.h"
David Benjaminfebb4402024-03-19 16:52:15 +1000734 ],
735 "internal_hdrs": [
736 "ssl/internal.h"
David Benjamin231510c2024-03-18 22:39:15 +1000737 ]
738 },
739 "decrepit": {
740 "srcs": [
741 "decrepit/bio/base64_bio.c",
742 "decrepit/blowfish/blowfish.c",
743 "decrepit/cast/cast.c",
744 "decrepit/cast/cast_tables.c",
745 "decrepit/cfb/cfb.c",
746 "decrepit/des/cfb64ede.c",
747 "decrepit/dh/dh_decrepit.c",
748 "decrepit/dsa/dsa_decrepit.c",
749 "decrepit/evp/dss1.c",
750 "decrepit/evp/evp_do_all.c",
751 "decrepit/obj/obj_decrepit.c",
752 "decrepit/rc4/rc4_decrepit.c",
753 "decrepit/ripemd/ripemd.c",
754 "decrepit/rsa/rsa_decrepit.c",
755 "decrepit/ssl/ssl_decrepit.c",
756 "decrepit/x509/x509_decrepit.c",
757 "decrepit/xts/xts.c"
David Benjamine2d7f2d2024-03-20 09:56:14 +1000758 ],
759 "internal_hdrs": [
760 "decrepit/cast/internal.h",
761 "decrepit/macros.h"
David Benjamin231510c2024-03-18 22:39:15 +1000762 ]
763 },
David Benjaminfe0c91e2024-03-18 15:37:24 +1000764 "test_support": {
David Benjamin231510c2024-03-18 22:39:15 +1000765 "srcs": [
766 "crypto/test/abi_test.cc",
767 "crypto/test/file_test.cc",
David Benjamin3ae23972024-03-18 22:43:46 +1000768 "crypto/test/file_test_gtest.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000769 "crypto/test/file_util.cc",
David Benjamin3ae23972024-03-18 22:43:46 +1000770 "crypto/test/test_data.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000771 "crypto/test/test_util.cc",
772 "crypto/test/wycheproof_util.cc"
773 ],
David Benjaminfebb4402024-03-19 16:52:15 +1000774 "internal_hdrs": [
775 "crypto/test/abi_test.h",
776 "crypto/test/file_test.h",
777 "crypto/test/file_util.h",
778 "crypto/test/gtest_main.h",
779 "crypto/test/test_data.h",
780 "crypto/test/test_util.h",
781 "crypto/test/wycheproof_util.h",
782 // TODO(crbug.com/boringssl/542): It's a bit odd that these are in
783 // test_support. Most of it is part of bssl_shim, except that the
784 // fuzzers use some of these headers.
785 "ssl/test/async_bio.h",
786 "ssl/test/fuzzer.h",
787 "ssl/test/fuzzer_tags.h",
788 "ssl/test/handshake_util.h",
789 "ssl/test/mock_quic_transport.h",
790 "ssl/test/packeted_bio.h",
791 "ssl/test/settings_writer.h",
792 "ssl/test/test_config.h",
793 "ssl/test/test_state.h"
794 ],
David Benjaminfe0c91e2024-03-18 15:37:24 +1000795 "perlasm_aarch64": [
796 {"src": "crypto/test/asm/trampoline-armv8.pl"}
797 ],
798 "perlasm_arm": [
799 {"src": "crypto/test/asm/trampoline-armv4.pl"}
800 ],
801 "perlasm_x86": [
802 {"src": "crypto/test/asm/trampoline-x86.pl"}
803 ],
804 "perlasm_x86_64": [
805 {"src": "crypto/test/asm/trampoline-x86_64.pl"}
806 ]
David Benjamin6cbf2c02024-03-18 22:11:06 +1000807 },
808 "crypto_test": {
David Benjamin231510c2024-03-18 22:39:15 +1000809 "srcs": [
810 "crypto/abi_self_test.cc",
811 "crypto/asn1/asn1_test.cc",
812 "crypto/base64/base64_test.cc",
813 "crypto/bio/bio_test.cc",
814 "crypto/blake2/blake2_test.cc",
815 "crypto/buf/buf_test.cc",
816 "crypto/bytestring/bytestring_test.cc",
817 "crypto/chacha/chacha_test.cc",
818 "crypto/cipher_extra/aead_test.cc",
819 "crypto/cipher_extra/cipher_test.cc",
820 "crypto/compiler_test.cc",
821 "crypto/conf/conf_test.cc",
822 "crypto/constant_time_test.cc",
823 "crypto/cpu_arm_linux_test.cc",
824 "crypto/crypto_test.cc",
825 "crypto/curve25519/ed25519_test.cc",
826 "crypto/curve25519/spake25519_test.cc",
827 "crypto/curve25519/x25519_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000828 "crypto/dh_extra/dh_test.cc",
829 "crypto/digest_extra/digest_test.cc",
Bob Beck7c44f452024-03-12 20:16:18 +0000830 "crypto/dilithium/dilithium_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000831 "crypto/dsa/dsa_test.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700832 "crypto/ecdh_extra/ecdh_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000833 "crypto/err/err_test.cc",
834 "crypto/evp/evp_extra_test.cc",
835 "crypto/evp/evp_test.cc",
836 "crypto/evp/pbkdf_test.cc",
837 "crypto/evp/scrypt_test.cc",
Bob Beck9540c042024-05-29 19:43:44 +0000838 "crypto/fipsmodule/aes/aes_test.cc",
839 "crypto/fipsmodule/bn/bn_test.cc",
840 "crypto/fipsmodule/cmac/cmac_test.cc",
841 "crypto/fipsmodule/ec/ec_test.cc",
842 "crypto/fipsmodule/ec/p256-nistz_test.cc",
843 "crypto/fipsmodule/ec/p256_test.cc",
844 "crypto/fipsmodule/ecdsa/ecdsa_test.cc",
845 "crypto/fipsmodule/hkdf/hkdf_test.cc",
Bob Beck9540c042024-05-29 19:43:44 +0000846 "crypto/fipsmodule/modes/gcm_test.cc",
847 "crypto/fipsmodule/rand/ctrdrbg_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000848 "crypto/fipsmodule/service_indicator/service_indicator_test.cc",
Bob Beck9540c042024-05-29 19:43:44 +0000849 "crypto/fipsmodule/sha/sha_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000850 "crypto/hmac_extra/hmac_test.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700851 "crypto/hpke/hpke_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000852 "crypto/hrss/hrss_test.cc",
853 "crypto/impl_dispatch_test.cc",
854 "crypto/keccak/keccak_test.cc",
855 "crypto/kyber/kyber_test.cc",
856 "crypto/lhash/lhash_test.cc",
Bob Beck25959432024-08-28 23:50:02 +0000857 "crypto/md5/md5_test.cc",
Adam Langley500fa1f2024-07-30 11:26:14 -0700858 "crypto/mlkem/mlkem_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000859 "crypto/obj/obj_test.cc",
860 "crypto/pem/pem_test.cc",
Adam Langley0ba20012024-08-01 12:43:39 -0700861 "crypto/mldsa/mldsa_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000862 "crypto/pkcs7/pkcs7_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000863 "crypto/pkcs8/pkcs12_test.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700864 "crypto/pkcs8/pkcs8_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000865 "crypto/poly1305/poly1305_test.cc",
866 "crypto/pool/pool_test.cc",
Bob Beckee79a932024-05-31 21:37:00 +0000867 "crypto/rand_extra/fork_detect_test.cc",
Bob Beck9540c042024-05-29 19:43:44 +0000868 "crypto/rand_extra/getentropy_test.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700869 "crypto/rand_extra/rand_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000870 "crypto/refcount_test.cc",
871 "crypto/rsa_extra/rsa_test.cc",
872 "crypto/self_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000873 "crypto/siphash/siphash_test.cc",
Adam Langley642e8e52024-09-04 14:17:26 -0700874 "crypto/slhdsa/slhdsa_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000875 "crypto/spx/spx_test.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700876 "crypto/stack/stack_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000877 "crypto/test/gtest_main.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700878 "crypto/thread_test.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000879 "crypto/trust_token/trust_token_test.cc",
880 "crypto/x509/tab_test.cc",
881 "crypto/x509/x509_test.cc",
882 "crypto/x509/x509_time_test.cc"
883 ],
David Benjamin6cbf2c02024-03-18 22:11:06 +1000884 "data": [
885 "crypto/blake2/blake2b256_tests.txt",
886 "crypto/cipher_extra/test/*.txt",
887 "crypto/cipher_extra/test/nist_cavp/*.txt",
888 "crypto/curve25519/ed25519_tests.txt",
Bob Beck7c44f452024-03-12 20:16:18 +0000889 "crypto/dilithium/dilithium_tests.txt",
Guillaume Endignouxd7278ce2024-02-12 15:42:20 +0000890 "crypto/dilithium/edge_cases_draft_dilithium3_sign.txt",
891 "crypto/dilithium/edge_cases_draft_dilithium3_verify.txt",
David Benjamin6cbf2c02024-03-18 22:11:06 +1000892 "crypto/ecdh_extra/ecdh_tests.txt",
893 "crypto/evp/evp_tests.txt",
894 "crypto/evp/scrypt_tests.txt",
Bob Becked3f05a2024-05-29 19:42:44 +0000895 "crypto/fipsmodule/aes/aes_tests.txt",
896 "crypto/fipsmodule/bn/test/*.txt",
897 "crypto/fipsmodule/cmac/cavp_3des_cmac_tests.txt",
898 "crypto/fipsmodule/cmac/cavp_aes128_cmac_tests.txt",
899 "crypto/fipsmodule/cmac/cavp_aes192_cmac_tests.txt",
900 "crypto/fipsmodule/cmac/cavp_aes256_cmac_tests.txt",
901 "crypto/fipsmodule/ec/ec_scalar_base_mult_tests.txt",
Bob Beck9540c042024-05-29 19:43:44 +0000902 "crypto/fipsmodule/ec/p256-nistz_tests.txt",
Bob Becked3f05a2024-05-29 19:42:44 +0000903 "crypto/fipsmodule/ecdsa/ecdsa_sign_tests.txt",
904 "crypto/fipsmodule/ecdsa/ecdsa_verify_tests.txt",
905 "crypto/fipsmodule/modes/gcm_tests.txt",
Bob Beck9540c042024-05-29 19:43:44 +0000906 "crypto/fipsmodule/rand/ctrdrbg_vectors.txt",
David Benjamin6cbf2c02024-03-18 22:11:06 +1000907 "crypto/hmac_extra/hmac_tests.txt",
908 "crypto/hpke/hpke_test_vectors.txt",
909 "crypto/keccak/keccak_tests.txt",
910 "crypto/kyber/kyber_tests.txt",
Adam Langley0ba20012024-08-01 12:43:39 -0700911 "crypto/mldsa/mldsa_nist_keygen_tests.txt",
912 "crypto/mldsa/mldsa_nist_siggen_tests.txt",
Adam Langley500fa1f2024-07-30 11:26:14 -0700913 "crypto/mlkem/mlkem1024_decap_tests.txt",
914 "crypto/mlkem/mlkem1024_encap_tests.txt",
915 "crypto/mlkem/mlkem1024_keygen_tests.txt",
916 "crypto/mlkem/mlkem1024_nist_decap_tests.txt",
917 "crypto/mlkem/mlkem1024_nist_keygen_tests.txt",
918 "crypto/mlkem/mlkem768_decap_tests.txt",
919 "crypto/mlkem/mlkem768_encap_tests.txt",
920 "crypto/mlkem/mlkem768_keygen_tests.txt",
921 "crypto/mlkem/mlkem768_nist_decap_tests.txt",
922 "crypto/mlkem/mlkem768_nist_keygen_tests.txt",
David Benjamin6cbf2c02024-03-18 22:11:06 +1000923 "crypto/pkcs8/test/*.p12",
924 "crypto/poly1305/poly1305_tests.txt",
925 "crypto/siphash/siphash_tests.txt",
Adam Langley642e8e52024-09-04 14:17:26 -0700926 "crypto/slhdsa/slhdsa_keygen.txt",
927 "crypto/slhdsa/slhdsa_siggen.txt",
928 "crypto/slhdsa/slhdsa_sigver.txt",
David Benjamin6cbf2c02024-03-18 22:11:06 +1000929 "crypto/spx/spx_tests.txt",
930 "crypto/spx/spx_tests_deterministic.txt",
931 "crypto/x509/test/*.pem",
932 "third_party/wycheproof_testvectors/*.txt"
933 ]
934 },
David Benjamin231510c2024-03-18 22:39:15 +1000935 "urandom_test": {
936 "srcs": [
Bob Beckec09a2d2024-04-29 23:15:36 +0000937 "crypto/rand_extra/urandom_test.cc"
David Benjamin231510c2024-03-18 22:39:15 +1000938 ]
939 },
David Benjamin6cbf2c02024-03-18 22:11:06 +1000940 "pki_test": {
David Benjamin231510c2024-03-18 22:39:15 +1000941 "srcs": [
942 "crypto/test/gtest_main.cc",
943 "pki/cert_issuer_source_static_unittest.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000944 "pki/certificate_policies_unittest.cc",
Adam Langleyfe17d192024-07-30 11:30:02 -0700945 "pki/certificate_unittest.cc",
David Benjamin231510c2024-03-18 22:39:15 +1000946 "pki/crl_unittest.cc",
947 "pki/encode_values_unittest.cc",
948 "pki/extended_key_usage_unittest.cc",
949 "pki/general_names_unittest.cc",
950 "pki/input_unittest.cc",
951 "pki/ip_util_unittest.cc",
952 "pki/mock_signature_verify_cache.cc",
953 "pki/name_constraints_unittest.cc",
954 "pki/nist_pkits_unittest.cc",
955 "pki/ocsp_unittest.cc",
956 "pki/parse_certificate_unittest.cc",
957 "pki/parse_name_unittest.cc",
958 "pki/parse_values_unittest.cc",
959 "pki/parsed_certificate_unittest.cc",
960 "pki/parser_unittest.cc",
961 "pki/path_builder_pkits_unittest.cc",
962 "pki/path_builder_unittest.cc",
963 "pki/path_builder_verify_certificate_chain_unittest.cc",
964 "pki/pem_unittest.cc",
965 "pki/signature_algorithm_unittest.cc",
966 "pki/simple_path_builder_delegate_unittest.cc",
967 "pki/string_util_unittest.cc",
968 "pki/test_helpers.cc",
969 "pki/trust_store_collection_unittest.cc",
970 "pki/trust_store_in_memory_unittest.cc",
971 "pki/verify_certificate_chain_pkits_unittest.cc",
972 "pki/verify_certificate_chain_unittest.cc",
973 "pki/verify_name_match_unittest.cc",
Bob Beck35a91092023-12-13 23:37:41 +0000974 "pki/verify_signed_data_unittest.cc",
975 "pki/verify_unittest.cc"
David Benjamin231510c2024-03-18 22:39:15 +1000976 ],
David Benjamin6cbf2c02024-03-18 22:11:06 +1000977 "data": [
978 "pki/testdata/cert_issuer_source_static_unittest/*.pem",
979 "pki/testdata/certificate_policies_unittest/*.pem",
980 "pki/testdata/crl_unittest/*.pem",
981 "pki/testdata/name_constraints_unittest/*.pem",
982 "pki/testdata/nist-pkits/certs/*.crt",
983 "pki/testdata/nist-pkits/crls/*.crl",
984 "pki/testdata/ocsp_unittest/*.pem",
985 "pki/testdata/parse_certificate_unittest/*.pem",
986 "pki/testdata/parse_certificate_unittest/*/*.pem",
987 "pki/testdata/path_builder_unittest/*.pem",
988 "pki/testdata/path_builder_unittest/*/*.pem",
989 "pki/testdata/verify_certificate_chain_unittest/*/*.pem",
990 "pki/testdata/verify_certificate_chain_unittest/*/*.test",
991 "pki/testdata/verify_certificate_chain_unittest/pkits_errors/*.txt",
992 "pki/testdata/verify_name_match_unittest/names/*.pem",
993 "pki/testdata/verify_signed_data_unittest/*.pem",
Bob Beck35a91092023-12-13 23:37:41 +0000994 "pki/testdata/verify_unittest/*.der",
David Benjamin6cbf2c02024-03-18 22:11:06 +1000995 "pki/testdata/verify_unittest/self-issued.pem"
996 ]
David Benjamin231510c2024-03-18 22:39:15 +1000997 },
998 "ssl_test": {
999 "srcs": [
1000 "crypto/test/gtest_main.cc",
1001 "ssl/span_test.cc",
1002 "ssl/ssl_c_test.c",
1003 "ssl/ssl_test.cc"
1004 ]
1005 },
1006 "decrepit_test": {
1007 "srcs": [
1008 "crypto/test/gtest_main.cc",
1009 "decrepit/blowfish/blowfish_test.cc",
1010 "decrepit/cast/cast_test.cc",
1011 "decrepit/cfb/cfb_test.cc",
1012 "decrepit/des/des_test.cc",
1013 "decrepit/evp/evp_test.cc",
1014 "decrepit/ripemd/ripemd_test.cc",
1015 "decrepit/xts/xts_test.cc"
1016 ]
1017 },
1018 "bssl": {
1019 "srcs": [
1020 "tool/args.cc",
1021 "tool/ciphers.cc",
1022 "tool/client.cc",
1023 "tool/const.cc",
1024 "tool/digest.cc",
1025 "tool/fd.cc",
1026 "tool/file.cc",
1027 "tool/generate_ech.cc",
1028 "tool/generate_ed25519.cc",
1029 "tool/genrsa.cc",
1030 "tool/pkcs12.cc",
1031 "tool/rand.cc",
1032 "tool/server.cc",
1033 "tool/sign.cc",
1034 "tool/speed.cc",
1035 "tool/tool.cc",
1036 "tool/transport_common.cc"
David Benjaminfebb4402024-03-19 16:52:15 +10001037 ],
1038 "internal_hdrs": [
1039 "tool/internal.h",
1040 "tool/transport_common.h"
David Benjamin231510c2024-03-18 22:39:15 +10001041 ]
David Benjamine13f7e22024-08-21 16:30:53 -04001042 },
1043 "fuzz": {
1044 // TODO(crbug.com/42290554): Unlike the other targets, each source here
1045 // is expected to be built separately. When we migrate from libFuzzer to
1046 // FuzzTest, this will be moot.
1047 "srcs": [
1048 "fuzz/*.cc"
1049 ]
David Benjamin98754792024-08-21 16:38:57 -04001050 },
1051 "rust_bssl_sys": {
1052 "srcs": [
1053 "rust/bssl-sys/src/*.rs"
1054 ]
1055 },
1056 "rust_bssl_crypto": {
1057 "srcs": [
1058 "rust/bssl-crypto/src/*.rs",
1059 "rust/bssl-crypto/src/*/*.rs"
1060 ]
David Benjaminfe0c91e2024-03-18 15:37:24 +10001061 }
1062}