blob: 6f256d0057755d0b6ac7d51b66a38efea170ec61 [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",
Dan Willemsen21986fb2016-07-14 15:23:56 -070044 "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",
Dan Willemsen21986fb2016-07-14 15:23:56 -070048 "src/crypto/asn1/tasn_typ.c",
49 "src/crypto/asn1/tasn_utl.c",
Robert Sloana94fe052017-02-21 08:49:28 -080050 "src/crypto/asn1/time_support.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070051 "src/crypto/base64/base64.c",
52 "src/crypto/bio/bio.c",
53 "src/crypto/bio/bio_mem.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070054 "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",
Robert Sloan8ff03552017-06-14 12:40:58 -070062 "src/crypto/bn_extra/bn_asn1.c",
63 "src/crypto/bn_extra/convert.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070064 "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/chacha/chacha.c",
Robert Sloan8ff03552017-06-14 12:40:58 -070070 "src/crypto/cipher_extra/cipher_extra.c",
71 "src/crypto/cipher_extra/derive_key.c",
72 "src/crypto/cipher_extra/e_aesctrhmac.c",
73 "src/crypto/cipher_extra/e_aesgcmsiv.c",
74 "src/crypto/cipher_extra/e_chacha20poly1305.c",
75 "src/crypto/cipher_extra/e_null.c",
76 "src/crypto/cipher_extra/e_rc2.c",
77 "src/crypto/cipher_extra/e_rc4.c",
78 "src/crypto/cipher_extra/e_ssl3.c",
79 "src/crypto/cipher_extra/e_tls.c",
80 "src/crypto/cipher_extra/tls_cbc.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070081 "src/crypto/cmac/cmac.c",
82 "src/crypto/conf/conf.c",
83 "src/crypto/cpu-aarch64-linux.c",
84 "src/crypto/cpu-arm-linux.c",
85 "src/crypto/cpu-arm.c",
86 "src/crypto/cpu-intel.c",
Steven Valdezbb1ceac2016-10-07 10:34:51 -040087 "src/crypto/cpu-ppc64le.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070088 "src/crypto/crypto.c",
89 "src/crypto/curve25519/curve25519.c",
90 "src/crypto/curve25519/spake25519.c",
91 "src/crypto/curve25519/x25519-x86_64.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070092 "src/crypto/dh/check.c",
93 "src/crypto/dh/dh.c",
94 "src/crypto/dh/dh_asn1.c",
95 "src/crypto/dh/params.c",
Robert Sloan572a4e22017-04-17 10:52:19 -070096 "src/crypto/digest_extra/digest_extra.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -070097 "src/crypto/dsa/dsa.c",
98 "src/crypto/dsa/dsa_asn1.c",
Robert Sloan8ff03552017-06-14 12:40:58 -070099 "src/crypto/ec_extra/ec_asn1.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700100 "src/crypto/ecdh/ecdh.c",
Robert Sloan8ff03552017-06-14 12:40:58 -0700101 "src/crypto/ecdsa_extra/ecdsa_asn1.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700102 "src/crypto/engine/engine.c",
103 "src/crypto/err/err.c",
104 "src/crypto/evp/digestsign.c",
105 "src/crypto/evp/evp.c",
106 "src/crypto/evp/evp_asn1.c",
107 "src/crypto/evp/evp_ctx.c",
108 "src/crypto/evp/p_dsa_asn1.c",
109 "src/crypto/evp/p_ec.c",
110 "src/crypto/evp/p_ec_asn1.c",
Robert Sloan572a4e22017-04-17 10:52:19 -0700111 "src/crypto/evp/p_ed25519.c",
112 "src/crypto/evp/p_ed25519_asn1.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700113 "src/crypto/evp/p_rsa.c",
114 "src/crypto/evp/p_rsa_asn1.c",
115 "src/crypto/evp/pbkdf.c",
116 "src/crypto/evp/print.c",
Robert Sloan8ff03552017-06-14 12:40:58 -0700117 "src/crypto/evp/scrypt.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700118 "src/crypto/evp/sign.c",
119 "src/crypto/ex_data.c",
Robert Sloan572a4e22017-04-17 10:52:19 -0700120 "src/crypto/fipsmodule/bcm.c",
121 "src/crypto/fipsmodule/is_fips.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700122 "src/crypto/hkdf/hkdf.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700123 "src/crypto/lhash/lhash.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700124 "src/crypto/mem.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700125 "src/crypto/obj/obj.c",
126 "src/crypto/obj/obj_xref.c",
127 "src/crypto/pem/pem_all.c",
128 "src/crypto/pem/pem_info.c",
129 "src/crypto/pem/pem_lib.c",
130 "src/crypto/pem/pem_oth.c",
131 "src/crypto/pem/pem_pk8.c",
132 "src/crypto/pem/pem_pkey.c",
133 "src/crypto/pem/pem_x509.c",
134 "src/crypto/pem/pem_xaux.c",
Robert Sloan9254e682017-04-24 09:42:06 -0700135 "src/crypto/pkcs7/pkcs7.c",
136 "src/crypto/pkcs7/pkcs7_x509.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700137 "src/crypto/pkcs8/p5_pbev2.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700138 "src/crypto/pkcs8/pkcs8.c",
Robert Sloan6d0d00e2017-03-27 07:13:07 -0700139 "src/crypto/pkcs8/pkcs8_x509.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700140 "src/crypto/poly1305/poly1305.c",
141 "src/crypto/poly1305/poly1305_arm.c",
142 "src/crypto/poly1305/poly1305_vec.c",
Steven Valdez909b19f2016-11-21 15:35:44 -0500143 "src/crypto/pool/pool.c",
Robert Sloan9254e682017-04-24 09:42:06 -0700144 "src/crypto/rand_extra/deterministic.c",
145 "src/crypto/rand_extra/forkunsafe.c",
146 "src/crypto/rand_extra/fuchsia.c",
147 "src/crypto/rand_extra/rand_extra.c",
148 "src/crypto/rand_extra/windows.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700149 "src/crypto/rc4/rc4.c",
150 "src/crypto/refcount_c11.c",
151 "src/crypto/refcount_lock.c",
Robert Sloan8ff03552017-06-14 12:40:58 -0700152 "src/crypto/rsa_extra/rsa_asn1.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700153 "src/crypto/stack/stack.c",
154 "src/crypto/thread.c",
155 "src/crypto/thread_none.c",
156 "src/crypto/thread_pthread.c",
157 "src/crypto/thread_win.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700158 "src/crypto/x509/a_digest.c",
159 "src/crypto/x509/a_sign.c",
160 "src/crypto/x509/a_strex.c",
161 "src/crypto/x509/a_verify.c",
162 "src/crypto/x509/algorithm.c",
163 "src/crypto/x509/asn1_gen.c",
164 "src/crypto/x509/by_dir.c",
165 "src/crypto/x509/by_file.c",
166 "src/crypto/x509/i2d_pr.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700167 "src/crypto/x509/rsa_pss.c",
168 "src/crypto/x509/t_crl.c",
169 "src/crypto/x509/t_req.c",
170 "src/crypto/x509/t_x509.c",
171 "src/crypto/x509/t_x509a.c",
172 "src/crypto/x509/x509.c",
173 "src/crypto/x509/x509_att.c",
174 "src/crypto/x509/x509_cmp.c",
175 "src/crypto/x509/x509_d2.c",
176 "src/crypto/x509/x509_def.c",
177 "src/crypto/x509/x509_ext.c",
178 "src/crypto/x509/x509_lu.c",
179 "src/crypto/x509/x509_obj.c",
180 "src/crypto/x509/x509_r2x.c",
181 "src/crypto/x509/x509_req.c",
182 "src/crypto/x509/x509_set.c",
183 "src/crypto/x509/x509_trs.c",
184 "src/crypto/x509/x509_txt.c",
185 "src/crypto/x509/x509_v3.c",
186 "src/crypto/x509/x509_vfy.c",
187 "src/crypto/x509/x509_vpm.c",
188 "src/crypto/x509/x509cset.c",
189 "src/crypto/x509/x509name.c",
190 "src/crypto/x509/x509rset.c",
191 "src/crypto/x509/x509spki.c",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700192 "src/crypto/x509/x_algor.c",
193 "src/crypto/x509/x_all.c",
194 "src/crypto/x509/x_attrib.c",
195 "src/crypto/x509/x_crl.c",
196 "src/crypto/x509/x_exten.c",
197 "src/crypto/x509/x_info.c",
198 "src/crypto/x509/x_name.c",
199 "src/crypto/x509/x_pkey.c",
200 "src/crypto/x509/x_pubkey.c",
201 "src/crypto/x509/x_req.c",
202 "src/crypto/x509/x_sig.c",
203 "src/crypto/x509/x_spki.c",
204 "src/crypto/x509/x_val.c",
205 "src/crypto/x509/x_x509.c",
206 "src/crypto/x509/x_x509a.c",
207 "src/crypto/x509v3/pcy_cache.c",
208 "src/crypto/x509v3/pcy_data.c",
209 "src/crypto/x509v3/pcy_lib.c",
210 "src/crypto/x509v3/pcy_map.c",
211 "src/crypto/x509v3/pcy_node.c",
212 "src/crypto/x509v3/pcy_tree.c",
213 "src/crypto/x509v3/v3_akey.c",
214 "src/crypto/x509v3/v3_akeya.c",
215 "src/crypto/x509v3/v3_alt.c",
216 "src/crypto/x509v3/v3_bcons.c",
217 "src/crypto/x509v3/v3_bitst.c",
218 "src/crypto/x509v3/v3_conf.c",
219 "src/crypto/x509v3/v3_cpols.c",
220 "src/crypto/x509v3/v3_crld.c",
221 "src/crypto/x509v3/v3_enum.c",
222 "src/crypto/x509v3/v3_extku.c",
223 "src/crypto/x509v3/v3_genn.c",
224 "src/crypto/x509v3/v3_ia5.c",
225 "src/crypto/x509v3/v3_info.c",
226 "src/crypto/x509v3/v3_int.c",
227 "src/crypto/x509v3/v3_lib.c",
228 "src/crypto/x509v3/v3_ncons.c",
229 "src/crypto/x509v3/v3_pci.c",
230 "src/crypto/x509v3/v3_pcia.c",
231 "src/crypto/x509v3/v3_pcons.c",
232 "src/crypto/x509v3/v3_pku.c",
233 "src/crypto/x509v3/v3_pmaps.c",
234 "src/crypto/x509v3/v3_prn.c",
235 "src/crypto/x509v3/v3_purp.c",
236 "src/crypto/x509v3/v3_skey.c",
237 "src/crypto/x509v3/v3_sxnet.c",
238 "src/crypto/x509v3/v3_utl.c",
239 ],
240 target: {
241 android_arm64: {
242 srcs: [
Dan Willemsen21986fb2016-07-14 15:23:56 -0700243 "linux-aarch64/crypto/chacha/chacha-armv8.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700244 "linux-aarch64/crypto/fipsmodule/aesv8-armx64.S",
Robert Sloan8ff03552017-06-14 12:40:58 -0700245 "linux-aarch64/crypto/fipsmodule/armv8-mont.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700246 "linux-aarch64/crypto/fipsmodule/ghashv8-armx64.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700247 "linux-aarch64/crypto/fipsmodule/sha1-armv8.S",
248 "linux-aarch64/crypto/fipsmodule/sha256-armv8.S",
249 "linux-aarch64/crypto/fipsmodule/sha512-armv8.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700250 ],
251 },
252 android_arm: {
253 srcs: [
Dan Willemsen21986fb2016-07-14 15:23:56 -0700254 "linux-arm/crypto/chacha/chacha-armv4.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700255 "linux-arm/crypto/fipsmodule/aes-armv4.S",
256 "linux-arm/crypto/fipsmodule/aesv8-armx32.S",
Robert Sloan8ff03552017-06-14 12:40:58 -0700257 "linux-arm/crypto/fipsmodule/armv4-mont.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700258 "linux-arm/crypto/fipsmodule/bsaes-armv7.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700259 "linux-arm/crypto/fipsmodule/ghash-armv4.S",
260 "linux-arm/crypto/fipsmodule/ghashv8-armx32.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700261 "linux-arm/crypto/fipsmodule/sha1-armv4-large.S",
262 "linux-arm/crypto/fipsmodule/sha256-armv4.S",
263 "linux-arm/crypto/fipsmodule/sha512-armv4.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700264 "src/crypto/curve25519/asm/x25519-asm-arm.S",
265 "src/crypto/poly1305/poly1305_arm_asm.S",
266 ],
267 },
268 android_x86: {
269 srcs: [
Dan Willemsen21986fb2016-07-14 15:23:56 -0700270 "linux-x86/crypto/chacha/chacha-x86.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700271 "linux-x86/crypto/fipsmodule/aes-586.S",
272 "linux-x86/crypto/fipsmodule/aesni-x86.S",
Robert Sloan8ff03552017-06-14 12:40:58 -0700273 "linux-x86/crypto/fipsmodule/bn-586.S",
274 "linux-x86/crypto/fipsmodule/co-586.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700275 "linux-x86/crypto/fipsmodule/ghash-x86.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700276 "linux-x86/crypto/fipsmodule/md5-586.S",
277 "linux-x86/crypto/fipsmodule/sha1-586.S",
278 "linux-x86/crypto/fipsmodule/sha256-586.S",
279 "linux-x86/crypto/fipsmodule/sha512-586.S",
280 "linux-x86/crypto/fipsmodule/vpaes-x86.S",
Robert Sloan8ff03552017-06-14 12:40:58 -0700281 "linux-x86/crypto/fipsmodule/x86-mont.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700282 ],
283 },
Dan Willemsen2c01bca2017-10-02 10:36:32 -0700284 linux_glibc_x86: {
Dan Willemsen21986fb2016-07-14 15:23:56 -0700285 srcs: [
Dan Willemsen21986fb2016-07-14 15:23:56 -0700286 "linux-x86/crypto/chacha/chacha-x86.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700287 "linux-x86/crypto/fipsmodule/aes-586.S",
288 "linux-x86/crypto/fipsmodule/aesni-x86.S",
Robert Sloan8ff03552017-06-14 12:40:58 -0700289 "linux-x86/crypto/fipsmodule/bn-586.S",
290 "linux-x86/crypto/fipsmodule/co-586.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700291 "linux-x86/crypto/fipsmodule/ghash-x86.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700292 "linux-x86/crypto/fipsmodule/md5-586.S",
293 "linux-x86/crypto/fipsmodule/sha1-586.S",
294 "linux-x86/crypto/fipsmodule/sha256-586.S",
295 "linux-x86/crypto/fipsmodule/sha512-586.S",
296 "linux-x86/crypto/fipsmodule/vpaes-x86.S",
Robert Sloan8ff03552017-06-14 12:40:58 -0700297 "linux-x86/crypto/fipsmodule/x86-mont.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700298 ],
299 },
300 android_x86_64: {
301 srcs: [
Dan Willemsen21986fb2016-07-14 15:23:56 -0700302 "linux-x86_64/crypto/chacha/chacha-x86_64.S",
Robert Sloan8ff03552017-06-14 12:40:58 -0700303 "linux-x86_64/crypto/cipher_extra/aes128gcmsiv-x86_64.S",
304 "linux-x86_64/crypto/cipher_extra/chacha20_poly1305_x86_64.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700305 "linux-x86_64/crypto/fipsmodule/aes-x86_64.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700306 "linux-x86_64/crypto/fipsmodule/aesni-gcm-x86_64.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700307 "linux-x86_64/crypto/fipsmodule/aesni-x86_64.S",
308 "linux-x86_64/crypto/fipsmodule/bsaes-x86_64.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700309 "linux-x86_64/crypto/fipsmodule/ghash-x86_64.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700310 "linux-x86_64/crypto/fipsmodule/md5-x86_64.S",
Robert Sloan8ff03552017-06-14 12:40:58 -0700311 "linux-x86_64/crypto/fipsmodule/p256-x86_64-asm.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700312 "linux-x86_64/crypto/fipsmodule/rdrand-x86_64.S",
Robert Sloan8ff03552017-06-14 12:40:58 -0700313 "linux-x86_64/crypto/fipsmodule/rsaz-avx2.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700314 "linux-x86_64/crypto/fipsmodule/sha1-x86_64.S",
315 "linux-x86_64/crypto/fipsmodule/sha256-x86_64.S",
316 "linux-x86_64/crypto/fipsmodule/sha512-x86_64.S",
317 "linux-x86_64/crypto/fipsmodule/vpaes-x86_64.S",
Robert Sloan8ff03552017-06-14 12:40:58 -0700318 "linux-x86_64/crypto/fipsmodule/x86_64-mont.S",
319 "linux-x86_64/crypto/fipsmodule/x86_64-mont5.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700320 "src/crypto/curve25519/asm/x25519-asm-x86_64.S",
321 ],
322 },
Dan Willemsen2c01bca2017-10-02 10:36:32 -0700323 linux_glibc_x86_64: {
Dan Willemsen21986fb2016-07-14 15:23:56 -0700324 srcs: [
Dan Willemsen21986fb2016-07-14 15:23:56 -0700325 "linux-x86_64/crypto/chacha/chacha-x86_64.S",
Robert Sloan8ff03552017-06-14 12:40:58 -0700326 "linux-x86_64/crypto/cipher_extra/aes128gcmsiv-x86_64.S",
327 "linux-x86_64/crypto/cipher_extra/chacha20_poly1305_x86_64.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700328 "linux-x86_64/crypto/fipsmodule/aes-x86_64.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700329 "linux-x86_64/crypto/fipsmodule/aesni-gcm-x86_64.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700330 "linux-x86_64/crypto/fipsmodule/aesni-x86_64.S",
331 "linux-x86_64/crypto/fipsmodule/bsaes-x86_64.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700332 "linux-x86_64/crypto/fipsmodule/ghash-x86_64.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700333 "linux-x86_64/crypto/fipsmodule/md5-x86_64.S",
Robert Sloan8ff03552017-06-14 12:40:58 -0700334 "linux-x86_64/crypto/fipsmodule/p256-x86_64-asm.S",
Robert Sloan9254e682017-04-24 09:42:06 -0700335 "linux-x86_64/crypto/fipsmodule/rdrand-x86_64.S",
Robert Sloan8ff03552017-06-14 12:40:58 -0700336 "linux-x86_64/crypto/fipsmodule/rsaz-avx2.S",
Robert Sloan572a4e22017-04-17 10:52:19 -0700337 "linux-x86_64/crypto/fipsmodule/sha1-x86_64.S",
338 "linux-x86_64/crypto/fipsmodule/sha256-x86_64.S",
339 "linux-x86_64/crypto/fipsmodule/sha512-x86_64.S",
340 "linux-x86_64/crypto/fipsmodule/vpaes-x86_64.S",
Robert Sloan8ff03552017-06-14 12:40:58 -0700341 "linux-x86_64/crypto/fipsmodule/x86_64-mont.S",
342 "linux-x86_64/crypto/fipsmodule/x86_64-mont5.S",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700343 "src/crypto/curve25519/asm/x25519-asm-x86_64.S",
344 ],
345 },
346 },
347}
348
349cc_defaults {
350 name: "libssl_sources",
351 srcs: [
Robert Sloana12bf462017-07-17 07:08:26 -0700352 "src/ssl/bio_ssl.cc",
353 "src/ssl/custom_extensions.cc",
354 "src/ssl/d1_both.cc",
355 "src/ssl/d1_lib.cc",
356 "src/ssl/d1_pkt.cc",
357 "src/ssl/d1_srtp.cc",
358 "src/ssl/dtls_method.cc",
359 "src/ssl/dtls_record.cc",
Robert Sloana27a6a42017-09-05 08:39:28 -0700360 "src/ssl/handshake.cc",
Robert Sloana12bf462017-07-17 07:08:26 -0700361 "src/ssl/handshake_client.cc",
362 "src/ssl/handshake_server.cc",
363 "src/ssl/s3_both.cc",
364 "src/ssl/s3_lib.cc",
365 "src/ssl/s3_pkt.cc",
366 "src/ssl/ssl_aead_ctx.cc",
367 "src/ssl/ssl_asn1.cc",
368 "src/ssl/ssl_buffer.cc",
369 "src/ssl/ssl_cert.cc",
370 "src/ssl/ssl_cipher.cc",
Robert Sloana12bf462017-07-17 07:08:26 -0700371 "src/ssl/ssl_file.cc",
Robert Sloanb6d070c2017-07-24 08:40:01 -0700372 "src/ssl/ssl_key_share.cc",
Robert Sloana12bf462017-07-17 07:08:26 -0700373 "src/ssl/ssl_lib.cc",
374 "src/ssl/ssl_privkey.cc",
375 "src/ssl/ssl_session.cc",
376 "src/ssl/ssl_stat.cc",
377 "src/ssl/ssl_transcript.cc",
378 "src/ssl/ssl_versions.cc",
379 "src/ssl/ssl_x509.cc",
380 "src/ssl/t1_enc.cc",
381 "src/ssl/t1_lib.cc",
382 "src/ssl/tls13_both.cc",
383 "src/ssl/tls13_client.cc",
384 "src/ssl/tls13_enc.cc",
385 "src/ssl/tls13_server.cc",
386 "src/ssl/tls_method.cc",
387 "src/ssl/tls_record.cc",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700388 ],
389}
390
391cc_defaults {
392 name: "bssl_sources",
393 srcs: [
394 "src/tool/args.cc",
395 "src/tool/ciphers.cc",
396 "src/tool/client.cc",
397 "src/tool/const.cc",
398 "src/tool/digest.cc",
Robert Sloan572a4e22017-04-17 10:52:19 -0700399 "src/tool/file.cc",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700400 "src/tool/generate_ed25519.cc",
401 "src/tool/genrsa.cc",
402 "src/tool/pkcs12.cc",
403 "src/tool/rand.cc",
404 "src/tool/server.cc",
Robert Sloan572a4e22017-04-17 10:52:19 -0700405 "src/tool/sign.cc",
Dan Willemsen21986fb2016-07-14 15:23:56 -0700406 "src/tool/speed.cc",
407 "src/tool/tool.cc",
408 "src/tool/transport_common.cc",
409 ],
410}
Dan Willemsen2458a412016-07-15 09:28:31 -0700411
412cc_defaults {
413 name: "boringssl_test_support_sources",
414 srcs: [
415 "src/crypto/test/file_test.cc",
416 "src/crypto/test/malloc.cc",
417 "src/crypto/test/test_util.cc",
418 ],
419}
420
421cc_defaults {
David Benjaminf31229b2017-01-25 14:08:15 -0500422 name: "boringssl_crypto_test_sources",
423 srcs: [
Robert Sloan8ff03552017-06-14 12:40:58 -0700424 "crypto_test_data.cc",
Robert Sloan8ecb7cd2017-03-21 09:39:01 -0700425 "src/crypto/asn1/asn1_test.cc",
Robert Sloan572a4e22017-04-17 10:52:19 -0700426 "src/crypto/base64/base64_test.cc",
Robert Sloan6d0d00e2017-03-27 07:13:07 -0700427 "src/crypto/bio/bio_test.cc",
Robert Sloan572a4e22017-04-17 10:52:19 -0700428 "src/crypto/bytestring/bytestring_test.cc",
Robert Sloana94fe052017-02-21 08:49:28 -0800429 "src/crypto/chacha/chacha_test.cc",
Robert Sloan8ff03552017-06-14 12:40:58 -0700430 "src/crypto/cipher_extra/aead_test.cc",
431 "src/crypto/cipher_extra/cipher_test.cc",
Robert Sloan2424d842017-05-01 07:46:28 -0700432 "src/crypto/cmac/cmac_test.cc",
Robert Sloan9254e682017-04-24 09:42:06 -0700433 "src/crypto/compiler_test.cc",
Robert Sloan6d0d00e2017-03-27 07:13:07 -0700434 "src/crypto/constant_time_test.cc",
Robert Sloan8ff03552017-06-14 12:40:58 -0700435 "src/crypto/curve25519/ed25519_test.cc",
Robert Sloan2424d842017-05-01 07:46:28 -0700436 "src/crypto/curve25519/spake25519_test.cc",
Robert Sloan7d422bc2017-03-06 10:04:29 -0800437 "src/crypto/curve25519/x25519_test.cc",
David Benjaminf31229b2017-01-25 14:08:15 -0500438 "src/crypto/dh/dh_test.cc",
Robert Sloan8ff03552017-06-14 12:40:58 -0700439 "src/crypto/digest_extra/digest_test.cc",
David Benjaminf31229b2017-01-25 14:08:15 -0500440 "src/crypto/dsa/dsa_test.cc",
Robert Sloan8ff03552017-06-14 12:40:58 -0700441 "src/crypto/ecdh/ecdh_test.cc",
Robert Sloana94fe052017-02-21 08:49:28 -0800442 "src/crypto/err/err_test.cc",
Robert Sloan7d422bc2017-03-06 10:04:29 -0800443 "src/crypto/evp/evp_extra_test.cc",
Robert Sloan8ff03552017-06-14 12:40:58 -0700444 "src/crypto/evp/evp_test.cc",
445 "src/crypto/evp/pbkdf_test.cc",
446 "src/crypto/evp/scrypt_test.cc",
447 "src/crypto/fipsmodule/aes/aes_test.cc",
448 "src/crypto/fipsmodule/bn/bn_test.cc",
449 "src/crypto/fipsmodule/ec/ec_test.cc",
450 "src/crypto/fipsmodule/ec/p256-x86_64_test.cc",
451 "src/crypto/fipsmodule/ecdsa/ecdsa_test.cc",
452 "src/crypto/fipsmodule/modes/gcm_test.cc",
Robert Sloan9254e682017-04-24 09:42:06 -0700453 "src/crypto/fipsmodule/rand/ctrdrbg_test.cc",
Robert Sloan8ff03552017-06-14 12:40:58 -0700454 "src/crypto/hkdf/hkdf_test.cc",
455 "src/crypto/hmac_extra/hmac_test.cc",
456 "src/crypto/lhash/lhash_test.cc",
457 "src/crypto/obj/obj_test.cc",
458 "src/crypto/pkcs7/pkcs7_test.cc",
459 "src/crypto/pkcs8/pkcs12_test.cc",
460 "src/crypto/pkcs8/pkcs8_test.cc",
461 "src/crypto/poly1305/poly1305_test.cc",
462 "src/crypto/pool/pool_test.cc",
463 "src/crypto/refcount_test.cc",
464 "src/crypto/rsa_extra/rsa_test.cc",
465 "src/crypto/test/file_test_gtest.cc",
David Benjaminf31229b2017-01-25 14:08:15 -0500466 "src/crypto/test/gtest_main.cc",
Robert Sloan8ff03552017-06-14 12:40:58 -0700467 "src/crypto/thread_test.cc",
468 "src/crypto/x509/x509_test.cc",
Robert Sloana12bf462017-07-17 07:08:26 -0700469 "src/crypto/x509v3/tab_test.cc",
470 "src/crypto/x509v3/v3name_test.cc",
David Benjaminf31229b2017-01-25 14:08:15 -0500471 ],
472}
473
474cc_defaults {
475 name: "boringssl_ssl_test_sources",
476 srcs: [
477 "src/crypto/test/gtest_main.cc",
Robert Sloanfe7cd212017-08-07 09:03:39 -0700478 "src/ssl/span_test.cc",
David Benjaminf31229b2017-01-25 14:08:15 -0500479 "src/ssl/ssl_test.cc",
480 ],
481}
482