• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2015 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// This file is created by generate_build_files.py. Do not edit manually.
16
17cc_defaults {
18    name: "libcrypto_sources",
19    srcs: [
20        "err_data.c",
21        "src/crypto/asn1/a_bitstr.c",
22        "src/crypto/asn1/a_bool.c",
23        "src/crypto/asn1/a_d2i_fp.c",
24        "src/crypto/asn1/a_dup.c",
25        "src/crypto/asn1/a_enum.c",
26        "src/crypto/asn1/a_gentm.c",
27        "src/crypto/asn1/a_i2d_fp.c",
28        "src/crypto/asn1/a_int.c",
29        "src/crypto/asn1/a_mbstr.c",
30        "src/crypto/asn1/a_object.c",
31        "src/crypto/asn1/a_octet.c",
32        "src/crypto/asn1/a_print.c",
33        "src/crypto/asn1/a_strnid.c",
34        "src/crypto/asn1/a_time.c",
35        "src/crypto/asn1/a_type.c",
36        "src/crypto/asn1/a_utctm.c",
37        "src/crypto/asn1/a_utf8.c",
38        "src/crypto/asn1/asn1_lib.c",
39        "src/crypto/asn1/asn1_par.c",
40        "src/crypto/asn1/asn_pack.c",
41        "src/crypto/asn1/f_enum.c",
42        "src/crypto/asn1/f_int.c",
43        "src/crypto/asn1/f_string.c",
44        "src/crypto/asn1/tasn_dec.c",
45        "src/crypto/asn1/tasn_enc.c",
46        "src/crypto/asn1/tasn_fre.c",
47        "src/crypto/asn1/tasn_new.c",
48        "src/crypto/asn1/tasn_typ.c",
49        "src/crypto/asn1/tasn_utl.c",
50        "src/crypto/asn1/time_support.c",
51        "src/crypto/base64/base64.c",
52        "src/crypto/bio/bio.c",
53        "src/crypto/bio/bio_mem.c",
54        "src/crypto/bio/connect.c",
55        "src/crypto/bio/fd.c",
56        "src/crypto/bio/file.c",
57        "src/crypto/bio/hexdump.c",
58        "src/crypto/bio/pair.c",
59        "src/crypto/bio/printf.c",
60        "src/crypto/bio/socket.c",
61        "src/crypto/bio/socket_helper.c",
62        "src/crypto/bn_extra/bn_asn1.c",
63        "src/crypto/bn_extra/convert.c",
64        "src/crypto/buf/buf.c",
65        "src/crypto/bytestring/asn1_compat.c",
66        "src/crypto/bytestring/ber.c",
67        "src/crypto/bytestring/cbb.c",
68        "src/crypto/bytestring/cbs.c",
69        "src/crypto/bytestring/unicode.c",
70        "src/crypto/chacha/chacha.c",
71        "src/crypto/cipher_extra/cipher_extra.c",
72        "src/crypto/cipher_extra/derive_key.c",
73        "src/crypto/cipher_extra/e_aesccm.c",
74        "src/crypto/cipher_extra/e_aesctrhmac.c",
75        "src/crypto/cipher_extra/e_aesgcmsiv.c",
76        "src/crypto/cipher_extra/e_chacha20poly1305.c",
77        "src/crypto/cipher_extra/e_null.c",
78        "src/crypto/cipher_extra/e_rc2.c",
79        "src/crypto/cipher_extra/e_rc4.c",
80        "src/crypto/cipher_extra/e_tls.c",
81        "src/crypto/cipher_extra/tls_cbc.c",
82        "src/crypto/cmac/cmac.c",
83        "src/crypto/conf/conf.c",
84        "src/crypto/cpu-aarch64-fuchsia.c",
85        "src/crypto/cpu-aarch64-linux.c",
86        "src/crypto/cpu-arm-linux.c",
87        "src/crypto/cpu-arm.c",
88        "src/crypto/cpu-intel.c",
89        "src/crypto/cpu-ppc64le.c",
90        "src/crypto/crypto.c",
91        "src/crypto/curve25519/spake25519.c",
92        "src/crypto/dh/check.c",
93        "src/crypto/dh/dh.c",
94        "src/crypto/dh/dh_asn1.c",
95        "src/crypto/dh/params.c",
96        "src/crypto/digest_extra/digest_extra.c",
97        "src/crypto/dsa/dsa.c",
98        "src/crypto/dsa/dsa_asn1.c",
99        "src/crypto/ec_extra/ec_asn1.c",
100        "src/crypto/ec_extra/ec_derive.c",
101        "src/crypto/ecdh_extra/ecdh_extra.c",
102        "src/crypto/ecdsa_extra/ecdsa_asn1.c",
103        "src/crypto/engine/engine.c",
104        "src/crypto/err/err.c",
105        "src/crypto/evp/digestsign.c",
106        "src/crypto/evp/evp.c",
107        "src/crypto/evp/evp_asn1.c",
108        "src/crypto/evp/evp_ctx.c",
109        "src/crypto/evp/p_dsa_asn1.c",
110        "src/crypto/evp/p_ec.c",
111        "src/crypto/evp/p_ec_asn1.c",
112        "src/crypto/evp/p_ed25519.c",
113        "src/crypto/evp/p_ed25519_asn1.c",
114        "src/crypto/evp/p_rsa.c",
115        "src/crypto/evp/p_rsa_asn1.c",
116        "src/crypto/evp/p_x25519.c",
117        "src/crypto/evp/p_x25519_asn1.c",
118        "src/crypto/evp/pbkdf.c",
119        "src/crypto/evp/print.c",
120        "src/crypto/evp/scrypt.c",
121        "src/crypto/evp/sign.c",
122        "src/crypto/ex_data.c",
123        "src/crypto/fipsmodule/fips_shared_support.c",
124        "src/crypto/fipsmodule/is_fips.c",
125        "src/crypto/hkdf/hkdf.c",
126        "src/crypto/hrss/hrss.c",
127        "src/crypto/lhash/lhash.c",
128        "src/crypto/mem.c",
129        "src/crypto/obj/obj.c",
130        "src/crypto/obj/obj_xref.c",
131        "src/crypto/pem/pem_all.c",
132        "src/crypto/pem/pem_info.c",
133        "src/crypto/pem/pem_lib.c",
134        "src/crypto/pem/pem_oth.c",
135        "src/crypto/pem/pem_pk8.c",
136        "src/crypto/pem/pem_pkey.c",
137        "src/crypto/pem/pem_x509.c",
138        "src/crypto/pem/pem_xaux.c",
139        "src/crypto/pkcs7/pkcs7.c",
140        "src/crypto/pkcs7/pkcs7_x509.c",
141        "src/crypto/pkcs8/p5_pbev2.c",
142        "src/crypto/pkcs8/pkcs8.c",
143        "src/crypto/pkcs8/pkcs8_x509.c",
144        "src/crypto/poly1305/poly1305.c",
145        "src/crypto/poly1305/poly1305_arm.c",
146        "src/crypto/poly1305/poly1305_vec.c",
147        "src/crypto/pool/pool.c",
148        "src/crypto/rand_extra/deterministic.c",
149        "src/crypto/rand_extra/forkunsafe.c",
150        "src/crypto/rand_extra/fuchsia.c",
151        "src/crypto/rand_extra/rand_extra.c",
152        "src/crypto/rand_extra/windows.c",
153        "src/crypto/rc4/rc4.c",
154        "src/crypto/refcount_c11.c",
155        "src/crypto/refcount_lock.c",
156        "src/crypto/rsa_extra/rsa_asn1.c",
157        "src/crypto/rsa_extra/rsa_print.c",
158        "src/crypto/siphash/siphash.c",
159        "src/crypto/stack/stack.c",
160        "src/crypto/thread.c",
161        "src/crypto/thread_none.c",
162        "src/crypto/thread_pthread.c",
163        "src/crypto/thread_win.c",
164        "src/crypto/x509/a_digest.c",
165        "src/crypto/x509/a_sign.c",
166        "src/crypto/x509/a_strex.c",
167        "src/crypto/x509/a_verify.c",
168        "src/crypto/x509/algorithm.c",
169        "src/crypto/x509/asn1_gen.c",
170        "src/crypto/x509/by_dir.c",
171        "src/crypto/x509/by_file.c",
172        "src/crypto/x509/i2d_pr.c",
173        "src/crypto/x509/rsa_pss.c",
174        "src/crypto/x509/t_crl.c",
175        "src/crypto/x509/t_req.c",
176        "src/crypto/x509/t_x509.c",
177        "src/crypto/x509/t_x509a.c",
178        "src/crypto/x509/x509.c",
179        "src/crypto/x509/x509_att.c",
180        "src/crypto/x509/x509_cmp.c",
181        "src/crypto/x509/x509_d2.c",
182        "src/crypto/x509/x509_def.c",
183        "src/crypto/x509/x509_ext.c",
184        "src/crypto/x509/x509_lu.c",
185        "src/crypto/x509/x509_obj.c",
186        "src/crypto/x509/x509_r2x.c",
187        "src/crypto/x509/x509_req.c",
188        "src/crypto/x509/x509_set.c",
189        "src/crypto/x509/x509_trs.c",
190        "src/crypto/x509/x509_txt.c",
191        "src/crypto/x509/x509_v3.c",
192        "src/crypto/x509/x509_vfy.c",
193        "src/crypto/x509/x509_vpm.c",
194        "src/crypto/x509/x509cset.c",
195        "src/crypto/x509/x509name.c",
196        "src/crypto/x509/x509rset.c",
197        "src/crypto/x509/x509spki.c",
198        "src/crypto/x509/x_algor.c",
199        "src/crypto/x509/x_all.c",
200        "src/crypto/x509/x_attrib.c",
201        "src/crypto/x509/x_crl.c",
202        "src/crypto/x509/x_exten.c",
203        "src/crypto/x509/x_info.c",
204        "src/crypto/x509/x_name.c",
205        "src/crypto/x509/x_pkey.c",
206        "src/crypto/x509/x_pubkey.c",
207        "src/crypto/x509/x_req.c",
208        "src/crypto/x509/x_sig.c",
209        "src/crypto/x509/x_spki.c",
210        "src/crypto/x509/x_val.c",
211        "src/crypto/x509/x_x509.c",
212        "src/crypto/x509/x_x509a.c",
213        "src/crypto/x509v3/pcy_cache.c",
214        "src/crypto/x509v3/pcy_data.c",
215        "src/crypto/x509v3/pcy_lib.c",
216        "src/crypto/x509v3/pcy_map.c",
217        "src/crypto/x509v3/pcy_node.c",
218        "src/crypto/x509v3/pcy_tree.c",
219        "src/crypto/x509v3/v3_akey.c",
220        "src/crypto/x509v3/v3_akeya.c",
221        "src/crypto/x509v3/v3_alt.c",
222        "src/crypto/x509v3/v3_bcons.c",
223        "src/crypto/x509v3/v3_bitst.c",
224        "src/crypto/x509v3/v3_conf.c",
225        "src/crypto/x509v3/v3_cpols.c",
226        "src/crypto/x509v3/v3_crld.c",
227        "src/crypto/x509v3/v3_enum.c",
228        "src/crypto/x509v3/v3_extku.c",
229        "src/crypto/x509v3/v3_genn.c",
230        "src/crypto/x509v3/v3_ia5.c",
231        "src/crypto/x509v3/v3_info.c",
232        "src/crypto/x509v3/v3_int.c",
233        "src/crypto/x509v3/v3_lib.c",
234        "src/crypto/x509v3/v3_ncons.c",
235        "src/crypto/x509v3/v3_ocsp.c",
236        "src/crypto/x509v3/v3_pci.c",
237        "src/crypto/x509v3/v3_pcia.c",
238        "src/crypto/x509v3/v3_pcons.c",
239        "src/crypto/x509v3/v3_pku.c",
240        "src/crypto/x509v3/v3_pmaps.c",
241        "src/crypto/x509v3/v3_prn.c",
242        "src/crypto/x509v3/v3_purp.c",
243        "src/crypto/x509v3/v3_skey.c",
244        "src/crypto/x509v3/v3_sxnet.c",
245        "src/crypto/x509v3/v3_utl.c",
246        "src/third_party/fiat/curve25519.c",
247    ],
248    target: {
249        linux_arm64: {
250            srcs: [
251                "linux-aarch64/crypto/chacha/chacha-armv8.S",
252                "linux-aarch64/crypto/test/trampoline-armv8.S",
253            ],
254        },
255        linux_arm: {
256            srcs: [
257                "linux-arm/crypto/chacha/chacha-armv4.S",
258                "linux-arm/crypto/test/trampoline-armv4.S",
259                "src/crypto/curve25519/asm/x25519-asm-arm.S",
260                "src/crypto/poly1305/poly1305_arm_asm.S",
261            ],
262        },
263        linux_x86: {
264            srcs: [
265                "linux-x86/crypto/chacha/chacha-x86.S",
266                "linux-x86/crypto/test/trampoline-x86.S",
267            ],
268        },
269        linux_x86_64: {
270            srcs: [
271                "linux-x86_64/crypto/chacha/chacha-x86_64.S",
272                "linux-x86_64/crypto/cipher_extra/aes128gcmsiv-x86_64.S",
273                "linux-x86_64/crypto/cipher_extra/chacha20_poly1305_x86_64.S",
274                "linux-x86_64/crypto/test/trampoline-x86_64.S",
275                "src/crypto/hrss/asm/poly_rq_mul.S",
276            ],
277        },
278    },
279}
280
281cc_defaults {
282    name: "libcrypto_bcm_sources",
283    srcs: [
284        "src/crypto/fipsmodule/bcm.c",
285    ],
286    target: {
287        linux_arm64: {
288            srcs: [
289                "linux-aarch64/crypto/fipsmodule/aesv8-armx64.S",
290                "linux-aarch64/crypto/fipsmodule/armv8-mont.S",
291                "linux-aarch64/crypto/fipsmodule/ghash-neon-armv8.S",
292                "linux-aarch64/crypto/fipsmodule/ghashv8-armx64.S",
293                "linux-aarch64/crypto/fipsmodule/sha1-armv8.S",
294                "linux-aarch64/crypto/fipsmodule/sha256-armv8.S",
295                "linux-aarch64/crypto/fipsmodule/sha512-armv8.S",
296                "linux-aarch64/crypto/fipsmodule/vpaes-armv8.S",
297            ],
298        },
299        linux_arm: {
300            srcs: [
301                "linux-arm/crypto/fipsmodule/aes-armv4.S",
302                "linux-arm/crypto/fipsmodule/aesv8-armx32.S",
303                "linux-arm/crypto/fipsmodule/armv4-mont.S",
304                "linux-arm/crypto/fipsmodule/bsaes-armv7.S",
305                "linux-arm/crypto/fipsmodule/ghash-armv4.S",
306                "linux-arm/crypto/fipsmodule/ghashv8-armx32.S",
307                "linux-arm/crypto/fipsmodule/sha1-armv4-large.S",
308                "linux-arm/crypto/fipsmodule/sha256-armv4.S",
309                "linux-arm/crypto/fipsmodule/sha512-armv4.S",
310                "linux-arm/crypto/fipsmodule/vpaes-armv7.S",
311            ],
312        },
313        linux_x86: {
314            srcs: [
315                "linux-x86/crypto/fipsmodule/aes-586.S",
316                "linux-x86/crypto/fipsmodule/aesni-x86.S",
317                "linux-x86/crypto/fipsmodule/bn-586.S",
318                "linux-x86/crypto/fipsmodule/co-586.S",
319                "linux-x86/crypto/fipsmodule/ghash-ssse3-x86.S",
320                "linux-x86/crypto/fipsmodule/ghash-x86.S",
321                "linux-x86/crypto/fipsmodule/md5-586.S",
322                "linux-x86/crypto/fipsmodule/sha1-586.S",
323                "linux-x86/crypto/fipsmodule/sha256-586.S",
324                "linux-x86/crypto/fipsmodule/sha512-586.S",
325                "linux-x86/crypto/fipsmodule/vpaes-x86.S",
326                "linux-x86/crypto/fipsmodule/x86-mont.S",
327            ],
328        },
329        linux_x86_64: {
330            srcs: [
331                "linux-x86_64/crypto/fipsmodule/aes-x86_64.S",
332                "linux-x86_64/crypto/fipsmodule/aesni-gcm-x86_64.S",
333                "linux-x86_64/crypto/fipsmodule/aesni-x86_64.S",
334                "linux-x86_64/crypto/fipsmodule/ghash-ssse3-x86_64.S",
335                "linux-x86_64/crypto/fipsmodule/ghash-x86_64.S",
336                "linux-x86_64/crypto/fipsmodule/md5-x86_64.S",
337                "linux-x86_64/crypto/fipsmodule/p256-x86_64-asm.S",
338                "linux-x86_64/crypto/fipsmodule/p256_beeu-x86_64-asm.S",
339                "linux-x86_64/crypto/fipsmodule/rdrand-x86_64.S",
340                "linux-x86_64/crypto/fipsmodule/rsaz-avx2.S",
341                "linux-x86_64/crypto/fipsmodule/sha1-x86_64.S",
342                "linux-x86_64/crypto/fipsmodule/sha256-x86_64.S",
343                "linux-x86_64/crypto/fipsmodule/sha512-x86_64.S",
344                "linux-x86_64/crypto/fipsmodule/vpaes-x86_64.S",
345                "linux-x86_64/crypto/fipsmodule/x86_64-mont.S",
346                "linux-x86_64/crypto/fipsmodule/x86_64-mont5.S",
347            ],
348        },
349    },
350}
351
352cc_defaults {
353    name: "libssl_sources",
354    srcs: [
355        "src/ssl/bio_ssl.cc",
356        "src/ssl/d1_both.cc",
357        "src/ssl/d1_lib.cc",
358        "src/ssl/d1_pkt.cc",
359        "src/ssl/d1_srtp.cc",
360        "src/ssl/dtls_method.cc",
361        "src/ssl/dtls_record.cc",
362        "src/ssl/handoff.cc",
363        "src/ssl/handshake.cc",
364        "src/ssl/handshake_client.cc",
365        "src/ssl/handshake_server.cc",
366        "src/ssl/s3_both.cc",
367        "src/ssl/s3_lib.cc",
368        "src/ssl/s3_pkt.cc",
369        "src/ssl/ssl_aead_ctx.cc",
370        "src/ssl/ssl_asn1.cc",
371        "src/ssl/ssl_buffer.cc",
372        "src/ssl/ssl_cert.cc",
373        "src/ssl/ssl_cipher.cc",
374        "src/ssl/ssl_file.cc",
375        "src/ssl/ssl_key_share.cc",
376        "src/ssl/ssl_lib.cc",
377        "src/ssl/ssl_privkey.cc",
378        "src/ssl/ssl_session.cc",
379        "src/ssl/ssl_stat.cc",
380        "src/ssl/ssl_transcript.cc",
381        "src/ssl/ssl_versions.cc",
382        "src/ssl/ssl_x509.cc",
383        "src/ssl/t1_enc.cc",
384        "src/ssl/t1_lib.cc",
385        "src/ssl/tls13_both.cc",
386        "src/ssl/tls13_client.cc",
387        "src/ssl/tls13_enc.cc",
388        "src/ssl/tls13_server.cc",
389        "src/ssl/tls_method.cc",
390        "src/ssl/tls_record.cc",
391    ],
392}
393
394cc_defaults {
395    name: "bssl_sources",
396    srcs: [
397        "src/tool/args.cc",
398        "src/tool/ciphers.cc",
399        "src/tool/client.cc",
400        "src/tool/const.cc",
401        "src/tool/digest.cc",
402        "src/tool/file.cc",
403        "src/tool/generate_ed25519.cc",
404        "src/tool/genrsa.cc",
405        "src/tool/pkcs12.cc",
406        "src/tool/rand.cc",
407        "src/tool/server.cc",
408        "src/tool/sign.cc",
409        "src/tool/speed.cc",
410        "src/tool/tool.cc",
411        "src/tool/transport_common.cc",
412    ],
413}
414
415cc_defaults {
416    name: "boringssl_test_support_sources",
417    srcs: [
418        "src/crypto/test/file_test.cc",
419        "src/crypto/test/malloc.cc",
420        "src/crypto/test/test_util.cc",
421        "src/crypto/test/wycheproof_util.cc",
422    ],
423}
424
425cc_defaults {
426    name: "boringssl_crypto_test_sources",
427    srcs: [
428        "crypto_test_data.cc",
429        "src/crypto/abi_self_test.cc",
430        "src/crypto/asn1/asn1_test.cc",
431        "src/crypto/base64/base64_test.cc",
432        "src/crypto/bio/bio_test.cc",
433        "src/crypto/buf/buf_test.cc",
434        "src/crypto/bytestring/bytestring_test.cc",
435        "src/crypto/chacha/chacha_test.cc",
436        "src/crypto/cipher_extra/aead_test.cc",
437        "src/crypto/cipher_extra/cipher_test.cc",
438        "src/crypto/cmac/cmac_test.cc",
439        "src/crypto/compiler_test.cc",
440        "src/crypto/constant_time_test.cc",
441        "src/crypto/cpu-arm-linux_test.cc",
442        "src/crypto/curve25519/ed25519_test.cc",
443        "src/crypto/curve25519/spake25519_test.cc",
444        "src/crypto/curve25519/x25519_test.cc",
445        "src/crypto/dh/dh_test.cc",
446        "src/crypto/digest_extra/digest_test.cc",
447        "src/crypto/dsa/dsa_test.cc",
448        "src/crypto/ecdh_extra/ecdh_test.cc",
449        "src/crypto/err/err_test.cc",
450        "src/crypto/evp/evp_extra_test.cc",
451        "src/crypto/evp/evp_test.cc",
452        "src/crypto/evp/pbkdf_test.cc",
453        "src/crypto/evp/scrypt_test.cc",
454        "src/crypto/fipsmodule/aes/aes_test.cc",
455        "src/crypto/fipsmodule/bn/bn_test.cc",
456        "src/crypto/fipsmodule/ec/ec_test.cc",
457        "src/crypto/fipsmodule/ec/p256-x86_64_test.cc",
458        "src/crypto/fipsmodule/ecdsa/ecdsa_test.cc",
459        "src/crypto/fipsmodule/md5/md5_test.cc",
460        "src/crypto/fipsmodule/modes/gcm_test.cc",
461        "src/crypto/fipsmodule/rand/ctrdrbg_test.cc",
462        "src/crypto/fipsmodule/sha/sha_test.cc",
463        "src/crypto/hkdf/hkdf_test.cc",
464        "src/crypto/hmac_extra/hmac_test.cc",
465        "src/crypto/hrss/hrss_test.cc",
466        "src/crypto/impl_dispatch_test.cc",
467        "src/crypto/lhash/lhash_test.cc",
468        "src/crypto/obj/obj_test.cc",
469        "src/crypto/pem/pem_test.cc",
470        "src/crypto/pkcs7/pkcs7_test.cc",
471        "src/crypto/pkcs8/pkcs12_test.cc",
472        "src/crypto/pkcs8/pkcs8_test.cc",
473        "src/crypto/poly1305/poly1305_test.cc",
474        "src/crypto/pool/pool_test.cc",
475        "src/crypto/rand_extra/rand_test.cc",
476        "src/crypto/refcount_test.cc",
477        "src/crypto/rsa_extra/rsa_test.cc",
478        "src/crypto/self_test.cc",
479        "src/crypto/siphash/siphash_test.cc",
480        "src/crypto/stack/stack_test.cc",
481        "src/crypto/test/abi_test.cc",
482        "src/crypto/test/file_test_gtest.cc",
483        "src/crypto/test/gtest_main.cc",
484        "src/crypto/thread_test.cc",
485        "src/crypto/x509/x509_test.cc",
486        "src/crypto/x509/x509_time_test.cc",
487        "src/crypto/x509v3/tab_test.cc",
488        "src/crypto/x509v3/v3name_test.cc",
489    ],
490}
491
492cc_defaults {
493    name: "boringssl_ssl_test_sources",
494    srcs: [
495        "src/crypto/test/abi_test.cc",
496        "src/crypto/test/gtest_main.cc",
497        "src/ssl/span_test.cc",
498        "src/ssl/ssl_c_test.c",
499        "src/ssl/ssl_test.cc",
500    ],
501}
502