xref: /aosp_15_r20/external/boringssl/sources.bp (revision 8fb009dc861624b67b6cdb62ea21f0f22d0c584b)
1// Copyright (c) 2015, Google Inc.
2//
3// Permission to use, copy, modify, and/or distribute this software for any
4// purpose with or without fee is hereby granted, provided that the above
5// copyright notice and this permission notice appear in all copies.
6//
7// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
10// SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
12// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
13// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14
15// This file is created by generate_build_files.py. Do not edit manually.
16
17libcrypto_sources_asm = [
18    "src/crypto/curve25519/asm/x25519-asm-arm.S",
19    "src/crypto/hrss/asm/poly_rq_mul.S",
20    "src/crypto/poly1305/poly1305_arm_asm.S",
21    "src/gen/bcm/aesni-gcm-x86_64-apple.S",
22    "src/gen/bcm/aesni-gcm-x86_64-linux.S",
23    "src/gen/bcm/aesni-x86-apple.S",
24    "src/gen/bcm/aesni-x86-linux.S",
25    "src/gen/bcm/aesni-x86_64-apple.S",
26    "src/gen/bcm/aesni-x86_64-linux.S",
27    "src/gen/bcm/aesv8-armv7-linux.S",
28    "src/gen/bcm/aesv8-armv8-apple.S",
29    "src/gen/bcm/aesv8-armv8-linux.S",
30    "src/gen/bcm/aesv8-armv8-win.S",
31    "src/gen/bcm/aesv8-gcm-armv8-apple.S",
32    "src/gen/bcm/aesv8-gcm-armv8-linux.S",
33    "src/gen/bcm/aesv8-gcm-armv8-win.S",
34    "src/gen/bcm/armv4-mont-linux.S",
35    "src/gen/bcm/armv8-mont-apple.S",
36    "src/gen/bcm/armv8-mont-linux.S",
37    "src/gen/bcm/armv8-mont-win.S",
38    "src/gen/bcm/bn-586-apple.S",
39    "src/gen/bcm/bn-586-linux.S",
40    "src/gen/bcm/bn-armv8-apple.S",
41    "src/gen/bcm/bn-armv8-linux.S",
42    "src/gen/bcm/bn-armv8-win.S",
43    "src/gen/bcm/bsaes-armv7-linux.S",
44    "src/gen/bcm/co-586-apple.S",
45    "src/gen/bcm/co-586-linux.S",
46    "src/gen/bcm/ghash-armv4-linux.S",
47    "src/gen/bcm/ghash-neon-armv8-apple.S",
48    "src/gen/bcm/ghash-neon-armv8-linux.S",
49    "src/gen/bcm/ghash-neon-armv8-win.S",
50    "src/gen/bcm/ghash-ssse3-x86-apple.S",
51    "src/gen/bcm/ghash-ssse3-x86-linux.S",
52    "src/gen/bcm/ghash-ssse3-x86_64-apple.S",
53    "src/gen/bcm/ghash-ssse3-x86_64-linux.S",
54    "src/gen/bcm/ghash-x86-apple.S",
55    "src/gen/bcm/ghash-x86-linux.S",
56    "src/gen/bcm/ghash-x86_64-apple.S",
57    "src/gen/bcm/ghash-x86_64-linux.S",
58    "src/gen/bcm/ghashv8-armv7-linux.S",
59    "src/gen/bcm/ghashv8-armv8-apple.S",
60    "src/gen/bcm/ghashv8-armv8-linux.S",
61    "src/gen/bcm/ghashv8-armv8-win.S",
62    "src/gen/bcm/md5-586-apple.S",
63    "src/gen/bcm/md5-586-linux.S",
64    "src/gen/bcm/md5-x86_64-apple.S",
65    "src/gen/bcm/md5-x86_64-linux.S",
66    "src/gen/bcm/p256-armv8-asm-apple.S",
67    "src/gen/bcm/p256-armv8-asm-linux.S",
68    "src/gen/bcm/p256-armv8-asm-win.S",
69    "src/gen/bcm/p256-x86_64-asm-apple.S",
70    "src/gen/bcm/p256-x86_64-asm-linux.S",
71    "src/gen/bcm/p256_beeu-armv8-asm-apple.S",
72    "src/gen/bcm/p256_beeu-armv8-asm-linux.S",
73    "src/gen/bcm/p256_beeu-armv8-asm-win.S",
74    "src/gen/bcm/p256_beeu-x86_64-asm-apple.S",
75    "src/gen/bcm/p256_beeu-x86_64-asm-linux.S",
76    "src/gen/bcm/rdrand-x86_64-apple.S",
77    "src/gen/bcm/rdrand-x86_64-linux.S",
78    "src/gen/bcm/rsaz-avx2-apple.S",
79    "src/gen/bcm/rsaz-avx2-linux.S",
80    "src/gen/bcm/sha1-586-apple.S",
81    "src/gen/bcm/sha1-586-linux.S",
82    "src/gen/bcm/sha1-armv4-large-linux.S",
83    "src/gen/bcm/sha1-armv8-apple.S",
84    "src/gen/bcm/sha1-armv8-linux.S",
85    "src/gen/bcm/sha1-armv8-win.S",
86    "src/gen/bcm/sha1-x86_64-apple.S",
87    "src/gen/bcm/sha1-x86_64-linux.S",
88    "src/gen/bcm/sha256-586-apple.S",
89    "src/gen/bcm/sha256-586-linux.S",
90    "src/gen/bcm/sha256-armv4-linux.S",
91    "src/gen/bcm/sha256-armv8-apple.S",
92    "src/gen/bcm/sha256-armv8-linux.S",
93    "src/gen/bcm/sha256-armv8-win.S",
94    "src/gen/bcm/sha256-x86_64-apple.S",
95    "src/gen/bcm/sha256-x86_64-linux.S",
96    "src/gen/bcm/sha512-586-apple.S",
97    "src/gen/bcm/sha512-586-linux.S",
98    "src/gen/bcm/sha512-armv4-linux.S",
99    "src/gen/bcm/sha512-armv8-apple.S",
100    "src/gen/bcm/sha512-armv8-linux.S",
101    "src/gen/bcm/sha512-armv8-win.S",
102    "src/gen/bcm/sha512-x86_64-apple.S",
103    "src/gen/bcm/sha512-x86_64-linux.S",
104    "src/gen/bcm/vpaes-armv7-linux.S",
105    "src/gen/bcm/vpaes-armv8-apple.S",
106    "src/gen/bcm/vpaes-armv8-linux.S",
107    "src/gen/bcm/vpaes-armv8-win.S",
108    "src/gen/bcm/vpaes-x86-apple.S",
109    "src/gen/bcm/vpaes-x86-linux.S",
110    "src/gen/bcm/vpaes-x86_64-apple.S",
111    "src/gen/bcm/vpaes-x86_64-linux.S",
112    "src/gen/bcm/x86-mont-apple.S",
113    "src/gen/bcm/x86-mont-linux.S",
114    "src/gen/bcm/x86_64-mont-apple.S",
115    "src/gen/bcm/x86_64-mont-linux.S",
116    "src/gen/bcm/x86_64-mont5-apple.S",
117    "src/gen/bcm/x86_64-mont5-linux.S",
118    "src/gen/crypto/aes128gcmsiv-x86_64-apple.S",
119    "src/gen/crypto/aes128gcmsiv-x86_64-linux.S",
120    "src/gen/crypto/chacha-armv4-linux.S",
121    "src/gen/crypto/chacha-armv8-apple.S",
122    "src/gen/crypto/chacha-armv8-linux.S",
123    "src/gen/crypto/chacha-armv8-win.S",
124    "src/gen/crypto/chacha-x86-apple.S",
125    "src/gen/crypto/chacha-x86-linux.S",
126    "src/gen/crypto/chacha-x86_64-apple.S",
127    "src/gen/crypto/chacha-x86_64-linux.S",
128    "src/gen/crypto/chacha20_poly1305_armv8-apple.S",
129    "src/gen/crypto/chacha20_poly1305_armv8-linux.S",
130    "src/gen/crypto/chacha20_poly1305_armv8-win.S",
131    "src/gen/crypto/chacha20_poly1305_x86_64-apple.S",
132    "src/gen/crypto/chacha20_poly1305_x86_64-linux.S",
133    "src/gen/test_support/trampoline-armv4-linux.S",
134    "src/gen/test_support/trampoline-armv8-apple.S",
135    "src/gen/test_support/trampoline-armv8-linux.S",
136    "src/gen/test_support/trampoline-armv8-win.S",
137    "src/gen/test_support/trampoline-x86-apple.S",
138    "src/gen/test_support/trampoline-x86-linux.S",
139    "src/gen/test_support/trampoline-x86_64-apple.S",
140    "src/gen/test_support/trampoline-x86_64-linux.S",
141    "src/third_party/fiat/asm/fiat_curve25519_adx_mul.S",
142    "src/third_party/fiat/asm/fiat_curve25519_adx_square.S",
143    "src/third_party/fiat/asm/fiat_p256_adx_mul.S",
144    "src/third_party/fiat/asm/fiat_p256_adx_sqr.S",
145]
146
147cc_defaults {
148    name: "libcrypto_sources",
149    srcs: [
150        "src/crypto/asn1/a_bitstr.c",
151        "src/crypto/asn1/a_bool.c",
152        "src/crypto/asn1/a_d2i_fp.c",
153        "src/crypto/asn1/a_dup.c",
154        "src/crypto/asn1/a_gentm.c",
155        "src/crypto/asn1/a_i2d_fp.c",
156        "src/crypto/asn1/a_int.c",
157        "src/crypto/asn1/a_mbstr.c",
158        "src/crypto/asn1/a_object.c",
159        "src/crypto/asn1/a_octet.c",
160        "src/crypto/asn1/a_strex.c",
161        "src/crypto/asn1/a_strnid.c",
162        "src/crypto/asn1/a_time.c",
163        "src/crypto/asn1/a_type.c",
164        "src/crypto/asn1/a_utctm.c",
165        "src/crypto/asn1/asn1_lib.c",
166        "src/crypto/asn1/asn1_par.c",
167        "src/crypto/asn1/asn_pack.c",
168        "src/crypto/asn1/f_int.c",
169        "src/crypto/asn1/f_string.c",
170        "src/crypto/asn1/posix_time.c",
171        "src/crypto/asn1/tasn_dec.c",
172        "src/crypto/asn1/tasn_enc.c",
173        "src/crypto/asn1/tasn_fre.c",
174        "src/crypto/asn1/tasn_new.c",
175        "src/crypto/asn1/tasn_typ.c",
176        "src/crypto/asn1/tasn_utl.c",
177        "src/crypto/base64/base64.c",
178        "src/crypto/bio/bio.c",
179        "src/crypto/bio/bio_mem.c",
180        "src/crypto/bio/connect.c",
181        "src/crypto/bio/errno.c",
182        "src/crypto/bio/fd.c",
183        "src/crypto/bio/file.c",
184        "src/crypto/bio/hexdump.c",
185        "src/crypto/bio/pair.c",
186        "src/crypto/bio/printf.c",
187        "src/crypto/bio/socket.c",
188        "src/crypto/bio/socket_helper.c",
189        "src/crypto/blake2/blake2.c",
190        "src/crypto/bn_extra/bn_asn1.c",
191        "src/crypto/bn_extra/convert.c",
192        "src/crypto/buf/buf.c",
193        "src/crypto/bytestring/asn1_compat.c",
194        "src/crypto/bytestring/ber.c",
195        "src/crypto/bytestring/cbb.c",
196        "src/crypto/bytestring/cbs.c",
197        "src/crypto/bytestring/unicode.c",
198        "src/crypto/chacha/chacha.c",
199        "src/crypto/cipher_extra/cipher_extra.c",
200        "src/crypto/cipher_extra/derive_key.c",
201        "src/crypto/cipher_extra/e_aesctrhmac.c",
202        "src/crypto/cipher_extra/e_aesgcmsiv.c",
203        "src/crypto/cipher_extra/e_chacha20poly1305.c",
204        "src/crypto/cipher_extra/e_des.c",
205        "src/crypto/cipher_extra/e_null.c",
206        "src/crypto/cipher_extra/e_rc2.c",
207        "src/crypto/cipher_extra/e_rc4.c",
208        "src/crypto/cipher_extra/e_tls.c",
209        "src/crypto/cipher_extra/tls_cbc.c",
210        "src/crypto/conf/conf.c",
211        "src/crypto/cpu_aarch64_apple.c",
212        "src/crypto/cpu_aarch64_fuchsia.c",
213        "src/crypto/cpu_aarch64_linux.c",
214        "src/crypto/cpu_aarch64_openbsd.c",
215        "src/crypto/cpu_aarch64_sysreg.c",
216        "src/crypto/cpu_aarch64_win.c",
217        "src/crypto/cpu_arm_freebsd.c",
218        "src/crypto/cpu_arm_linux.c",
219        "src/crypto/cpu_intel.c",
220        "src/crypto/crypto.c",
221        "src/crypto/curve25519/curve25519.c",
222        "src/crypto/curve25519/curve25519_64_adx.c",
223        "src/crypto/curve25519/spake25519.c",
224        "src/crypto/des/des.c",
225        "src/crypto/dh_extra/dh_asn1.c",
226        "src/crypto/dh_extra/params.c",
227        "src/crypto/digest_extra/digest_extra.c",
228        "src/crypto/dilithium/dilithium.c",
229        "src/crypto/dsa/dsa.c",
230        "src/crypto/dsa/dsa_asn1.c",
231        "src/crypto/ec_extra/ec_asn1.c",
232        "src/crypto/ec_extra/ec_derive.c",
233        "src/crypto/ec_extra/hash_to_curve.c",
234        "src/crypto/ecdh_extra/ecdh_extra.c",
235        "src/crypto/ecdsa_extra/ecdsa_asn1.c",
236        "src/crypto/engine/engine.c",
237        "src/crypto/err/err.c",
238        "src/crypto/evp/evp.c",
239        "src/crypto/evp/evp_asn1.c",
240        "src/crypto/evp/evp_ctx.c",
241        "src/crypto/evp/p_dh.c",
242        "src/crypto/evp/p_dh_asn1.c",
243        "src/crypto/evp/p_dsa_asn1.c",
244        "src/crypto/evp/p_ec.c",
245        "src/crypto/evp/p_ec_asn1.c",
246        "src/crypto/evp/p_ed25519.c",
247        "src/crypto/evp/p_ed25519_asn1.c",
248        "src/crypto/evp/p_hkdf.c",
249        "src/crypto/evp/p_rsa.c",
250        "src/crypto/evp/p_rsa_asn1.c",
251        "src/crypto/evp/p_x25519.c",
252        "src/crypto/evp/p_x25519_asn1.c",
253        "src/crypto/evp/pbkdf.c",
254        "src/crypto/evp/print.c",
255        "src/crypto/evp/scrypt.c",
256        "src/crypto/evp/sign.c",
257        "src/crypto/ex_data.c",
258        "src/crypto/fipsmodule/fips_shared_support.c",
259        "src/crypto/hpke/hpke.c",
260        "src/crypto/hrss/hrss.c",
261        "src/crypto/keccak/keccak.c",
262        "src/crypto/kyber/kyber.c",
263        "src/crypto/lhash/lhash.c",
264        "src/crypto/mem.c",
265        "src/crypto/obj/obj.c",
266        "src/crypto/obj/obj_xref.c",
267        "src/crypto/pem/pem_all.c",
268        "src/crypto/pem/pem_info.c",
269        "src/crypto/pem/pem_lib.c",
270        "src/crypto/pem/pem_oth.c",
271        "src/crypto/pem/pem_pk8.c",
272        "src/crypto/pem/pem_pkey.c",
273        "src/crypto/pem/pem_x509.c",
274        "src/crypto/pem/pem_xaux.c",
275        "src/crypto/pkcs7/pkcs7.c",
276        "src/crypto/pkcs7/pkcs7_x509.c",
277        "src/crypto/pkcs8/p5_pbev2.c",
278        "src/crypto/pkcs8/pkcs8.c",
279        "src/crypto/pkcs8/pkcs8_x509.c",
280        "src/crypto/poly1305/poly1305.c",
281        "src/crypto/poly1305/poly1305_arm.c",
282        "src/crypto/poly1305/poly1305_vec.c",
283        "src/crypto/pool/pool.c",
284        "src/crypto/rand_extra/deterministic.c",
285        "src/crypto/rand_extra/forkunsafe.c",
286        "src/crypto/rand_extra/getentropy.c",
287        "src/crypto/rand_extra/ios.c",
288        "src/crypto/rand_extra/passive.c",
289        "src/crypto/rand_extra/rand_extra.c",
290        "src/crypto/rand_extra/trusty.c",
291        "src/crypto/rand_extra/windows.c",
292        "src/crypto/rc4/rc4.c",
293        "src/crypto/refcount.c",
294        "src/crypto/rsa_extra/rsa_asn1.c",
295        "src/crypto/rsa_extra/rsa_crypt.c",
296        "src/crypto/rsa_extra/rsa_print.c",
297        "src/crypto/siphash/siphash.c",
298        "src/crypto/spx/address.c",
299        "src/crypto/spx/fors.c",
300        "src/crypto/spx/merkle.c",
301        "src/crypto/spx/spx.c",
302        "src/crypto/spx/spx_util.c",
303        "src/crypto/spx/thash.c",
304        "src/crypto/spx/wots.c",
305        "src/crypto/stack/stack.c",
306        "src/crypto/thread.c",
307        "src/crypto/thread_none.c",
308        "src/crypto/thread_pthread.c",
309        "src/crypto/thread_win.c",
310        "src/crypto/trust_token/pmbtoken.c",
311        "src/crypto/trust_token/trust_token.c",
312        "src/crypto/trust_token/voprf.c",
313        "src/crypto/x509/a_digest.c",
314        "src/crypto/x509/a_sign.c",
315        "src/crypto/x509/a_verify.c",
316        "src/crypto/x509/algorithm.c",
317        "src/crypto/x509/asn1_gen.c",
318        "src/crypto/x509/by_dir.c",
319        "src/crypto/x509/by_file.c",
320        "src/crypto/x509/i2d_pr.c",
321        "src/crypto/x509/name_print.c",
322        "src/crypto/x509/policy.c",
323        "src/crypto/x509/rsa_pss.c",
324        "src/crypto/x509/t_crl.c",
325        "src/crypto/x509/t_req.c",
326        "src/crypto/x509/t_x509.c",
327        "src/crypto/x509/t_x509a.c",
328        "src/crypto/x509/v3_akey.c",
329        "src/crypto/x509/v3_akeya.c",
330        "src/crypto/x509/v3_alt.c",
331        "src/crypto/x509/v3_bcons.c",
332        "src/crypto/x509/v3_bitst.c",
333        "src/crypto/x509/v3_conf.c",
334        "src/crypto/x509/v3_cpols.c",
335        "src/crypto/x509/v3_crld.c",
336        "src/crypto/x509/v3_enum.c",
337        "src/crypto/x509/v3_extku.c",
338        "src/crypto/x509/v3_genn.c",
339        "src/crypto/x509/v3_ia5.c",
340        "src/crypto/x509/v3_info.c",
341        "src/crypto/x509/v3_int.c",
342        "src/crypto/x509/v3_lib.c",
343        "src/crypto/x509/v3_ncons.c",
344        "src/crypto/x509/v3_ocsp.c",
345        "src/crypto/x509/v3_pcons.c",
346        "src/crypto/x509/v3_pmaps.c",
347        "src/crypto/x509/v3_prn.c",
348        "src/crypto/x509/v3_purp.c",
349        "src/crypto/x509/v3_skey.c",
350        "src/crypto/x509/v3_utl.c",
351        "src/crypto/x509/x509.c",
352        "src/crypto/x509/x509_att.c",
353        "src/crypto/x509/x509_cmp.c",
354        "src/crypto/x509/x509_d2.c",
355        "src/crypto/x509/x509_def.c",
356        "src/crypto/x509/x509_ext.c",
357        "src/crypto/x509/x509_lu.c",
358        "src/crypto/x509/x509_obj.c",
359        "src/crypto/x509/x509_req.c",
360        "src/crypto/x509/x509_set.c",
361        "src/crypto/x509/x509_trs.c",
362        "src/crypto/x509/x509_txt.c",
363        "src/crypto/x509/x509_v3.c",
364        "src/crypto/x509/x509_vfy.c",
365        "src/crypto/x509/x509_vpm.c",
366        "src/crypto/x509/x509cset.c",
367        "src/crypto/x509/x509name.c",
368        "src/crypto/x509/x509rset.c",
369        "src/crypto/x509/x509spki.c",
370        "src/crypto/x509/x_algor.c",
371        "src/crypto/x509/x_all.c",
372        "src/crypto/x509/x_attrib.c",
373        "src/crypto/x509/x_crl.c",
374        "src/crypto/x509/x_exten.c",
375        "src/crypto/x509/x_name.c",
376        "src/crypto/x509/x_pubkey.c",
377        "src/crypto/x509/x_req.c",
378        "src/crypto/x509/x_sig.c",
379        "src/crypto/x509/x_spki.c",
380        "src/crypto/x509/x_val.c",
381        "src/crypto/x509/x_x509.c",
382        "src/crypto/x509/x_x509a.c",
383        "src/gen/crypto/err_data.c",
384    ],
385    target: {
386        linux: {
387            srcs: libcrypto_sources_asm,
388        },
389        darwin: {
390            cflags: ["-DOPENSSL_NO_ASM"],
391        },
392        windows: {
393            cflags: ["-DOPENSSL_NO_ASM"],
394        },
395    },
396}
397
398libcrypto_bcm_sources_asm = [
399]
400
401cc_defaults {
402    name: "libcrypto_bcm_sources",
403    srcs: [
404        "src/crypto/fipsmodule/bcm.c",
405    ],
406    target: {
407        linux: {
408            srcs: libcrypto_bcm_sources_asm,
409        },
410        darwin: {
411            cflags: ["-DOPENSSL_NO_ASM"],
412        },
413        windows: {
414            cflags: ["-DOPENSSL_NO_ASM"],
415        },
416    },
417}
418
419cc_defaults {
420    name: "libssl_sources",
421    srcs: [
422        "src/ssl/bio_ssl.cc",
423        "src/ssl/d1_both.cc",
424        "src/ssl/d1_lib.cc",
425        "src/ssl/d1_pkt.cc",
426        "src/ssl/d1_srtp.cc",
427        "src/ssl/dtls_method.cc",
428        "src/ssl/dtls_record.cc",
429        "src/ssl/encrypted_client_hello.cc",
430        "src/ssl/extensions.cc",
431        "src/ssl/handoff.cc",
432        "src/ssl/handshake.cc",
433        "src/ssl/handshake_client.cc",
434        "src/ssl/handshake_server.cc",
435        "src/ssl/s3_both.cc",
436        "src/ssl/s3_lib.cc",
437        "src/ssl/s3_pkt.cc",
438        "src/ssl/ssl_aead_ctx.cc",
439        "src/ssl/ssl_asn1.cc",
440        "src/ssl/ssl_buffer.cc",
441        "src/ssl/ssl_cert.cc",
442        "src/ssl/ssl_cipher.cc",
443        "src/ssl/ssl_credential.cc",
444        "src/ssl/ssl_file.cc",
445        "src/ssl/ssl_key_share.cc",
446        "src/ssl/ssl_lib.cc",
447        "src/ssl/ssl_privkey.cc",
448        "src/ssl/ssl_session.cc",
449        "src/ssl/ssl_stat.cc",
450        "src/ssl/ssl_transcript.cc",
451        "src/ssl/ssl_versions.cc",
452        "src/ssl/ssl_x509.cc",
453        "src/ssl/t1_enc.cc",
454        "src/ssl/tls13_both.cc",
455        "src/ssl/tls13_client.cc",
456        "src/ssl/tls13_enc.cc",
457        "src/ssl/tls13_server.cc",
458        "src/ssl/tls_method.cc",
459        "src/ssl/tls_record.cc",
460    ],
461}
462
463cc_defaults {
464    name: "bssl_sources",
465    srcs: [
466        "src/tool/args.cc",
467        "src/tool/ciphers.cc",
468        "src/tool/client.cc",
469        "src/tool/const.cc",
470        "src/tool/digest.cc",
471        "src/tool/fd.cc",
472        "src/tool/file.cc",
473        "src/tool/generate_ech.cc",
474        "src/tool/generate_ed25519.cc",
475        "src/tool/genrsa.cc",
476        "src/tool/pkcs12.cc",
477        "src/tool/rand.cc",
478        "src/tool/server.cc",
479        "src/tool/sign.cc",
480        "src/tool/speed.cc",
481        "src/tool/tool.cc",
482        "src/tool/transport_common.cc",
483    ],
484}
485
486cc_defaults {
487    name: "boringssl_test_support_sources",
488    srcs: [
489        "src/crypto/test/abi_test.cc",
490        "src/crypto/test/file_test.cc",
491        "src/crypto/test/file_test_gtest.cc",
492        "src/crypto/test/file_util.cc",
493        "src/crypto/test/test_data.cc",
494        "src/crypto/test/test_util.cc",
495        "src/crypto/test/wycheproof_util.cc",
496    ],
497}
498
499cc_defaults {
500    name: "boringssl_crypto_test_sources",
501    srcs: [
502        "src/crypto/abi_self_test.cc",
503        "src/crypto/asn1/asn1_test.cc",
504        "src/crypto/base64/base64_test.cc",
505        "src/crypto/bio/bio_test.cc",
506        "src/crypto/blake2/blake2_test.cc",
507        "src/crypto/buf/buf_test.cc",
508        "src/crypto/bytestring/bytestring_test.cc",
509        "src/crypto/chacha/chacha_test.cc",
510        "src/crypto/cipher_extra/aead_test.cc",
511        "src/crypto/cipher_extra/cipher_test.cc",
512        "src/crypto/compiler_test.cc",
513        "src/crypto/conf/conf_test.cc",
514        "src/crypto/constant_time_test.cc",
515        "src/crypto/cpu_arm_linux_test.cc",
516        "src/crypto/crypto_test.cc",
517        "src/crypto/curve25519/ed25519_test.cc",
518        "src/crypto/curve25519/spake25519_test.cc",
519        "src/crypto/curve25519/x25519_test.cc",
520        "src/crypto/dh_extra/dh_test.cc",
521        "src/crypto/digest_extra/digest_test.cc",
522        "src/crypto/dilithium/dilithium_test.cc",
523        "src/crypto/dsa/dsa_test.cc",
524        "src/crypto/ecdh_extra/ecdh_test.cc",
525        "src/crypto/err/err_test.cc",
526        "src/crypto/evp/evp_extra_test.cc",
527        "src/crypto/evp/evp_test.cc",
528        "src/crypto/evp/pbkdf_test.cc",
529        "src/crypto/evp/scrypt_test.cc",
530        "src/crypto/fipsmodule/aes/aes_test.cc",
531        "src/crypto/fipsmodule/bn/bn_test.cc",
532        "src/crypto/fipsmodule/cmac/cmac_test.cc",
533        "src/crypto/fipsmodule/ec/ec_test.cc",
534        "src/crypto/fipsmodule/ec/p256-nistz_test.cc",
535        "src/crypto/fipsmodule/ec/p256_test.cc",
536        "src/crypto/fipsmodule/ecdsa/ecdsa_test.cc",
537        "src/crypto/fipsmodule/hkdf/hkdf_test.cc",
538        "src/crypto/fipsmodule/md5/md5_test.cc",
539        "src/crypto/fipsmodule/modes/gcm_test.cc",
540        "src/crypto/fipsmodule/rand/ctrdrbg_test.cc",
541        "src/crypto/fipsmodule/rand/fork_detect_test.cc",
542        "src/crypto/fipsmodule/service_indicator/service_indicator_test.cc",
543        "src/crypto/fipsmodule/sha/sha_test.cc",
544        "src/crypto/hmac_extra/hmac_test.cc",
545        "src/crypto/hpke/hpke_test.cc",
546        "src/crypto/hrss/hrss_test.cc",
547        "src/crypto/impl_dispatch_test.cc",
548        "src/crypto/keccak/keccak_test.cc",
549        "src/crypto/kyber/kyber_test.cc",
550        "src/crypto/lhash/lhash_test.cc",
551        "src/crypto/obj/obj_test.cc",
552        "src/crypto/pem/pem_test.cc",
553        "src/crypto/pkcs7/pkcs7_test.cc",
554        "src/crypto/pkcs8/pkcs12_test.cc",
555        "src/crypto/pkcs8/pkcs8_test.cc",
556        "src/crypto/poly1305/poly1305_test.cc",
557        "src/crypto/pool/pool_test.cc",
558        "src/crypto/rand_extra/getentropy_test.cc",
559        "src/crypto/rand_extra/rand_test.cc",
560        "src/crypto/refcount_test.cc",
561        "src/crypto/rsa_extra/rsa_test.cc",
562        "src/crypto/self_test.cc",
563        "src/crypto/siphash/siphash_test.cc",
564        "src/crypto/spx/spx_test.cc",
565        "src/crypto/stack/stack_test.cc",
566        "src/crypto/test/gtest_main.cc",
567        "src/crypto/thread_test.cc",
568        "src/crypto/trust_token/trust_token_test.cc",
569        "src/crypto/x509/tab_test.cc",
570        "src/crypto/x509/x509_test.cc",
571        "src/crypto/x509/x509_time_test.cc",
572    ],
573    data: [
574        "src/crypto/blake2/blake2b256_tests.txt",
575        "src/crypto/cipher_extra/test/aes_128_cbc_sha1_tls_implicit_iv_tests.txt",
576        "src/crypto/cipher_extra/test/aes_128_cbc_sha1_tls_tests.txt",
577        "src/crypto/cipher_extra/test/aes_128_ccm_bluetooth_8_tests.txt",
578        "src/crypto/cipher_extra/test/aes_128_ccm_bluetooth_tests.txt",
579        "src/crypto/cipher_extra/test/aes_128_ccm_matter_tests.txt",
580        "src/crypto/cipher_extra/test/aes_128_ctr_hmac_sha256.txt",
581        "src/crypto/cipher_extra/test/aes_128_gcm_randnonce_tests.txt",
582        "src/crypto/cipher_extra/test/aes_128_gcm_siv_tests.txt",
583        "src/crypto/cipher_extra/test/aes_128_gcm_tests.txt",
584        "src/crypto/cipher_extra/test/aes_192_gcm_tests.txt",
585        "src/crypto/cipher_extra/test/aes_256_cbc_sha1_tls_implicit_iv_tests.txt",
586        "src/crypto/cipher_extra/test/aes_256_cbc_sha1_tls_tests.txt",
587        "src/crypto/cipher_extra/test/aes_256_ctr_hmac_sha256.txt",
588        "src/crypto/cipher_extra/test/aes_256_gcm_randnonce_tests.txt",
589        "src/crypto/cipher_extra/test/aes_256_gcm_siv_tests.txt",
590        "src/crypto/cipher_extra/test/aes_256_gcm_tests.txt",
591        "src/crypto/cipher_extra/test/chacha20_poly1305_tests.txt",
592        "src/crypto/cipher_extra/test/cipher_tests.txt",
593        "src/crypto/cipher_extra/test/des_ede3_cbc_sha1_tls_implicit_iv_tests.txt",
594        "src/crypto/cipher_extra/test/des_ede3_cbc_sha1_tls_tests.txt",
595        "src/crypto/cipher_extra/test/nist_cavp/aes_128_cbc.txt",
596        "src/crypto/cipher_extra/test/nist_cavp/aes_128_ctr.txt",
597        "src/crypto/cipher_extra/test/nist_cavp/aes_128_gcm.txt",
598        "src/crypto/cipher_extra/test/nist_cavp/aes_192_cbc.txt",
599        "src/crypto/cipher_extra/test/nist_cavp/aes_192_ctr.txt",
600        "src/crypto/cipher_extra/test/nist_cavp/aes_256_cbc.txt",
601        "src/crypto/cipher_extra/test/nist_cavp/aes_256_ctr.txt",
602        "src/crypto/cipher_extra/test/nist_cavp/aes_256_gcm.txt",
603        "src/crypto/cipher_extra/test/nist_cavp/tdes_cbc.txt",
604        "src/crypto/cipher_extra/test/nist_cavp/tdes_ecb.txt",
605        "src/crypto/cipher_extra/test/xchacha20_poly1305_tests.txt",
606        "src/crypto/curve25519/ed25519_tests.txt",
607        "src/crypto/dilithium/dilithium_tests.txt",
608        "src/crypto/dilithium/edge_cases_draft_dilithium3_sign.txt",
609        "src/crypto/dilithium/edge_cases_draft_dilithium3_verify.txt",
610        "src/crypto/ecdh_extra/ecdh_tests.txt",
611        "src/crypto/evp/evp_tests.txt",
612        "src/crypto/evp/scrypt_tests.txt",
613        "src/crypto/fipsmodule/aes/aes_tests.txt",
614        "src/crypto/fipsmodule/bn/test/exp_tests.txt",
615        "src/crypto/fipsmodule/bn/test/gcd_tests.txt",
616        "src/crypto/fipsmodule/bn/test/miller_rabin_tests.txt",
617        "src/crypto/fipsmodule/bn/test/mod_exp_tests.txt",
618        "src/crypto/fipsmodule/bn/test/mod_inv_tests.txt",
619        "src/crypto/fipsmodule/bn/test/mod_mul_tests.txt",
620        "src/crypto/fipsmodule/bn/test/mod_sqrt_tests.txt",
621        "src/crypto/fipsmodule/bn/test/product_tests.txt",
622        "src/crypto/fipsmodule/bn/test/quotient_tests.txt",
623        "src/crypto/fipsmodule/bn/test/shift_tests.txt",
624        "src/crypto/fipsmodule/bn/test/sum_tests.txt",
625        "src/crypto/fipsmodule/cmac/cavp_3des_cmac_tests.txt",
626        "src/crypto/fipsmodule/cmac/cavp_aes128_cmac_tests.txt",
627        "src/crypto/fipsmodule/cmac/cavp_aes192_cmac_tests.txt",
628        "src/crypto/fipsmodule/cmac/cavp_aes256_cmac_tests.txt",
629        "src/crypto/fipsmodule/ec/ec_scalar_base_mult_tests.txt",
630        "src/crypto/fipsmodule/ec/p256-nistz_tests.txt",
631        "src/crypto/fipsmodule/ecdsa/ecdsa_sign_tests.txt",
632        "src/crypto/fipsmodule/ecdsa/ecdsa_verify_tests.txt",
633        "src/crypto/fipsmodule/modes/gcm_tests.txt",
634        "src/crypto/fipsmodule/rand/ctrdrbg_vectors.txt",
635        "src/crypto/hmac_extra/hmac_tests.txt",
636        "src/crypto/hpke/hpke_test_vectors.txt",
637        "src/crypto/keccak/keccak_tests.txt",
638        "src/crypto/kyber/kyber_tests.txt",
639        "src/crypto/pkcs8/test/bad1.p12",
640        "src/crypto/pkcs8/test/bad2.p12",
641        "src/crypto/pkcs8/test/bad3.p12",
642        "src/crypto/pkcs8/test/empty_password.p12",
643        "src/crypto/pkcs8/test/empty_password_ber.p12",
644        "src/crypto/pkcs8/test/empty_password_ber_nested.p12",
645        "src/crypto/pkcs8/test/no_encryption.p12",
646        "src/crypto/pkcs8/test/nss.p12",
647        "src/crypto/pkcs8/test/null_password.p12",
648        "src/crypto/pkcs8/test/openssl.p12",
649        "src/crypto/pkcs8/test/pbes2_sha1.p12",
650        "src/crypto/pkcs8/test/pbes2_sha256.p12",
651        "src/crypto/pkcs8/test/unicode_password.p12",
652        "src/crypto/pkcs8/test/windows.p12",
653        "src/crypto/poly1305/poly1305_tests.txt",
654        "src/crypto/siphash/siphash_tests.txt",
655        "src/crypto/spx/spx_tests.txt",
656        "src/crypto/spx/spx_tests_deterministic.txt",
657        "src/crypto/x509/test/basic_constraints_ca.pem",
658        "src/crypto/x509/test/basic_constraints_ca_pathlen_0.pem",
659        "src/crypto/x509/test/basic_constraints_ca_pathlen_1.pem",
660        "src/crypto/x509/test/basic_constraints_ca_pathlen_10.pem",
661        "src/crypto/x509/test/basic_constraints_leaf.pem",
662        "src/crypto/x509/test/basic_constraints_none.pem",
663        "src/crypto/x509/test/invalid_extension_intermediate.pem",
664        "src/crypto/x509/test/invalid_extension_intermediate_authority_key_identifier.pem",
665        "src/crypto/x509/test/invalid_extension_intermediate_basic_constraints.pem",
666        "src/crypto/x509/test/invalid_extension_intermediate_ext_key_usage.pem",
667        "src/crypto/x509/test/invalid_extension_intermediate_key_usage.pem",
668        "src/crypto/x509/test/invalid_extension_intermediate_name_constraints.pem",
669        "src/crypto/x509/test/invalid_extension_intermediate_subject_alt_name.pem",
670        "src/crypto/x509/test/invalid_extension_intermediate_subject_key_identifier.pem",
671        "src/crypto/x509/test/invalid_extension_leaf.pem",
672        "src/crypto/x509/test/invalid_extension_leaf_authority_key_identifier.pem",
673        "src/crypto/x509/test/invalid_extension_leaf_basic_constraints.pem",
674        "src/crypto/x509/test/invalid_extension_leaf_ext_key_usage.pem",
675        "src/crypto/x509/test/invalid_extension_leaf_key_usage.pem",
676        "src/crypto/x509/test/invalid_extension_leaf_name_constraints.pem",
677        "src/crypto/x509/test/invalid_extension_leaf_subject_alt_name.pem",
678        "src/crypto/x509/test/invalid_extension_leaf_subject_key_identifier.pem",
679        "src/crypto/x509/test/invalid_extension_root.pem",
680        "src/crypto/x509/test/invalid_extension_root_authority_key_identifier.pem",
681        "src/crypto/x509/test/invalid_extension_root_basic_constraints.pem",
682        "src/crypto/x509/test/invalid_extension_root_ext_key_usage.pem",
683        "src/crypto/x509/test/invalid_extension_root_key_usage.pem",
684        "src/crypto/x509/test/invalid_extension_root_name_constraints.pem",
685        "src/crypto/x509/test/invalid_extension_root_subject_alt_name.pem",
686        "src/crypto/x509/test/invalid_extension_root_subject_key_identifier.pem",
687        "src/crypto/x509/test/many_constraints.pem",
688        "src/crypto/x509/test/many_names1.pem",
689        "src/crypto/x509/test/many_names2.pem",
690        "src/crypto/x509/test/many_names3.pem",
691        "src/crypto/x509/test/policy_intermediate.pem",
692        "src/crypto/x509/test/policy_intermediate_any.pem",
693        "src/crypto/x509/test/policy_intermediate_duplicate.pem",
694        "src/crypto/x509/test/policy_intermediate_invalid.pem",
695        "src/crypto/x509/test/policy_intermediate_mapped.pem",
696        "src/crypto/x509/test/policy_intermediate_mapped_any.pem",
697        "src/crypto/x509/test/policy_intermediate_mapped_oid3.pem",
698        "src/crypto/x509/test/policy_intermediate_require.pem",
699        "src/crypto/x509/test/policy_intermediate_require1.pem",
700        "src/crypto/x509/test/policy_intermediate_require2.pem",
701        "src/crypto/x509/test/policy_intermediate_require_duplicate.pem",
702        "src/crypto/x509/test/policy_intermediate_require_no_policies.pem",
703        "src/crypto/x509/test/policy_leaf.pem",
704        "src/crypto/x509/test/policy_leaf_any.pem",
705        "src/crypto/x509/test/policy_leaf_duplicate.pem",
706        "src/crypto/x509/test/policy_leaf_invalid.pem",
707        "src/crypto/x509/test/policy_leaf_none.pem",
708        "src/crypto/x509/test/policy_leaf_oid1.pem",
709        "src/crypto/x509/test/policy_leaf_oid2.pem",
710        "src/crypto/x509/test/policy_leaf_oid3.pem",
711        "src/crypto/x509/test/policy_leaf_oid4.pem",
712        "src/crypto/x509/test/policy_leaf_oid5.pem",
713        "src/crypto/x509/test/policy_leaf_require.pem",
714        "src/crypto/x509/test/policy_leaf_require1.pem",
715        "src/crypto/x509/test/policy_root.pem",
716        "src/crypto/x509/test/policy_root2.pem",
717        "src/crypto/x509/test/policy_root_cross_inhibit_mapping.pem",
718        "src/crypto/x509/test/pss_sha1.pem",
719        "src/crypto/x509/test/pss_sha1_explicit.pem",
720        "src/crypto/x509/test/pss_sha1_mgf1_syntax_error.pem",
721        "src/crypto/x509/test/pss_sha224.pem",
722        "src/crypto/x509/test/pss_sha256.pem",
723        "src/crypto/x509/test/pss_sha256_explicit_trailer.pem",
724        "src/crypto/x509/test/pss_sha256_mgf1_sha384.pem",
725        "src/crypto/x509/test/pss_sha256_mgf1_syntax_error.pem",
726        "src/crypto/x509/test/pss_sha256_omit_nulls.pem",
727        "src/crypto/x509/test/pss_sha256_salt31.pem",
728        "src/crypto/x509/test/pss_sha256_salt_overflow.pem",
729        "src/crypto/x509/test/pss_sha256_unknown_mgf.pem",
730        "src/crypto/x509/test/pss_sha256_wrong_trailer.pem",
731        "src/crypto/x509/test/pss_sha384.pem",
732        "src/crypto/x509/test/pss_sha512.pem",
733        "src/crypto/x509/test/some_names1.pem",
734        "src/crypto/x509/test/some_names2.pem",
735        "src/crypto/x509/test/some_names3.pem",
736        "src/crypto/x509/test/trailing_data_leaf_authority_key_identifier.pem",
737        "src/crypto/x509/test/trailing_data_leaf_basic_constraints.pem",
738        "src/crypto/x509/test/trailing_data_leaf_ext_key_usage.pem",
739        "src/crypto/x509/test/trailing_data_leaf_key_usage.pem",
740        "src/crypto/x509/test/trailing_data_leaf_name_constraints.pem",
741        "src/crypto/x509/test/trailing_data_leaf_subject_alt_name.pem",
742        "src/crypto/x509/test/trailing_data_leaf_subject_key_identifier.pem",
743        "src/third_party/wycheproof_testvectors/aes_cbc_pkcs5_test.txt",
744        "src/third_party/wycheproof_testvectors/aes_cmac_test.txt",
745        "src/third_party/wycheproof_testvectors/aes_gcm_siv_test.txt",
746        "src/third_party/wycheproof_testvectors/aes_gcm_test.txt",
747        "src/third_party/wycheproof_testvectors/chacha20_poly1305_test.txt",
748        "src/third_party/wycheproof_testvectors/dsa_test.txt",
749        "src/third_party/wycheproof_testvectors/ecdh_secp224r1_test.txt",
750        "src/third_party/wycheproof_testvectors/ecdh_secp256r1_test.txt",
751        "src/third_party/wycheproof_testvectors/ecdh_secp384r1_test.txt",
752        "src/third_party/wycheproof_testvectors/ecdh_secp521r1_test.txt",
753        "src/third_party/wycheproof_testvectors/ecdsa_secp224r1_sha224_test.txt",
754        "src/third_party/wycheproof_testvectors/ecdsa_secp224r1_sha256_test.txt",
755        "src/third_party/wycheproof_testvectors/ecdsa_secp224r1_sha512_test.txt",
756        "src/third_party/wycheproof_testvectors/ecdsa_secp256r1_sha256_test.txt",
757        "src/third_party/wycheproof_testvectors/ecdsa_secp256r1_sha512_test.txt",
758        "src/third_party/wycheproof_testvectors/ecdsa_secp384r1_sha384_test.txt",
759        "src/third_party/wycheproof_testvectors/ecdsa_secp384r1_sha512_test.txt",
760        "src/third_party/wycheproof_testvectors/ecdsa_secp521r1_sha512_test.txt",
761        "src/third_party/wycheproof_testvectors/eddsa_test.txt",
762        "src/third_party/wycheproof_testvectors/hkdf_sha1_test.txt",
763        "src/third_party/wycheproof_testvectors/hkdf_sha256_test.txt",
764        "src/third_party/wycheproof_testvectors/hkdf_sha384_test.txt",
765        "src/third_party/wycheproof_testvectors/hkdf_sha512_test.txt",
766        "src/third_party/wycheproof_testvectors/hmac_sha1_test.txt",
767        "src/third_party/wycheproof_testvectors/hmac_sha224_test.txt",
768        "src/third_party/wycheproof_testvectors/hmac_sha256_test.txt",
769        "src/third_party/wycheproof_testvectors/hmac_sha384_test.txt",
770        "src/third_party/wycheproof_testvectors/hmac_sha512_test.txt",
771        "src/third_party/wycheproof_testvectors/kw_test.txt",
772        "src/third_party/wycheproof_testvectors/kwp_test.txt",
773        "src/third_party/wycheproof_testvectors/primality_test.txt",
774        "src/third_party/wycheproof_testvectors/rsa_oaep_2048_sha1_mgf1sha1_test.txt",
775        "src/third_party/wycheproof_testvectors/rsa_oaep_2048_sha224_mgf1sha1_test.txt",
776        "src/third_party/wycheproof_testvectors/rsa_oaep_2048_sha224_mgf1sha224_test.txt",
777        "src/third_party/wycheproof_testvectors/rsa_oaep_2048_sha256_mgf1sha1_test.txt",
778        "src/third_party/wycheproof_testvectors/rsa_oaep_2048_sha256_mgf1sha256_test.txt",
779        "src/third_party/wycheproof_testvectors/rsa_oaep_2048_sha384_mgf1sha1_test.txt",
780        "src/third_party/wycheproof_testvectors/rsa_oaep_2048_sha384_mgf1sha384_test.txt",
781        "src/third_party/wycheproof_testvectors/rsa_oaep_2048_sha512_mgf1sha1_test.txt",
782        "src/third_party/wycheproof_testvectors/rsa_oaep_2048_sha512_mgf1sha512_test.txt",
783        "src/third_party/wycheproof_testvectors/rsa_oaep_3072_sha256_mgf1sha1_test.txt",
784        "src/third_party/wycheproof_testvectors/rsa_oaep_3072_sha256_mgf1sha256_test.txt",
785        "src/third_party/wycheproof_testvectors/rsa_oaep_3072_sha512_mgf1sha1_test.txt",
786        "src/third_party/wycheproof_testvectors/rsa_oaep_3072_sha512_mgf1sha512_test.txt",
787        "src/third_party/wycheproof_testvectors/rsa_oaep_4096_sha256_mgf1sha1_test.txt",
788        "src/third_party/wycheproof_testvectors/rsa_oaep_4096_sha256_mgf1sha256_test.txt",
789        "src/third_party/wycheproof_testvectors/rsa_oaep_4096_sha512_mgf1sha1_test.txt",
790        "src/third_party/wycheproof_testvectors/rsa_oaep_4096_sha512_mgf1sha512_test.txt",
791        "src/third_party/wycheproof_testvectors/rsa_oaep_misc_test.txt",
792        "src/third_party/wycheproof_testvectors/rsa_pkcs1_2048_test.txt",
793        "src/third_party/wycheproof_testvectors/rsa_pkcs1_3072_test.txt",
794        "src/third_party/wycheproof_testvectors/rsa_pkcs1_4096_test.txt",
795        "src/third_party/wycheproof_testvectors/rsa_pss_2048_sha1_mgf1_20_test.txt",
796        "src/third_party/wycheproof_testvectors/rsa_pss_2048_sha256_mgf1_0_test.txt",
797        "src/third_party/wycheproof_testvectors/rsa_pss_2048_sha256_mgf1_32_test.txt",
798        "src/third_party/wycheproof_testvectors/rsa_pss_3072_sha256_mgf1_32_test.txt",
799        "src/third_party/wycheproof_testvectors/rsa_pss_4096_sha256_mgf1_32_test.txt",
800        "src/third_party/wycheproof_testvectors/rsa_pss_4096_sha512_mgf1_32_test.txt",
801        "src/third_party/wycheproof_testvectors/rsa_pss_misc_test.txt",
802        "src/third_party/wycheproof_testvectors/rsa_sig_gen_misc_test.txt",
803        "src/third_party/wycheproof_testvectors/rsa_signature_2048_sha224_test.txt",
804        "src/third_party/wycheproof_testvectors/rsa_signature_2048_sha256_test.txt",
805        "src/third_party/wycheproof_testvectors/rsa_signature_2048_sha384_test.txt",
806        "src/third_party/wycheproof_testvectors/rsa_signature_2048_sha512_test.txt",
807        "src/third_party/wycheproof_testvectors/rsa_signature_3072_sha256_test.txt",
808        "src/third_party/wycheproof_testvectors/rsa_signature_3072_sha384_test.txt",
809        "src/third_party/wycheproof_testvectors/rsa_signature_3072_sha512_test.txt",
810        "src/third_party/wycheproof_testvectors/rsa_signature_4096_sha384_test.txt",
811        "src/third_party/wycheproof_testvectors/rsa_signature_4096_sha512_test.txt",
812        "src/third_party/wycheproof_testvectors/rsa_signature_test.txt",
813        "src/third_party/wycheproof_testvectors/x25519_test.txt",
814        "src/third_party/wycheproof_testvectors/xchacha20_poly1305_test.txt",
815    ],
816}
817
818cc_defaults {
819    name: "boringssl_ssl_test_sources",
820    srcs: [
821        "src/crypto/test/gtest_main.cc",
822        "src/ssl/span_test.cc",
823        "src/ssl/ssl_c_test.c",
824        "src/ssl/ssl_test.cc",
825    ],
826}
827
828cc_defaults {
829    name: "libpki_sources",
830    srcs: [
831        "src/pki/cert_error_id.cc",
832        "src/pki/cert_error_params.cc",
833        "src/pki/cert_errors.cc",
834        "src/pki/cert_issuer_source_static.cc",
835        "src/pki/certificate.cc",
836        "src/pki/certificate_policies.cc",
837        "src/pki/common_cert_errors.cc",
838        "src/pki/crl.cc",
839        "src/pki/encode_values.cc",
840        "src/pki/extended_key_usage.cc",
841        "src/pki/general_names.cc",
842        "src/pki/input.cc",
843        "src/pki/ip_util.cc",
844        "src/pki/name_constraints.cc",
845        "src/pki/ocsp.cc",
846        "src/pki/ocsp_verify_result.cc",
847        "src/pki/parse_certificate.cc",
848        "src/pki/parse_name.cc",
849        "src/pki/parse_values.cc",
850        "src/pki/parsed_certificate.cc",
851        "src/pki/parser.cc",
852        "src/pki/path_builder.cc",
853        "src/pki/pem.cc",
854        "src/pki/revocation_util.cc",
855        "src/pki/signature_algorithm.cc",
856        "src/pki/simple_path_builder_delegate.cc",
857        "src/pki/string_util.cc",
858        "src/pki/trust_store.cc",
859        "src/pki/trust_store_collection.cc",
860        "src/pki/trust_store_in_memory.cc",
861        "src/pki/verify.cc",
862        "src/pki/verify_certificate_chain.cc",
863        "src/pki/verify_error.cc",
864        "src/pki/verify_name_match.cc",
865        "src/pki/verify_signed_data.cc",
866    ],
867}
868