blob: b49daae9fcfe3a66aa80d43965dbe16e04137a5e [file] [log] [blame]
Dan Willemsen21986fb2016-07-14 15:23:56 -07001// 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: [
Dan Willemsen21986fb2016-07-14 15:23:56 -070020 "err_data.c",
21 "src/crypto/aes/aes.c",
Steven Valdezbb1ceac2016-10-07 10:34:51 -040022 "src/crypto/aes/key_wrap.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070023 "src/crypto/aes/mode_wrappers.c",
24 "src/crypto/asn1/a_bitstr.c",
25 "src/crypto/asn1/a_bool.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070026 "src/crypto/asn1/a_d2i_fp.c",
27 "src/crypto/asn1/a_dup.c",
28 "src/crypto/asn1/a_enum.c",
29 "src/crypto/asn1/a_gentm.c",
30 "src/crypto/asn1/a_i2d_fp.c",
31 "src/crypto/asn1/a_int.c",
32 "src/crypto/asn1/a_mbstr.c",
33 "src/crypto/asn1/a_object.c",
34 "src/crypto/asn1/a_octet.c",
35 "src/crypto/asn1/a_print.c",
36 "src/crypto/asn1/a_strnid.c",
37 "src/crypto/asn1/a_time.c",
38 "src/crypto/asn1/a_type.c",
39 "src/crypto/asn1/a_utctm.c",
40 "src/crypto/asn1/a_utf8.c",
41 "src/crypto/asn1/asn1_lib.c",
42 "src/crypto/asn1/asn1_par.c",
43 "src/crypto/asn1/asn_pack.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070044 "src/crypto/asn1/f_enum.c",
45 "src/crypto/asn1/f_int.c",
46 "src/crypto/asn1/f_string.c",
47 "src/crypto/asn1/t_bitst.c",
48 "src/crypto/asn1/tasn_dec.c",
49 "src/crypto/asn1/tasn_enc.c",
50 "src/crypto/asn1/tasn_fre.c",
51 "src/crypto/asn1/tasn_new.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070052 "src/crypto/asn1/tasn_typ.c",
53 "src/crypto/asn1/tasn_utl.c",
Robert Sloana94fe052017-02-21 08:49:28 -080054 "src/crypto/asn1/time_support.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070055 "src/crypto/asn1/x_bignum.c",
56 "src/crypto/asn1/x_long.c",
57 "src/crypto/base64/base64.c",
58 "src/crypto/bio/bio.c",
59 "src/crypto/bio/bio_mem.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070060 "src/crypto/bio/connect.c",
61 "src/crypto/bio/fd.c",
62 "src/crypto/bio/file.c",
63 "src/crypto/bio/hexdump.c",
64 "src/crypto/bio/pair.c",
65 "src/crypto/bio/printf.c",
66 "src/crypto/bio/socket.c",
67 "src/crypto/bio/socket_helper.c",
68 "src/crypto/bn/add.c",
69 "src/crypto/bn/asm/x86_64-gcc.c",
70 "src/crypto/bn/bn.c",
71 "src/crypto/bn/bn_asn1.c",
72 "src/crypto/bn/cmp.c",
73 "src/crypto/bn/convert.c",
74 "src/crypto/bn/ctx.c",
75 "src/crypto/bn/div.c",
76 "src/crypto/bn/exponentiation.c",
77 "src/crypto/bn/gcd.c",
78 "src/crypto/bn/generic.c",
79 "src/crypto/bn/kronecker.c",
80 "src/crypto/bn/montgomery.c",
David Benjaminc895d6b2016-08-11 13:26:41 -040081 "src/crypto/bn/montgomery_inv.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070082 "src/crypto/bn/mul.c",
83 "src/crypto/bn/prime.c",
84 "src/crypto/bn/random.c",
85 "src/crypto/bn/rsaz_exp.c",
86 "src/crypto/bn/shift.c",
87 "src/crypto/bn/sqrt.c",
88 "src/crypto/buf/buf.c",
89 "src/crypto/bytestring/asn1_compat.c",
90 "src/crypto/bytestring/ber.c",
91 "src/crypto/bytestring/cbb.c",
92 "src/crypto/bytestring/cbs.c",
93 "src/crypto/chacha/chacha.c",
94 "src/crypto/cipher/aead.c",
95 "src/crypto/cipher/cipher.c",
96 "src/crypto/cipher/derive_key.c",
97 "src/crypto/cipher/e_aes.c",
98 "src/crypto/cipher/e_chacha20poly1305.c",
99 "src/crypto/cipher/e_des.c",
100 "src/crypto/cipher/e_null.c",
101 "src/crypto/cipher/e_rc2.c",
102 "src/crypto/cipher/e_rc4.c",
103 "src/crypto/cipher/e_ssl3.c",
104 "src/crypto/cipher/e_tls.c",
105 "src/crypto/cipher/tls_cbc.c",
106 "src/crypto/cmac/cmac.c",
107 "src/crypto/conf/conf.c",
108 "src/crypto/cpu-aarch64-linux.c",
109 "src/crypto/cpu-arm-linux.c",
110 "src/crypto/cpu-arm.c",
111 "src/crypto/cpu-intel.c",
Steven Valdezbb1ceac2016-10-07 10:34:51 -0400112 "src/crypto/cpu-ppc64le.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700113 "src/crypto/crypto.c",
114 "src/crypto/curve25519/curve25519.c",
115 "src/crypto/curve25519/spake25519.c",
116 "src/crypto/curve25519/x25519-x86_64.c",
117 "src/crypto/des/des.c",
118 "src/crypto/dh/check.c",
119 "src/crypto/dh/dh.c",
120 "src/crypto/dh/dh_asn1.c",
121 "src/crypto/dh/params.c",
122 "src/crypto/digest/digest.c",
123 "src/crypto/digest/digests.c",
124 "src/crypto/dsa/dsa.c",
125 "src/crypto/dsa/dsa_asn1.c",
126 "src/crypto/ec/ec.c",
127 "src/crypto/ec/ec_asn1.c",
128 "src/crypto/ec/ec_key.c",
129 "src/crypto/ec/ec_montgomery.c",
130 "src/crypto/ec/oct.c",
131 "src/crypto/ec/p224-64.c",
132 "src/crypto/ec/p256-64.c",
133 "src/crypto/ec/p256-x86_64.c",
134 "src/crypto/ec/simple.c",
135 "src/crypto/ec/util-64.c",
136 "src/crypto/ec/wnaf.c",
137 "src/crypto/ecdh/ecdh.c",
138 "src/crypto/ecdsa/ecdsa.c",
139 "src/crypto/ecdsa/ecdsa_asn1.c",
140 "src/crypto/engine/engine.c",
141 "src/crypto/err/err.c",
142 "src/crypto/evp/digestsign.c",
143 "src/crypto/evp/evp.c",
144 "src/crypto/evp/evp_asn1.c",
145 "src/crypto/evp/evp_ctx.c",
146 "src/crypto/evp/p_dsa_asn1.c",
147 "src/crypto/evp/p_ec.c",
148 "src/crypto/evp/p_ec_asn1.c",
149 "src/crypto/evp/p_rsa.c",
150 "src/crypto/evp/p_rsa_asn1.c",
151 "src/crypto/evp/pbkdf.c",
152 "src/crypto/evp/print.c",
153 "src/crypto/evp/sign.c",
154 "src/crypto/ex_data.c",
155 "src/crypto/hkdf/hkdf.c",
156 "src/crypto/hmac/hmac.c",
157 "src/crypto/lhash/lhash.c",
158 "src/crypto/md4/md4.c",
159 "src/crypto/md5/md5.c",
160 "src/crypto/mem.c",
161 "src/crypto/modes/cbc.c",
162 "src/crypto/modes/cfb.c",
163 "src/crypto/modes/ctr.c",
164 "src/crypto/modes/gcm.c",
165 "src/crypto/modes/ofb.c",
David Benjamin1b249672016-12-06 18:25:50 -0500166 "src/crypto/modes/polyval.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700167 "src/crypto/obj/obj.c",
168 "src/crypto/obj/obj_xref.c",
169 "src/crypto/pem/pem_all.c",
170 "src/crypto/pem/pem_info.c",
171 "src/crypto/pem/pem_lib.c",
172 "src/crypto/pem/pem_oth.c",
173 "src/crypto/pem/pem_pk8.c",
174 "src/crypto/pem/pem_pkey.c",
175 "src/crypto/pem/pem_x509.c",
176 "src/crypto/pem/pem_xaux.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700177 "src/crypto/pkcs8/p5_pbev2.c",
178 "src/crypto/pkcs8/p8_pkey.c",
179 "src/crypto/pkcs8/pkcs8.c",
180 "src/crypto/poly1305/poly1305.c",
181 "src/crypto/poly1305/poly1305_arm.c",
182 "src/crypto/poly1305/poly1305_vec.c",
Steven Valdez909b19f2016-11-21 15:35:44 -0500183 "src/crypto/pool/pool.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700184 "src/crypto/rand/deterministic.c",
Steven Valdezb0b45c62017-01-17 16:23:54 -0500185 "src/crypto/rand/fuchsia.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700186 "src/crypto/rand/rand.c",
187 "src/crypto/rand/urandom.c",
188 "src/crypto/rand/windows.c",
189 "src/crypto/rc4/rc4.c",
190 "src/crypto/refcount_c11.c",
191 "src/crypto/refcount_lock.c",
192 "src/crypto/rsa/blinding.c",
193 "src/crypto/rsa/padding.c",
194 "src/crypto/rsa/rsa.c",
195 "src/crypto/rsa/rsa_asn1.c",
196 "src/crypto/rsa/rsa_impl.c",
Steven Valdez909b19f2016-11-21 15:35:44 -0500197 "src/crypto/sha/sha1-altivec.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700198 "src/crypto/sha/sha1.c",
199 "src/crypto/sha/sha256.c",
200 "src/crypto/sha/sha512.c",
201 "src/crypto/stack/stack.c",
202 "src/crypto/thread.c",
203 "src/crypto/thread_none.c",
204 "src/crypto/thread_pthread.c",
205 "src/crypto/thread_win.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700206 "src/crypto/x509/a_digest.c",
207 "src/crypto/x509/a_sign.c",
208 "src/crypto/x509/a_strex.c",
209 "src/crypto/x509/a_verify.c",
210 "src/crypto/x509/algorithm.c",
211 "src/crypto/x509/asn1_gen.c",
212 "src/crypto/x509/by_dir.c",
213 "src/crypto/x509/by_file.c",
214 "src/crypto/x509/i2d_pr.c",
215 "src/crypto/x509/pkcs7.c",
216 "src/crypto/x509/rsa_pss.c",
217 "src/crypto/x509/t_crl.c",
218 "src/crypto/x509/t_req.c",
219 "src/crypto/x509/t_x509.c",
220 "src/crypto/x509/t_x509a.c",
221 "src/crypto/x509/x509.c",
222 "src/crypto/x509/x509_att.c",
223 "src/crypto/x509/x509_cmp.c",
224 "src/crypto/x509/x509_d2.c",
225 "src/crypto/x509/x509_def.c",
226 "src/crypto/x509/x509_ext.c",
227 "src/crypto/x509/x509_lu.c",
228 "src/crypto/x509/x509_obj.c",
229 "src/crypto/x509/x509_r2x.c",
230 "src/crypto/x509/x509_req.c",
231 "src/crypto/x509/x509_set.c",
232 "src/crypto/x509/x509_trs.c",
233 "src/crypto/x509/x509_txt.c",
234 "src/crypto/x509/x509_v3.c",
235 "src/crypto/x509/x509_vfy.c",
236 "src/crypto/x509/x509_vpm.c",
237 "src/crypto/x509/x509cset.c",
238 "src/crypto/x509/x509name.c",
239 "src/crypto/x509/x509rset.c",
240 "src/crypto/x509/x509spki.c",
241 "src/crypto/x509/x509type.c",
242 "src/crypto/x509/x_algor.c",
243 "src/crypto/x509/x_all.c",
244 "src/crypto/x509/x_attrib.c",
245 "src/crypto/x509/x_crl.c",
246 "src/crypto/x509/x_exten.c",
247 "src/crypto/x509/x_info.c",
248 "src/crypto/x509/x_name.c",
249 "src/crypto/x509/x_pkey.c",
250 "src/crypto/x509/x_pubkey.c",
251 "src/crypto/x509/x_req.c",
252 "src/crypto/x509/x_sig.c",
253 "src/crypto/x509/x_spki.c",
254 "src/crypto/x509/x_val.c",
255 "src/crypto/x509/x_x509.c",
256 "src/crypto/x509/x_x509a.c",
257 "src/crypto/x509v3/pcy_cache.c",
258 "src/crypto/x509v3/pcy_data.c",
259 "src/crypto/x509v3/pcy_lib.c",
260 "src/crypto/x509v3/pcy_map.c",
261 "src/crypto/x509v3/pcy_node.c",
262 "src/crypto/x509v3/pcy_tree.c",
263 "src/crypto/x509v3/v3_akey.c",
264 "src/crypto/x509v3/v3_akeya.c",
265 "src/crypto/x509v3/v3_alt.c",
266 "src/crypto/x509v3/v3_bcons.c",
267 "src/crypto/x509v3/v3_bitst.c",
268 "src/crypto/x509v3/v3_conf.c",
269 "src/crypto/x509v3/v3_cpols.c",
270 "src/crypto/x509v3/v3_crld.c",
271 "src/crypto/x509v3/v3_enum.c",
272 "src/crypto/x509v3/v3_extku.c",
273 "src/crypto/x509v3/v3_genn.c",
274 "src/crypto/x509v3/v3_ia5.c",
275 "src/crypto/x509v3/v3_info.c",
276 "src/crypto/x509v3/v3_int.c",
277 "src/crypto/x509v3/v3_lib.c",
278 "src/crypto/x509v3/v3_ncons.c",
279 "src/crypto/x509v3/v3_pci.c",
280 "src/crypto/x509v3/v3_pcia.c",
281 "src/crypto/x509v3/v3_pcons.c",
282 "src/crypto/x509v3/v3_pku.c",
283 "src/crypto/x509v3/v3_pmaps.c",
284 "src/crypto/x509v3/v3_prn.c",
285 "src/crypto/x509v3/v3_purp.c",
286 "src/crypto/x509v3/v3_skey.c",
287 "src/crypto/x509v3/v3_sxnet.c",
288 "src/crypto/x509v3/v3_utl.c",
289 ],
290 target: {
291 android_arm64: {
292 srcs: [
293 "linux-aarch64/crypto/aes/aesv8-armx64.S",
294 "linux-aarch64/crypto/bn/armv8-mont.S",
295 "linux-aarch64/crypto/chacha/chacha-armv8.S",
296 "linux-aarch64/crypto/modes/ghashv8-armx64.S",
297 "linux-aarch64/crypto/sha/sha1-armv8.S",
298 "linux-aarch64/crypto/sha/sha256-armv8.S",
299 "linux-aarch64/crypto/sha/sha512-armv8.S",
300 ],
301 },
302 android_arm: {
303 srcs: [
304 "linux-arm/crypto/aes/aes-armv4.S",
305 "linux-arm/crypto/aes/aesv8-armx32.S",
306 "linux-arm/crypto/aes/bsaes-armv7.S",
307 "linux-arm/crypto/bn/armv4-mont.S",
308 "linux-arm/crypto/chacha/chacha-armv4.S",
309 "linux-arm/crypto/modes/ghash-armv4.S",
310 "linux-arm/crypto/modes/ghashv8-armx32.S",
311 "linux-arm/crypto/sha/sha1-armv4-large.S",
312 "linux-arm/crypto/sha/sha256-armv4.S",
313 "linux-arm/crypto/sha/sha512-armv4.S",
314 "src/crypto/curve25519/asm/x25519-asm-arm.S",
315 "src/crypto/poly1305/poly1305_arm_asm.S",
316 ],
317 },
318 android_x86: {
319 srcs: [
320 "linux-x86/crypto/aes/aes-586.S",
321 "linux-x86/crypto/aes/aesni-x86.S",
322 "linux-x86/crypto/aes/vpaes-x86.S",
323 "linux-x86/crypto/bn/bn-586.S",
324 "linux-x86/crypto/bn/co-586.S",
325 "linux-x86/crypto/bn/x86-mont.S",
326 "linux-x86/crypto/chacha/chacha-x86.S",
327 "linux-x86/crypto/md5/md5-586.S",
328 "linux-x86/crypto/modes/ghash-x86.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700329 "linux-x86/crypto/sha/sha1-586.S",
330 "linux-x86/crypto/sha/sha256-586.S",
331 "linux-x86/crypto/sha/sha512-586.S",
332 ],
333 },
334 linux_x86: {
335 srcs: [
336 "linux-x86/crypto/aes/aes-586.S",
337 "linux-x86/crypto/aes/aesni-x86.S",
338 "linux-x86/crypto/aes/vpaes-x86.S",
339 "linux-x86/crypto/bn/bn-586.S",
340 "linux-x86/crypto/bn/co-586.S",
341 "linux-x86/crypto/bn/x86-mont.S",
342 "linux-x86/crypto/chacha/chacha-x86.S",
343 "linux-x86/crypto/md5/md5-586.S",
344 "linux-x86/crypto/modes/ghash-x86.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700345 "linux-x86/crypto/sha/sha1-586.S",
346 "linux-x86/crypto/sha/sha256-586.S",
347 "linux-x86/crypto/sha/sha512-586.S",
348 ],
349 },
350 android_x86_64: {
351 srcs: [
352 "linux-x86_64/crypto/aes/aes-x86_64.S",
353 "linux-x86_64/crypto/aes/aesni-x86_64.S",
354 "linux-x86_64/crypto/aes/bsaes-x86_64.S",
355 "linux-x86_64/crypto/aes/vpaes-x86_64.S",
356 "linux-x86_64/crypto/bn/rsaz-avx2.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700357 "linux-x86_64/crypto/bn/x86_64-mont.S",
358 "linux-x86_64/crypto/bn/x86_64-mont5.S",
359 "linux-x86_64/crypto/chacha/chacha-x86_64.S",
David Benjaminf31229b2017-01-25 14:08:15 -0500360 "linux-x86_64/crypto/cipher/chacha20_poly1305_x86_64.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700361 "linux-x86_64/crypto/ec/p256-x86_64-asm.S",
362 "linux-x86_64/crypto/md5/md5-x86_64.S",
363 "linux-x86_64/crypto/modes/aesni-gcm-x86_64.S",
364 "linux-x86_64/crypto/modes/ghash-x86_64.S",
365 "linux-x86_64/crypto/rand/rdrand-x86_64.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700366 "linux-x86_64/crypto/sha/sha1-x86_64.S",
367 "linux-x86_64/crypto/sha/sha256-x86_64.S",
368 "linux-x86_64/crypto/sha/sha512-x86_64.S",
369 "src/crypto/curve25519/asm/x25519-asm-x86_64.S",
370 ],
371 },
372 linux_x86_64: {
373 srcs: [
374 "linux-x86_64/crypto/aes/aes-x86_64.S",
375 "linux-x86_64/crypto/aes/aesni-x86_64.S",
376 "linux-x86_64/crypto/aes/bsaes-x86_64.S",
377 "linux-x86_64/crypto/aes/vpaes-x86_64.S",
378 "linux-x86_64/crypto/bn/rsaz-avx2.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700379 "linux-x86_64/crypto/bn/x86_64-mont.S",
380 "linux-x86_64/crypto/bn/x86_64-mont5.S",
381 "linux-x86_64/crypto/chacha/chacha-x86_64.S",
David Benjaminf31229b2017-01-25 14:08:15 -0500382 "linux-x86_64/crypto/cipher/chacha20_poly1305_x86_64.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700383 "linux-x86_64/crypto/ec/p256-x86_64-asm.S",
384 "linux-x86_64/crypto/md5/md5-x86_64.S",
385 "linux-x86_64/crypto/modes/aesni-gcm-x86_64.S",
386 "linux-x86_64/crypto/modes/ghash-x86_64.S",
387 "linux-x86_64/crypto/rand/rdrand-x86_64.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700388 "linux-x86_64/crypto/sha/sha1-x86_64.S",
389 "linux-x86_64/crypto/sha/sha256-x86_64.S",
390 "linux-x86_64/crypto/sha/sha512-x86_64.S",
391 "src/crypto/curve25519/asm/x25519-asm-x86_64.S",
392 ],
393 },
394 },
395}
396
397cc_defaults {
398 name: "libssl_sources",
399 srcs: [
Robert Sloan4d1ac502017-02-06 08:36:14 -0800400 "src/ssl/bio_ssl.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700401 "src/ssl/custom_extensions.c",
402 "src/ssl/d1_both.c",
403 "src/ssl/d1_lib.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700404 "src/ssl/d1_pkt.c",
405 "src/ssl/d1_srtp.c",
David Benjaminc895d6b2016-08-11 13:26:41 -0400406 "src/ssl/dtls_method.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700407 "src/ssl/dtls_record.c",
408 "src/ssl/handshake_client.c",
409 "src/ssl/handshake_server.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700410 "src/ssl/s3_both.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700411 "src/ssl/s3_lib.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700412 "src/ssl/s3_pkt.c",
413 "src/ssl/ssl_aead_ctx.c",
414 "src/ssl/ssl_asn1.c",
415 "src/ssl/ssl_buffer.c",
416 "src/ssl/ssl_cert.c",
417 "src/ssl/ssl_cipher.c",
418 "src/ssl/ssl_ecdh.c",
419 "src/ssl/ssl_file.c",
420 "src/ssl/ssl_lib.c",
Robert Sloan5d625782017-02-13 09:55:39 -0800421 "src/ssl/ssl_privkey.c",
422 "src/ssl/ssl_privkey_cc.cc",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700423 "src/ssl/ssl_session.c",
424 "src/ssl/ssl_stat.c",
Robert Sloan5d625782017-02-13 09:55:39 -0800425 "src/ssl/ssl_transcript.c",
David Benjaminf31229b2017-01-25 14:08:15 -0500426 "src/ssl/ssl_x509.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700427 "src/ssl/t1_enc.c",
428 "src/ssl/t1_lib.c",
David Benjaminc895d6b2016-08-11 13:26:41 -0400429 "src/ssl/tls13_both.c",
430 "src/ssl/tls13_client.c",
431 "src/ssl/tls13_enc.c",
432 "src/ssl/tls13_server.c",
433 "src/ssl/tls_method.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700434 "src/ssl/tls_record.c",
435 ],
436}
437
438cc_defaults {
439 name: "bssl_sources",
440 srcs: [
441 "src/tool/args.cc",
442 "src/tool/ciphers.cc",
443 "src/tool/client.cc",
444 "src/tool/const.cc",
445 "src/tool/digest.cc",
446 "src/tool/generate_ed25519.cc",
447 "src/tool/genrsa.cc",
448 "src/tool/pkcs12.cc",
449 "src/tool/rand.cc",
450 "src/tool/server.cc",
451 "src/tool/speed.cc",
452 "src/tool/tool.cc",
453 "src/tool/transport_common.cc",
454 ],
455}
Dan Willemsen2458a412016-07-15 09:28:31 -0700456
457cc_defaults {
458 name: "boringssl_test_support_sources",
459 srcs: [
460 "src/crypto/test/file_test.cc",
461 "src/crypto/test/malloc.cc",
462 "src/crypto/test/test_util.cc",
463 ],
464}
465
466cc_defaults {
David Benjaminf31229b2017-01-25 14:08:15 -0500467 name: "boringssl_crypto_test_sources",
468 srcs: [
Robert Sloana94fe052017-02-21 08:49:28 -0800469 "src/crypto/chacha/chacha_test.cc",
Robert Sloan7d422bc2017-03-06 10:04:29 -0800470 "src/crypto/curve25519/x25519_test.cc",
David Benjaminf31229b2017-01-25 14:08:15 -0500471 "src/crypto/dh/dh_test.cc",
472 "src/crypto/dsa/dsa_test.cc",
Robert Sloana94fe052017-02-21 08:49:28 -0800473 "src/crypto/ec/ec_test.cc",
474 "src/crypto/err/err_test.cc",
Robert Sloan7d422bc2017-03-06 10:04:29 -0800475 "src/crypto/evp/evp_extra_test.cc",
Robert Sloana94fe052017-02-21 08:49:28 -0800476 "src/crypto/rsa/rsa_test.cc",
David Benjaminf31229b2017-01-25 14:08:15 -0500477 "src/crypto/test/gtest_main.cc",
478 ],
479}
480
481cc_defaults {
482 name: "boringssl_ssl_test_sources",
483 srcs: [
484 "src/crypto/test/gtest_main.cc",
485 "src/ssl/ssl_test.cc",
486 ],
487}
488
489cc_defaults {
Dan Willemsen2458a412016-07-15 09:28:31 -0700490 name: "boringssl_tests_sources",
491 srcs: [
492 "src/crypto/aes/aes_test.cc",
493 "src/crypto/asn1/asn1_test.cc",
494 "src/crypto/base64/base64_test.cc",
495 "src/crypto/bio/bio_test.cc",
496 "src/crypto/bn/bn_test.cc",
497 "src/crypto/bytestring/bytestring_test.cc",
Dan Willemsen2458a412016-07-15 09:28:31 -0700498 "src/crypto/cipher/aead_test.cc",
499 "src/crypto/cipher/cipher_test.cc",
500 "src/crypto/cmac/cmac_test.cc",
Robert Sloan69939df2017-01-09 10:53:07 -0800501 "src/crypto/constant_time_test.cc",
Dan Willemsen2458a412016-07-15 09:28:31 -0700502 "src/crypto/curve25519/ed25519_test.cc",
503 "src/crypto/curve25519/spake25519_test.cc",
Dan Willemsen2458a412016-07-15 09:28:31 -0700504 "src/crypto/digest/digest_test.cc",
Dan Willemsen2458a412016-07-15 09:28:31 -0700505 "src/crypto/ec/example_mul.c",
Steven Valdez909b19f2016-11-21 15:35:44 -0500506 "src/crypto/ec/p256-x86_64_test.cc",
David Benjaminf0c4a6c2016-08-11 13:26:41 -0400507 "src/crypto/ecdh/ecdh_test.cc",
508 "src/crypto/ecdsa/ecdsa_sign_test.cc",
Dan Willemsen2458a412016-07-15 09:28:31 -0700509 "src/crypto/ecdsa/ecdsa_test.cc",
David Benjaminf0c4a6c2016-08-11 13:26:41 -0400510 "src/crypto/ecdsa/ecdsa_verify_test.cc",
Dan Willemsen2458a412016-07-15 09:28:31 -0700511 "src/crypto/evp/evp_test.cc",
512 "src/crypto/evp/pbkdf_test.cc",
Robert Sloan69939df2017-01-09 10:53:07 -0800513 "src/crypto/hkdf/hkdf_test.cc",
Dan Willemsen2458a412016-07-15 09:28:31 -0700514 "src/crypto/hmac/hmac_test.cc",
Robert Sloan69939df2017-01-09 10:53:07 -0800515 "src/crypto/lhash/lhash_test.cc",
David Benjamin7c0d06c2016-08-11 13:26:41 -0400516 "src/crypto/modes/gcm_test.cc",
Dan Willemsen2458a412016-07-15 09:28:31 -0700517 "src/crypto/obj/obj_test.cc",
518 "src/crypto/pkcs8/pkcs12_test.cc",
519 "src/crypto/pkcs8/pkcs8_test.cc",
520 "src/crypto/poly1305/poly1305_test.cc",
Steven Valdez909b19f2016-11-21 15:35:44 -0500521 "src/crypto/pool/pool_test.cc",
Robert Sloan69939df2017-01-09 10:53:07 -0800522 "src/crypto/refcount_test.cc",
Dan Willemsen2458a412016-07-15 09:28:31 -0700523 "src/crypto/thread_test.c",
524 "src/crypto/x509/pkcs7_test.c",
525 "src/crypto/x509/x509_test.cc",
526 "src/crypto/x509v3/tab_test.c",
527 "src/crypto/x509v3/v3name_test.c",
Dan Willemsen2458a412016-07-15 09:28:31 -0700528 ],
529}