blob: ad33e9b8a2ed6057d6e28b4f37f3e52bc1576d8e [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",
Dan Willemsen21986fb2016-07-14 15:23:56 -070021 "src/crypto/asn1/a_bitstr.c",
22 "src/crypto/asn1/a_bool.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070023 "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",
Dan Willemsen21986fb2016-07-14 15:23:56 -070041 "src/crypto/asn1/f_enum.c",
42 "src/crypto/asn1/f_int.c",
43 "src/crypto/asn1/f_string.c",
44 "src/crypto/asn1/t_bitst.c",
45 "src/crypto/asn1/tasn_dec.c",
46 "src/crypto/asn1/tasn_enc.c",
47 "src/crypto/asn1/tasn_fre.c",
48 "src/crypto/asn1/tasn_new.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070049 "src/crypto/asn1/tasn_typ.c",
50 "src/crypto/asn1/tasn_utl.c",
Robert Sloana94fe052017-02-21 08:49:28 -080051 "src/crypto/asn1/time_support.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070052 "src/crypto/base64/base64.c",
53 "src/crypto/bio/bio.c",
54 "src/crypto/bio/bio_mem.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070055 "src/crypto/bio/connect.c",
56 "src/crypto/bio/fd.c",
57 "src/crypto/bio/file.c",
58 "src/crypto/bio/hexdump.c",
59 "src/crypto/bio/pair.c",
60 "src/crypto/bio/printf.c",
61 "src/crypto/bio/socket.c",
62 "src/crypto/bio/socket_helper.c",
63 "src/crypto/bn/add.c",
64 "src/crypto/bn/asm/x86_64-gcc.c",
65 "src/crypto/bn/bn.c",
66 "src/crypto/bn/bn_asn1.c",
67 "src/crypto/bn/cmp.c",
68 "src/crypto/bn/convert.c",
69 "src/crypto/bn/ctx.c",
70 "src/crypto/bn/div.c",
71 "src/crypto/bn/exponentiation.c",
72 "src/crypto/bn/gcd.c",
73 "src/crypto/bn/generic.c",
Robert Sloan2424d842017-05-01 07:46:28 -070074 "src/crypto/bn/jacobi.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070075 "src/crypto/bn/montgomery.c",
David Benjaminc895d6b2016-08-11 13:26:41 -040076 "src/crypto/bn/montgomery_inv.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070077 "src/crypto/bn/mul.c",
78 "src/crypto/bn/prime.c",
79 "src/crypto/bn/random.c",
80 "src/crypto/bn/rsaz_exp.c",
81 "src/crypto/bn/shift.c",
82 "src/crypto/bn/sqrt.c",
83 "src/crypto/buf/buf.c",
84 "src/crypto/bytestring/asn1_compat.c",
85 "src/crypto/bytestring/ber.c",
86 "src/crypto/bytestring/cbb.c",
87 "src/crypto/bytestring/cbs.c",
88 "src/crypto/chacha/chacha.c",
89 "src/crypto/cipher/aead.c",
90 "src/crypto/cipher/cipher.c",
91 "src/crypto/cipher/derive_key.c",
92 "src/crypto/cipher/e_aes.c",
Robert Sloan572a4e22017-04-17 10:52:19 -070093 "src/crypto/cipher/e_aesctrhmac.c",
94 "src/crypto/cipher/e_aesgcmsiv.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070095 "src/crypto/cipher/e_chacha20poly1305.c",
96 "src/crypto/cipher/e_des.c",
97 "src/crypto/cipher/e_null.c",
98 "src/crypto/cipher/e_rc2.c",
99 "src/crypto/cipher/e_rc4.c",
100 "src/crypto/cipher/e_ssl3.c",
101 "src/crypto/cipher/e_tls.c",
102 "src/crypto/cipher/tls_cbc.c",
103 "src/crypto/cmac/cmac.c",
104 "src/crypto/conf/conf.c",
105 "src/crypto/cpu-aarch64-linux.c",
106 "src/crypto/cpu-arm-linux.c",
107 "src/crypto/cpu-arm.c",
108 "src/crypto/cpu-intel.c",
Steven Valdezbb1ceac2016-10-07 10:34:51 -0400109 "src/crypto/cpu-ppc64le.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700110 "src/crypto/crypto.c",
111 "src/crypto/curve25519/curve25519.c",
112 "src/crypto/curve25519/spake25519.c",
113 "src/crypto/curve25519/x25519-x86_64.c",
114 "src/crypto/des/des.c",
115 "src/crypto/dh/check.c",
116 "src/crypto/dh/dh.c",
117 "src/crypto/dh/dh_asn1.c",
118 "src/crypto/dh/params.c",
Robert Sloan572a4e22017-04-17 10:52:19 -0700119 "src/crypto/digest_extra/digest_extra.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700120 "src/crypto/dsa/dsa.c",
121 "src/crypto/dsa/dsa_asn1.c",
122 "src/crypto/ec/ec.c",
123 "src/crypto/ec/ec_asn1.c",
124 "src/crypto/ec/ec_key.c",
125 "src/crypto/ec/ec_montgomery.c",
126 "src/crypto/ec/oct.c",
127 "src/crypto/ec/p224-64.c",
128 "src/crypto/ec/p256-64.c",
129 "src/crypto/ec/p256-x86_64.c",
130 "src/crypto/ec/simple.c",
131 "src/crypto/ec/util-64.c",
132 "src/crypto/ec/wnaf.c",
133 "src/crypto/ecdh/ecdh.c",
134 "src/crypto/ecdsa/ecdsa.c",
135 "src/crypto/ecdsa/ecdsa_asn1.c",
136 "src/crypto/engine/engine.c",
137 "src/crypto/err/err.c",
138 "src/crypto/evp/digestsign.c",
139 "src/crypto/evp/evp.c",
140 "src/crypto/evp/evp_asn1.c",
141 "src/crypto/evp/evp_ctx.c",
142 "src/crypto/evp/p_dsa_asn1.c",
143 "src/crypto/evp/p_ec.c",
144 "src/crypto/evp/p_ec_asn1.c",
Robert Sloan572a4e22017-04-17 10:52:19 -0700145 "src/crypto/evp/p_ed25519.c",
146 "src/crypto/evp/p_ed25519_asn1.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700147 "src/crypto/evp/p_rsa.c",
148 "src/crypto/evp/p_rsa_asn1.c",
149 "src/crypto/evp/pbkdf.c",
150 "src/crypto/evp/print.c",
151 "src/crypto/evp/sign.c",
152 "src/crypto/ex_data.c",
Robert Sloan572a4e22017-04-17 10:52:19 -0700153 "src/crypto/fipsmodule/bcm.c",
154 "src/crypto/fipsmodule/is_fips.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700155 "src/crypto/hkdf/hkdf.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700156 "src/crypto/lhash/lhash.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700157 "src/crypto/mem.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700158 "src/crypto/obj/obj.c",
159 "src/crypto/obj/obj_xref.c",
160 "src/crypto/pem/pem_all.c",
161 "src/crypto/pem/pem_info.c",
162 "src/crypto/pem/pem_lib.c",
163 "src/crypto/pem/pem_oth.c",
164 "src/crypto/pem/pem_pk8.c",
165 "src/crypto/pem/pem_pkey.c",
166 "src/crypto/pem/pem_x509.c",
167 "src/crypto/pem/pem_xaux.c",
Robert Sloan9254e682017-04-24 09:42:06 -0700168 "src/crypto/pkcs7/pkcs7.c",
169 "src/crypto/pkcs7/pkcs7_x509.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700170 "src/crypto/pkcs8/p5_pbev2.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700171 "src/crypto/pkcs8/pkcs8.c",
Robert Sloan6d0d00e2017-03-27 07:13:07 -0700172 "src/crypto/pkcs8/pkcs8_x509.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700173 "src/crypto/poly1305/poly1305.c",
174 "src/crypto/poly1305/poly1305_arm.c",
175 "src/crypto/poly1305/poly1305_vec.c",
Steven Valdez909b19f2016-11-21 15:35:44 -0500176 "src/crypto/pool/pool.c",
Robert Sloan9254e682017-04-24 09:42:06 -0700177 "src/crypto/rand_extra/deterministic.c",
178 "src/crypto/rand_extra/forkunsafe.c",
179 "src/crypto/rand_extra/fuchsia.c",
180 "src/crypto/rand_extra/rand_extra.c",
181 "src/crypto/rand_extra/windows.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700182 "src/crypto/rc4/rc4.c",
183 "src/crypto/refcount_c11.c",
184 "src/crypto/refcount_lock.c",
185 "src/crypto/rsa/blinding.c",
186 "src/crypto/rsa/padding.c",
187 "src/crypto/rsa/rsa.c",
188 "src/crypto/rsa/rsa_asn1.c",
189 "src/crypto/rsa/rsa_impl.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700190 "src/crypto/stack/stack.c",
191 "src/crypto/thread.c",
192 "src/crypto/thread_none.c",
193 "src/crypto/thread_pthread.c",
194 "src/crypto/thread_win.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700195 "src/crypto/x509/a_digest.c",
196 "src/crypto/x509/a_sign.c",
197 "src/crypto/x509/a_strex.c",
198 "src/crypto/x509/a_verify.c",
199 "src/crypto/x509/algorithm.c",
200 "src/crypto/x509/asn1_gen.c",
201 "src/crypto/x509/by_dir.c",
202 "src/crypto/x509/by_file.c",
203 "src/crypto/x509/i2d_pr.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700204 "src/crypto/x509/rsa_pss.c",
205 "src/crypto/x509/t_crl.c",
206 "src/crypto/x509/t_req.c",
207 "src/crypto/x509/t_x509.c",
208 "src/crypto/x509/t_x509a.c",
209 "src/crypto/x509/x509.c",
210 "src/crypto/x509/x509_att.c",
211 "src/crypto/x509/x509_cmp.c",
212 "src/crypto/x509/x509_d2.c",
213 "src/crypto/x509/x509_def.c",
214 "src/crypto/x509/x509_ext.c",
215 "src/crypto/x509/x509_lu.c",
216 "src/crypto/x509/x509_obj.c",
217 "src/crypto/x509/x509_r2x.c",
218 "src/crypto/x509/x509_req.c",
219 "src/crypto/x509/x509_set.c",
220 "src/crypto/x509/x509_trs.c",
221 "src/crypto/x509/x509_txt.c",
222 "src/crypto/x509/x509_v3.c",
223 "src/crypto/x509/x509_vfy.c",
224 "src/crypto/x509/x509_vpm.c",
225 "src/crypto/x509/x509cset.c",
226 "src/crypto/x509/x509name.c",
227 "src/crypto/x509/x509rset.c",
228 "src/crypto/x509/x509spki.c",
229 "src/crypto/x509/x509type.c",
230 "src/crypto/x509/x_algor.c",
231 "src/crypto/x509/x_all.c",
232 "src/crypto/x509/x_attrib.c",
233 "src/crypto/x509/x_crl.c",
234 "src/crypto/x509/x_exten.c",
235 "src/crypto/x509/x_info.c",
236 "src/crypto/x509/x_name.c",
237 "src/crypto/x509/x_pkey.c",
238 "src/crypto/x509/x_pubkey.c",
239 "src/crypto/x509/x_req.c",
240 "src/crypto/x509/x_sig.c",
241 "src/crypto/x509/x_spki.c",
242 "src/crypto/x509/x_val.c",
243 "src/crypto/x509/x_x509.c",
244 "src/crypto/x509/x_x509a.c",
245 "src/crypto/x509v3/pcy_cache.c",
246 "src/crypto/x509v3/pcy_data.c",
247 "src/crypto/x509v3/pcy_lib.c",
248 "src/crypto/x509v3/pcy_map.c",
249 "src/crypto/x509v3/pcy_node.c",
250 "src/crypto/x509v3/pcy_tree.c",
251 "src/crypto/x509v3/v3_akey.c",
252 "src/crypto/x509v3/v3_akeya.c",
253 "src/crypto/x509v3/v3_alt.c",
254 "src/crypto/x509v3/v3_bcons.c",
255 "src/crypto/x509v3/v3_bitst.c",
256 "src/crypto/x509v3/v3_conf.c",
257 "src/crypto/x509v3/v3_cpols.c",
258 "src/crypto/x509v3/v3_crld.c",
259 "src/crypto/x509v3/v3_enum.c",
260 "src/crypto/x509v3/v3_extku.c",
261 "src/crypto/x509v3/v3_genn.c",
262 "src/crypto/x509v3/v3_ia5.c",
263 "src/crypto/x509v3/v3_info.c",
264 "src/crypto/x509v3/v3_int.c",
265 "src/crypto/x509v3/v3_lib.c",
266 "src/crypto/x509v3/v3_ncons.c",
267 "src/crypto/x509v3/v3_pci.c",
268 "src/crypto/x509v3/v3_pcia.c",
269 "src/crypto/x509v3/v3_pcons.c",
270 "src/crypto/x509v3/v3_pku.c",
271 "src/crypto/x509v3/v3_pmaps.c",
272 "src/crypto/x509v3/v3_prn.c",
273 "src/crypto/x509v3/v3_purp.c",
274 "src/crypto/x509v3/v3_skey.c",
275 "src/crypto/x509v3/v3_sxnet.c",
276 "src/crypto/x509v3/v3_utl.c",
277 ],
278 target: {
279 android_arm64: {
280 srcs: [
Dan Willemsen21986fb2016-07-14 15:23:56 -0700281 "linux-aarch64/crypto/bn/armv8-mont.S",
282 "linux-aarch64/crypto/chacha/chacha-armv8.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700283 "linux-aarch64/crypto/fipsmodule/aesv8-armx64.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700284 "linux-aarch64/crypto/fipsmodule/ghashv8-armx64.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700285 "linux-aarch64/crypto/fipsmodule/sha1-armv8.S",
286 "linux-aarch64/crypto/fipsmodule/sha256-armv8.S",
287 "linux-aarch64/crypto/fipsmodule/sha512-armv8.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700288 ],
289 },
290 android_arm: {
291 srcs: [
Dan Willemsen21986fb2016-07-14 15:23:56 -0700292 "linux-arm/crypto/bn/armv4-mont.S",
293 "linux-arm/crypto/chacha/chacha-armv4.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700294 "linux-arm/crypto/fipsmodule/aes-armv4.S",
295 "linux-arm/crypto/fipsmodule/aesv8-armx32.S",
296 "linux-arm/crypto/fipsmodule/bsaes-armv7.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700297 "linux-arm/crypto/fipsmodule/ghash-armv4.S",
298 "linux-arm/crypto/fipsmodule/ghashv8-armx32.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700299 "linux-arm/crypto/fipsmodule/sha1-armv4-large.S",
300 "linux-arm/crypto/fipsmodule/sha256-armv4.S",
301 "linux-arm/crypto/fipsmodule/sha512-armv4.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700302 "src/crypto/curve25519/asm/x25519-asm-arm.S",
303 "src/crypto/poly1305/poly1305_arm_asm.S",
304 ],
305 },
306 android_x86: {
307 srcs: [
Dan Willemsen21986fb2016-07-14 15:23:56 -0700308 "linux-x86/crypto/bn/bn-586.S",
309 "linux-x86/crypto/bn/co-586.S",
310 "linux-x86/crypto/bn/x86-mont.S",
311 "linux-x86/crypto/chacha/chacha-x86.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700312 "linux-x86/crypto/fipsmodule/aes-586.S",
313 "linux-x86/crypto/fipsmodule/aesni-x86.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700314 "linux-x86/crypto/fipsmodule/ghash-x86.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700315 "linux-x86/crypto/fipsmodule/md5-586.S",
316 "linux-x86/crypto/fipsmodule/sha1-586.S",
317 "linux-x86/crypto/fipsmodule/sha256-586.S",
318 "linux-x86/crypto/fipsmodule/sha512-586.S",
319 "linux-x86/crypto/fipsmodule/vpaes-x86.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700320 ],
321 },
322 linux_x86: {
323 srcs: [
Dan Willemsen21986fb2016-07-14 15:23:56 -0700324 "linux-x86/crypto/bn/bn-586.S",
325 "linux-x86/crypto/bn/co-586.S",
326 "linux-x86/crypto/bn/x86-mont.S",
327 "linux-x86/crypto/chacha/chacha-x86.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700328 "linux-x86/crypto/fipsmodule/aes-586.S",
329 "linux-x86/crypto/fipsmodule/aesni-x86.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700330 "linux-x86/crypto/fipsmodule/ghash-x86.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700331 "linux-x86/crypto/fipsmodule/md5-586.S",
332 "linux-x86/crypto/fipsmodule/sha1-586.S",
333 "linux-x86/crypto/fipsmodule/sha256-586.S",
334 "linux-x86/crypto/fipsmodule/sha512-586.S",
335 "linux-x86/crypto/fipsmodule/vpaes-x86.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700336 ],
337 },
338 android_x86_64: {
339 srcs: [
Dan Willemsen21986fb2016-07-14 15:23:56 -0700340 "linux-x86_64/crypto/bn/rsaz-avx2.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700341 "linux-x86_64/crypto/bn/x86_64-mont.S",
342 "linux-x86_64/crypto/bn/x86_64-mont5.S",
343 "linux-x86_64/crypto/chacha/chacha-x86_64.S",
David Benjaminf31229b2017-01-25 14:08:15 -0500344 "linux-x86_64/crypto/cipher/chacha20_poly1305_x86_64.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700345 "linux-x86_64/crypto/ec/p256-x86_64-asm.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700346 "linux-x86_64/crypto/fipsmodule/aes-x86_64.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700347 "linux-x86_64/crypto/fipsmodule/aesni-gcm-x86_64.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700348 "linux-x86_64/crypto/fipsmodule/aesni-x86_64.S",
349 "linux-x86_64/crypto/fipsmodule/bsaes-x86_64.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700350 "linux-x86_64/crypto/fipsmodule/ghash-x86_64.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700351 "linux-x86_64/crypto/fipsmodule/md5-x86_64.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700352 "linux-x86_64/crypto/fipsmodule/rdrand-x86_64.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700353 "linux-x86_64/crypto/fipsmodule/sha1-x86_64.S",
354 "linux-x86_64/crypto/fipsmodule/sha256-x86_64.S",
355 "linux-x86_64/crypto/fipsmodule/sha512-x86_64.S",
356 "linux-x86_64/crypto/fipsmodule/vpaes-x86_64.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700357 "src/crypto/curve25519/asm/x25519-asm-x86_64.S",
358 ],
359 },
360 linux_x86_64: {
361 srcs: [
Dan Willemsen21986fb2016-07-14 15:23:56 -0700362 "linux-x86_64/crypto/bn/rsaz-avx2.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700363 "linux-x86_64/crypto/bn/x86_64-mont.S",
364 "linux-x86_64/crypto/bn/x86_64-mont5.S",
365 "linux-x86_64/crypto/chacha/chacha-x86_64.S",
David Benjaminf31229b2017-01-25 14:08:15 -0500366 "linux-x86_64/crypto/cipher/chacha20_poly1305_x86_64.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700367 "linux-x86_64/crypto/ec/p256-x86_64-asm.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700368 "linux-x86_64/crypto/fipsmodule/aes-x86_64.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700369 "linux-x86_64/crypto/fipsmodule/aesni-gcm-x86_64.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700370 "linux-x86_64/crypto/fipsmodule/aesni-x86_64.S",
371 "linux-x86_64/crypto/fipsmodule/bsaes-x86_64.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700372 "linux-x86_64/crypto/fipsmodule/ghash-x86_64.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700373 "linux-x86_64/crypto/fipsmodule/md5-x86_64.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700374 "linux-x86_64/crypto/fipsmodule/rdrand-x86_64.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700375 "linux-x86_64/crypto/fipsmodule/sha1-x86_64.S",
376 "linux-x86_64/crypto/fipsmodule/sha256-x86_64.S",
377 "linux-x86_64/crypto/fipsmodule/sha512-x86_64.S",
378 "linux-x86_64/crypto/fipsmodule/vpaes-x86_64.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700379 "src/crypto/curve25519/asm/x25519-asm-x86_64.S",
380 ],
381 },
382 },
383}
384
385cc_defaults {
386 name: "libssl_sources",
387 srcs: [
Robert Sloan4d1ac502017-02-06 08:36:14 -0800388 "src/ssl/bio_ssl.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700389 "src/ssl/custom_extensions.c",
390 "src/ssl/d1_both.c",
391 "src/ssl/d1_lib.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700392 "src/ssl/d1_pkt.c",
393 "src/ssl/d1_srtp.c",
David Benjaminc895d6b2016-08-11 13:26:41 -0400394 "src/ssl/dtls_method.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700395 "src/ssl/dtls_record.c",
396 "src/ssl/handshake_client.c",
397 "src/ssl/handshake_server.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700398 "src/ssl/s3_both.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700399 "src/ssl/s3_lib.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700400 "src/ssl/s3_pkt.c",
401 "src/ssl/ssl_aead_ctx.c",
402 "src/ssl/ssl_asn1.c",
403 "src/ssl/ssl_buffer.c",
404 "src/ssl/ssl_cert.c",
405 "src/ssl/ssl_cipher.c",
406 "src/ssl/ssl_ecdh.c",
407 "src/ssl/ssl_file.c",
408 "src/ssl/ssl_lib.c",
Robert Sloan5d625782017-02-13 09:55:39 -0800409 "src/ssl/ssl_privkey.c",
410 "src/ssl/ssl_privkey_cc.cc",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700411 "src/ssl/ssl_session.c",
412 "src/ssl/ssl_stat.c",
Robert Sloan5d625782017-02-13 09:55:39 -0800413 "src/ssl/ssl_transcript.c",
David Benjaminf31229b2017-01-25 14:08:15 -0500414 "src/ssl/ssl_x509.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700415 "src/ssl/t1_enc.c",
416 "src/ssl/t1_lib.c",
David Benjaminc895d6b2016-08-11 13:26:41 -0400417 "src/ssl/tls13_both.c",
418 "src/ssl/tls13_client.c",
419 "src/ssl/tls13_enc.c",
420 "src/ssl/tls13_server.c",
421 "src/ssl/tls_method.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700422 "src/ssl/tls_record.c",
423 ],
424}
425
426cc_defaults {
427 name: "bssl_sources",
428 srcs: [
429 "src/tool/args.cc",
430 "src/tool/ciphers.cc",
431 "src/tool/client.cc",
432 "src/tool/const.cc",
433 "src/tool/digest.cc",
Robert Sloan572a4e22017-04-17 10:52:19 -0700434 "src/tool/file.cc",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700435 "src/tool/generate_ed25519.cc",
436 "src/tool/genrsa.cc",
437 "src/tool/pkcs12.cc",
438 "src/tool/rand.cc",
439 "src/tool/server.cc",
Robert Sloan572a4e22017-04-17 10:52:19 -0700440 "src/tool/sign.cc",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700441 "src/tool/speed.cc",
442 "src/tool/tool.cc",
443 "src/tool/transport_common.cc",
444 ],
445}
Dan Willemsen2458a412016-07-15 09:28:31 -0700446
447cc_defaults {
448 name: "boringssl_test_support_sources",
449 srcs: [
450 "src/crypto/test/file_test.cc",
451 "src/crypto/test/malloc.cc",
452 "src/crypto/test/test_util.cc",
453 ],
454}
455
456cc_defaults {
David Benjaminf31229b2017-01-25 14:08:15 -0500457 name: "boringssl_crypto_test_sources",
458 srcs: [
Robert Sloan8ecb7cd2017-03-21 09:39:01 -0700459 "src/crypto/asn1/asn1_test.cc",
Robert Sloan572a4e22017-04-17 10:52:19 -0700460 "src/crypto/base64/base64_test.cc",
Robert Sloan6d0d00e2017-03-27 07:13:07 -0700461 "src/crypto/bio/bio_test.cc",
Robert Sloan572a4e22017-04-17 10:52:19 -0700462 "src/crypto/bytestring/bytestring_test.cc",
Robert Sloana94fe052017-02-21 08:49:28 -0800463 "src/crypto/chacha/chacha_test.cc",
Robert Sloan2424d842017-05-01 07:46:28 -0700464 "src/crypto/cmac/cmac_test.cc",
Robert Sloan9254e682017-04-24 09:42:06 -0700465 "src/crypto/compiler_test.cc",
Robert Sloan6d0d00e2017-03-27 07:13:07 -0700466 "src/crypto/constant_time_test.cc",
Robert Sloan2424d842017-05-01 07:46:28 -0700467 "src/crypto/curve25519/spake25519_test.cc",
Robert Sloan7d422bc2017-03-06 10:04:29 -0800468 "src/crypto/curve25519/x25519_test.cc",
David Benjaminf31229b2017-01-25 14:08:15 -0500469 "src/crypto/dh/dh_test.cc",
470 "src/crypto/dsa/dsa_test.cc",
Robert Sloana94fe052017-02-21 08:49:28 -0800471 "src/crypto/ec/ec_test.cc",
472 "src/crypto/err/err_test.cc",
Robert Sloan7d422bc2017-03-06 10:04:29 -0800473 "src/crypto/evp/evp_extra_test.cc",
Robert Sloan9254e682017-04-24 09:42:06 -0700474 "src/crypto/fipsmodule/rand/ctrdrbg_test.cc",
Robert Sloana94fe052017-02-21 08:49:28 -0800475 "src/crypto/rsa/rsa_test.cc",
David Benjaminf31229b2017-01-25 14:08:15 -0500476 "src/crypto/test/gtest_main.cc",
477 ],
478}
479
480cc_defaults {
481 name: "boringssl_ssl_test_sources",
482 srcs: [
483 "src/crypto/test/gtest_main.cc",
484 "src/ssl/ssl_test.cc",
485 ],
486}
487
488cc_defaults {
Dan Willemsen2458a412016-07-15 09:28:31 -0700489 name: "boringssl_tests_sources",
490 srcs: [
Dan Willemsen2458a412016-07-15 09:28:31 -0700491 "src/crypto/bn/bn_test.cc",
Dan Willemsen2458a412016-07-15 09:28:31 -0700492 "src/crypto/cipher/aead_test.cc",
493 "src/crypto/cipher/cipher_test.cc",
Dan Willemsen2458a412016-07-15 09:28:31 -0700494 "src/crypto/curve25519/ed25519_test.cc",
Robert Sloan572a4e22017-04-17 10:52:19 -0700495 "src/crypto/digest_extra/digest_test.cc",
Dan Willemsen2458a412016-07-15 09:28:31 -0700496 "src/crypto/ec/example_mul.c",
Steven Valdez909b19f2016-11-21 15:35:44 -0500497 "src/crypto/ec/p256-x86_64_test.cc",
David Benjaminf0c4a6c2016-08-11 13:26:41 -0400498 "src/crypto/ecdh/ecdh_test.cc",
499 "src/crypto/ecdsa/ecdsa_sign_test.cc",
Dan Willemsen2458a412016-07-15 09:28:31 -0700500 "src/crypto/ecdsa/ecdsa_test.cc",
David Benjaminf0c4a6c2016-08-11 13:26:41 -0400501 "src/crypto/ecdsa/ecdsa_verify_test.cc",
Dan Willemsen2458a412016-07-15 09:28:31 -0700502 "src/crypto/evp/evp_test.cc",
503 "src/crypto/evp/pbkdf_test.cc",
Robert Sloan572a4e22017-04-17 10:52:19 -0700504 "src/crypto/fipsmodule/aes/aes_test.cc",
Robert Sloan9254e682017-04-24 09:42:06 -0700505 "src/crypto/fipsmodule/modes/gcm_test.cc",
506 "src/crypto/fipsmodule/rand/ctrdrbg_vector_test.cc",
Robert Sloan69939df2017-01-09 10:53:07 -0800507 "src/crypto/hkdf/hkdf_test.cc",
Robert Sloan572a4e22017-04-17 10:52:19 -0700508 "src/crypto/hmac_extra/hmac_test.cc",
Robert Sloan69939df2017-01-09 10:53:07 -0800509 "src/crypto/lhash/lhash_test.cc",
Dan Willemsen2458a412016-07-15 09:28:31 -0700510 "src/crypto/obj/obj_test.cc",
Robert Sloan9254e682017-04-24 09:42:06 -0700511 "src/crypto/pkcs7/pkcs7_test.c",
Dan Willemsen2458a412016-07-15 09:28:31 -0700512 "src/crypto/pkcs8/pkcs12_test.cc",
513 "src/crypto/pkcs8/pkcs8_test.cc",
514 "src/crypto/poly1305/poly1305_test.cc",
Steven Valdez909b19f2016-11-21 15:35:44 -0500515 "src/crypto/pool/pool_test.cc",
Robert Sloan69939df2017-01-09 10:53:07 -0800516 "src/crypto/refcount_test.cc",
Dan Willemsen2458a412016-07-15 09:28:31 -0700517 "src/crypto/thread_test.c",
Dan Willemsen2458a412016-07-15 09:28:31 -0700518 "src/crypto/x509/x509_test.cc",
519 "src/crypto/x509v3/tab_test.c",
520 "src/crypto/x509v3/v3name_test.c",
Dan Willemsen2458a412016-07-15 09:28:31 -0700521 ],
522}