build: first set of updates to enable PPC support
[platform/upstream/nodejs.git] / deps / openssl / openssl.gypi
1 {
2   'variables': {
3     'openssl_sources': [
4       'openssl/ssl/bio_ssl.c',
5       'openssl/ssl/d1_both.c',
6       'openssl/ssl/d1_clnt.c',
7       'openssl/ssl/d1_lib.c',
8       'openssl/ssl/d1_meth.c',
9       'openssl/ssl/d1_pkt.c',
10       'openssl/ssl/d1_srtp.c',
11       'openssl/ssl/d1_srvr.c',
12       'openssl/ssl/kssl.c',
13       'openssl/ssl/s23_clnt.c',
14       'openssl/ssl/s23_lib.c',
15       'openssl/ssl/s23_meth.c',
16       'openssl/ssl/s23_pkt.c',
17       'openssl/ssl/s23_srvr.c',
18       'openssl/ssl/s2_clnt.c',
19       'openssl/ssl/s2_enc.c',
20       'openssl/ssl/s2_lib.c',
21       'openssl/ssl/s2_meth.c',
22       'openssl/ssl/s2_pkt.c',
23       'openssl/ssl/s2_srvr.c',
24       'openssl/ssl/s3_both.c',
25       'openssl/ssl/s3_cbc.c',
26       'openssl/ssl/s3_clnt.c',
27       'openssl/ssl/s3_enc.c',
28       'openssl/ssl/s3_lib.c',
29       'openssl/ssl/s3_meth.c',
30       'openssl/ssl/s3_pkt.c',
31       'openssl/ssl/s3_srvr.c',
32       'openssl/ssl/ssl_algs.c',
33       'openssl/ssl/ssl_asn1.c',
34       'openssl/ssl/ssl_cert.c',
35       'openssl/ssl/ssl_ciph.c',
36       'openssl/ssl/ssl_conf.c',
37       'openssl/ssl/ssl_err.c',
38       'openssl/ssl/ssl_err2.c',
39       'openssl/ssl/ssl_lib.c',
40       'openssl/ssl/ssl_rsa.c',
41       'openssl/ssl/ssl_sess.c',
42       'openssl/ssl/ssl_stat.c',
43       'openssl/ssl/ssl_txt.c',
44       'openssl/ssl/ssl_utst.c',
45       'openssl/ssl/t1_clnt.c',
46       'openssl/ssl/t1_enc.c',
47       'openssl/ssl/t1_ext.c',
48       'openssl/ssl/t1_lib.c',
49       'openssl/ssl/t1_meth.c',
50       'openssl/ssl/t1_reneg.c',
51       'openssl/ssl/t1_srvr.c',
52       'openssl/ssl/t1_trce.c',
53       'openssl/ssl/tls_srp.c',
54       'openssl/crypto/aes/aes_cfb.c',
55       'openssl/crypto/aes/aes_ctr.c',
56       'openssl/crypto/aes/aes_ecb.c',
57       'openssl/crypto/aes/aes_ige.c',
58       'openssl/crypto/aes/aes_misc.c',
59       'openssl/crypto/aes/aes_ofb.c',
60       'openssl/crypto/aes/aes_wrap.c',
61       'openssl/crypto/asn1/a_bitstr.c',
62       'openssl/crypto/asn1/a_bool.c',
63       'openssl/crypto/asn1/a_bytes.c',
64       'openssl/crypto/asn1/a_d2i_fp.c',
65       'openssl/crypto/asn1/a_digest.c',
66       'openssl/crypto/asn1/a_dup.c',
67       'openssl/crypto/asn1/a_enum.c',
68       'openssl/crypto/asn1/a_gentm.c',
69       'openssl/crypto/asn1/a_i2d_fp.c',
70       'openssl/crypto/asn1/a_int.c',
71       'openssl/crypto/asn1/a_mbstr.c',
72       'openssl/crypto/asn1/a_object.c',
73       'openssl/crypto/asn1/a_octet.c',
74       'openssl/crypto/asn1/a_print.c',
75       'openssl/crypto/asn1/a_set.c',
76       'openssl/crypto/asn1/a_sign.c',
77       'openssl/crypto/asn1/a_strex.c',
78       'openssl/crypto/asn1/a_strnid.c',
79       'openssl/crypto/asn1/a_time.c',
80       'openssl/crypto/asn1/a_type.c',
81       'openssl/crypto/asn1/a_utctm.c',
82       'openssl/crypto/asn1/a_utf8.c',
83       'openssl/crypto/asn1/a_verify.c',
84       'openssl/crypto/asn1/ameth_lib.c',
85       'openssl/crypto/asn1/asn1_err.c',
86       'openssl/crypto/asn1/asn1_gen.c',
87       'openssl/crypto/asn1/asn1_lib.c',
88       'openssl/crypto/asn1/asn1_par.c',
89       'openssl/crypto/asn1/asn_mime.c',
90       'openssl/crypto/asn1/asn_moid.c',
91       'openssl/crypto/asn1/asn_pack.c',
92       'openssl/crypto/asn1/bio_asn1.c',
93       'openssl/crypto/asn1/bio_ndef.c',
94       'openssl/crypto/asn1/d2i_pr.c',
95       'openssl/crypto/asn1/d2i_pu.c',
96       'openssl/crypto/asn1/evp_asn1.c',
97       'openssl/crypto/asn1/f_enum.c',
98       'openssl/crypto/asn1/f_int.c',
99       'openssl/crypto/asn1/f_string.c',
100       'openssl/crypto/asn1/i2d_pr.c',
101       'openssl/crypto/asn1/i2d_pu.c',
102       'openssl/crypto/asn1/n_pkey.c',
103       'openssl/crypto/asn1/nsseq.c',
104       'openssl/crypto/asn1/p5_pbe.c',
105       'openssl/crypto/asn1/p5_pbev2.c',
106       'openssl/crypto/asn1/p8_pkey.c',
107       'openssl/crypto/asn1/t_bitst.c',
108       'openssl/crypto/asn1/t_crl.c',
109       'openssl/crypto/asn1/t_pkey.c',
110       'openssl/crypto/asn1/t_req.c',
111       'openssl/crypto/asn1/t_spki.c',
112       'openssl/crypto/asn1/t_x509.c',
113       'openssl/crypto/asn1/t_x509a.c',
114       'openssl/crypto/asn1/tasn_dec.c',
115       'openssl/crypto/asn1/tasn_enc.c',
116       'openssl/crypto/asn1/tasn_fre.c',
117       'openssl/crypto/asn1/tasn_new.c',
118       'openssl/crypto/asn1/tasn_prn.c',
119       'openssl/crypto/asn1/tasn_typ.c',
120       'openssl/crypto/asn1/tasn_utl.c',
121       'openssl/crypto/asn1/x_algor.c',
122       'openssl/crypto/asn1/x_attrib.c',
123       'openssl/crypto/asn1/x_bignum.c',
124       'openssl/crypto/asn1/x_crl.c',
125       'openssl/crypto/asn1/x_exten.c',
126       'openssl/crypto/asn1/x_info.c',
127       'openssl/crypto/asn1/x_long.c',
128       'openssl/crypto/asn1/x_name.c',
129       'openssl/crypto/asn1/x_nx509.c',
130       'openssl/crypto/asn1/x_pkey.c',
131       'openssl/crypto/asn1/x_pubkey.c',
132       'openssl/crypto/asn1/x_req.c',
133       'openssl/crypto/asn1/x_sig.c',
134       'openssl/crypto/asn1/x_spki.c',
135       'openssl/crypto/asn1/x_val.c',
136       'openssl/crypto/asn1/x_x509.c',
137       'openssl/crypto/asn1/x_x509a.c',
138       'openssl/crypto/bf/bf_cfb64.c',
139       'openssl/crypto/bf/bf_ecb.c',
140       'openssl/crypto/bf/bf_ofb64.c',
141       'openssl/crypto/bf/bf_skey.c',
142       'openssl/crypto/bio/b_dump.c',
143       'openssl/crypto/bio/b_print.c',
144       'openssl/crypto/bio/b_sock.c',
145       'openssl/crypto/bio/bf_buff.c',
146       'openssl/crypto/bio/bf_nbio.c',
147       'openssl/crypto/bio/bf_null.c',
148       'openssl/crypto/bio/bio_cb.c',
149       'openssl/crypto/bio/bio_err.c',
150       'openssl/crypto/bio/bio_lib.c',
151       'openssl/crypto/bio/bss_acpt.c',
152       'openssl/crypto/bio/bss_bio.c',
153       'openssl/crypto/bio/bss_conn.c',
154       'openssl/crypto/bio/bss_dgram.c',
155       'openssl/crypto/bio/bss_fd.c',
156       'openssl/crypto/bio/bss_file.c',
157       'openssl/crypto/bio/bss_log.c',
158       'openssl/crypto/bio/bss_mem.c',
159       'openssl/crypto/bio/bss_null.c',
160       'openssl/crypto/bio/bss_sock.c',
161       'openssl/crypto/bn/bn_add.c',
162       'openssl/crypto/bn/bn_blind.c',
163       'openssl/crypto/bn/bn_const.c',
164       'openssl/crypto/bn/bn_ctx.c',
165       'openssl/crypto/bn/bn_depr.c',
166       'openssl/crypto/bn/bn_div.c',
167       'openssl/crypto/bn/bn_err.c',
168       'openssl/crypto/bn/bn_exp.c',
169       'openssl/crypto/bn/bn_exp2.c',
170       'openssl/crypto/bn/bn_gcd.c',
171       'openssl/crypto/bn/bn_gf2m.c',
172       'openssl/crypto/bn/bn_kron.c',
173       'openssl/crypto/bn/bn_lib.c',
174       'openssl/crypto/bn/bn_mod.c',
175       'openssl/crypto/bn/bn_mont.c',
176       'openssl/crypto/bn/bn_mpi.c',
177       'openssl/crypto/bn/bn_mul.c',
178       'openssl/crypto/bn/bn_nist.c',
179       'openssl/crypto/bn/bn_prime.c',
180       'openssl/crypto/bn/bn_print.c',
181       'openssl/crypto/bn/bn_rand.c',
182       'openssl/crypto/bn/bn_recp.c',
183       'openssl/crypto/bn/bn_shift.c',
184       'openssl/crypto/bn/bn_sqr.c',
185       'openssl/crypto/bn/bn_sqrt.c',
186       'openssl/crypto/bn/bn_word.c',
187       'openssl/crypto/bn/bn_x931p.c',
188       'openssl/crypto/buffer/buf_err.c',
189       'openssl/crypto/buffer/buf_str.c',
190       'openssl/crypto/buffer/buffer.c',
191       'openssl/crypto/camellia/cmll_cfb.c',
192       'openssl/crypto/camellia/cmll_ctr.c',
193       'openssl/crypto/camellia/cmll_ecb.c',
194       'openssl/crypto/camellia/cmll_ofb.c',
195       'openssl/crypto/camellia/cmll_utl.c',
196       'openssl/crypto/cast/c_cfb64.c',
197       'openssl/crypto/cast/c_ecb.c',
198       'openssl/crypto/cast/c_ofb64.c',
199       'openssl/crypto/cast/c_skey.c',
200       'openssl/crypto/cmac/cm_ameth.c',
201       'openssl/crypto/cmac/cm_pmeth.c',
202       'openssl/crypto/cmac/cmac.c',
203       'openssl/crypto/cms/cms_asn1.c',
204       'openssl/crypto/cms/cms_att.c',
205       'openssl/crypto/cms/cms_cd.c',
206       'openssl/crypto/cms/cms_dd.c',
207       'openssl/crypto/cms/cms_enc.c',
208       'openssl/crypto/cms/cms_env.c',
209       'openssl/crypto/cms/cms_err.c',
210       'openssl/crypto/cms/cms_ess.c',
211       'openssl/crypto/cms/cms_io.c',
212       'openssl/crypto/cms/cms_kari.c',
213       'openssl/crypto/cms/cms_lib.c',
214       'openssl/crypto/cms/cms_pwri.c',
215       'openssl/crypto/cms/cms_sd.c',
216       'openssl/crypto/cms/cms_smime.c',
217       'openssl/crypto/comp/c_rle.c',
218       'openssl/crypto/comp/c_zlib.c',
219       'openssl/crypto/comp/comp_err.c',
220       'openssl/crypto/comp/comp_lib.c',
221       'openssl/crypto/conf/conf_api.c',
222       'openssl/crypto/conf/conf_def.c',
223       'openssl/crypto/conf/conf_err.c',
224       'openssl/crypto/conf/conf_lib.c',
225       'openssl/crypto/conf/conf_mall.c',
226       'openssl/crypto/conf/conf_mod.c',
227       'openssl/crypto/conf/conf_sap.c',
228       'openssl/crypto/cpt_err.c',
229       'openssl/crypto/cryptlib.c',
230       'openssl/crypto/cversion.c',
231       'openssl/crypto/des/cbc_cksm.c',
232       'openssl/crypto/des/cbc_enc.c',
233       'openssl/crypto/des/cfb64ede.c',
234       'openssl/crypto/des/cfb64enc.c',
235       'openssl/crypto/des/cfb_enc.c',
236       'openssl/crypto/des/des_old.c',
237       'openssl/crypto/des/des_old2.c',
238       'openssl/crypto/des/ecb3_enc.c',
239       'openssl/crypto/des/ecb_enc.c',
240       'openssl/crypto/des/ede_cbcm_enc.c',
241       'openssl/crypto/des/enc_read.c',
242       'openssl/crypto/des/enc_writ.c',
243       'openssl/crypto/des/fcrypt.c',
244       'openssl/crypto/des/ofb64ede.c',
245       'openssl/crypto/des/ofb64enc.c',
246       'openssl/crypto/des/ofb_enc.c',
247       'openssl/crypto/des/pcbc_enc.c',
248       'openssl/crypto/des/qud_cksm.c',
249       'openssl/crypto/des/rand_key.c',
250       'openssl/crypto/des/read2pwd.c',
251       'openssl/crypto/des/rpc_enc.c',
252       'openssl/crypto/des/set_key.c',
253       'openssl/crypto/des/str2key.c',
254       'openssl/crypto/des/xcbc_enc.c',
255       'openssl/crypto/dh/dh_ameth.c',
256       'openssl/crypto/dh/dh_asn1.c',
257       'openssl/crypto/dh/dh_check.c',
258       'openssl/crypto/dh/dh_depr.c',
259       'openssl/crypto/dh/dh_err.c',
260       'openssl/crypto/dh/dh_gen.c',
261       'openssl/crypto/dh/dh_kdf.c',
262       'openssl/crypto/dh/dh_key.c',
263       'openssl/crypto/dh/dh_lib.c',
264       'openssl/crypto/dh/dh_pmeth.c',
265       'openssl/crypto/dh/dh_prn.c',
266       'openssl/crypto/dh/dh_rfc5114.c',
267       'openssl/crypto/dsa/dsa_ameth.c',
268       'openssl/crypto/dsa/dsa_asn1.c',
269       'openssl/crypto/dsa/dsa_depr.c',
270       'openssl/crypto/dsa/dsa_err.c',
271       'openssl/crypto/dsa/dsa_gen.c',
272       'openssl/crypto/dsa/dsa_key.c',
273       'openssl/crypto/dsa/dsa_lib.c',
274       'openssl/crypto/dsa/dsa_ossl.c',
275       'openssl/crypto/dsa/dsa_pmeth.c',
276       'openssl/crypto/dsa/dsa_prn.c',
277       'openssl/crypto/dsa/dsa_sign.c',
278       'openssl/crypto/dsa/dsa_vrf.c',
279       'openssl/crypto/dso/dso_beos.c',
280       'openssl/crypto/dso/dso_dl.c',
281       'openssl/crypto/dso/dso_dlfcn.c',
282       'openssl/crypto/dso/dso_err.c',
283       'openssl/crypto/dso/dso_lib.c',
284       'openssl/crypto/dso/dso_null.c',
285       'openssl/crypto/dso/dso_openssl.c',
286       'openssl/crypto/dso/dso_vms.c',
287       'openssl/crypto/dso/dso_win32.c',
288       'openssl/crypto/ebcdic.c',
289       'openssl/crypto/ec/ec2_mult.c',
290       'openssl/crypto/ec/ec2_oct.c',
291       'openssl/crypto/ec/ec2_smpl.c',
292       'openssl/crypto/ec/ec_ameth.c',
293       'openssl/crypto/ec/ec_asn1.c',
294       'openssl/crypto/ec/ec_check.c',
295       'openssl/crypto/ec/ec_curve.c',
296       'openssl/crypto/ec/ec_cvt.c',
297       'openssl/crypto/ec/ec_err.c',
298       'openssl/crypto/ec/ec_key.c',
299       'openssl/crypto/ec/ec_lib.c',
300       'openssl/crypto/ec/ec_mult.c',
301       'openssl/crypto/ec/ec_oct.c',
302       'openssl/crypto/ec/ec_pmeth.c',
303       'openssl/crypto/ec/ec_print.c',
304       'openssl/crypto/ec/eck_prn.c',
305       'openssl/crypto/ec/ecp_mont.c',
306       'openssl/crypto/ec/ecp_nist.c',
307       'openssl/crypto/ec/ecp_nistp224.c',
308       'openssl/crypto/ec/ecp_nistp256.c',
309       'openssl/crypto/ec/ecp_nistp521.c',
310       'openssl/crypto/ec/ecp_nistputil.c',
311       'openssl/crypto/ec/ecp_oct.c',
312       'openssl/crypto/ec/ecp_smpl.c',
313       'openssl/crypto/ecdh/ech_err.c',
314       'openssl/crypto/ecdh/ech_kdf.c',
315       'openssl/crypto/ecdh/ech_key.c',
316       'openssl/crypto/ecdh/ech_lib.c',
317       'openssl/crypto/ecdh/ech_ossl.c',
318       'openssl/crypto/ecdsa/ecs_asn1.c',
319       'openssl/crypto/ecdsa/ecs_err.c',
320       'openssl/crypto/ecdsa/ecs_lib.c',
321       'openssl/crypto/ecdsa/ecs_ossl.c',
322       'openssl/crypto/ecdsa/ecs_sign.c',
323       'openssl/crypto/ecdsa/ecs_vrf.c',
324       'openssl/crypto/engine/eng_all.c',
325       'openssl/crypto/engine/eng_cnf.c',
326       'openssl/crypto/engine/eng_cryptodev.c',
327       'openssl/crypto/engine/eng_ctrl.c',
328       'openssl/crypto/engine/eng_dyn.c',
329       'openssl/crypto/engine/eng_err.c',
330       'openssl/crypto/engine/eng_fat.c',
331       'openssl/crypto/engine/eng_init.c',
332       'openssl/crypto/engine/eng_lib.c',
333       'openssl/crypto/engine/eng_list.c',
334       'openssl/crypto/engine/eng_openssl.c',
335       'openssl/crypto/engine/eng_pkey.c',
336       'openssl/crypto/engine/eng_rdrand.c',
337       'openssl/crypto/engine/eng_table.c',
338       'openssl/crypto/engine/tb_asnmth.c',
339       'openssl/crypto/engine/tb_cipher.c',
340       'openssl/crypto/engine/tb_dh.c',
341       'openssl/crypto/engine/tb_digest.c',
342       'openssl/crypto/engine/tb_dsa.c',
343       'openssl/crypto/engine/tb_ecdh.c',
344       'openssl/crypto/engine/tb_ecdsa.c',
345       'openssl/crypto/engine/tb_pkmeth.c',
346       'openssl/crypto/engine/tb_rand.c',
347       'openssl/crypto/engine/tb_rsa.c',
348       'openssl/crypto/engine/tb_store.c',
349       'openssl/crypto/err/err.c',
350       'openssl/crypto/err/err_all.c',
351       'openssl/crypto/err/err_prn.c',
352       'openssl/crypto/evp/bio_b64.c',
353       'openssl/crypto/evp/bio_enc.c',
354       'openssl/crypto/evp/bio_md.c',
355       'openssl/crypto/evp/bio_ok.c',
356       'openssl/crypto/evp/c_all.c',
357       'openssl/crypto/evp/c_allc.c',
358       'openssl/crypto/evp/c_alld.c',
359       'openssl/crypto/evp/digest.c',
360       'openssl/crypto/evp/e_aes.c',
361       'openssl/crypto/evp/e_aes_cbc_hmac_sha1.c',
362       'openssl/crypto/evp/e_aes_cbc_hmac_sha256.c',
363       'openssl/crypto/evp/e_bf.c',
364       'openssl/crypto/evp/e_camellia.c',
365       'openssl/crypto/evp/e_cast.c',
366       'openssl/crypto/evp/e_des.c',
367       'openssl/crypto/evp/e_des3.c',
368       'openssl/crypto/evp/e_idea.c',
369       'openssl/crypto/evp/e_null.c',
370       'openssl/crypto/evp/e_old.c',
371       'openssl/crypto/evp/e_rc2.c',
372       'openssl/crypto/evp/e_rc4.c',
373       'openssl/crypto/evp/e_rc4_hmac_md5.c',
374       'openssl/crypto/evp/e_rc5.c',
375       'openssl/crypto/evp/e_seed.c',
376       'openssl/crypto/evp/e_xcbc_d.c',
377       'openssl/crypto/evp/encode.c',
378       'openssl/crypto/evp/evp_acnf.c',
379       'openssl/crypto/evp/evp_cnf.c',
380       'openssl/crypto/evp/evp_enc.c',
381       'openssl/crypto/evp/evp_err.c',
382       'openssl/crypto/evp/evp_key.c',
383       'openssl/crypto/evp/evp_lib.c',
384       'openssl/crypto/evp/evp_pbe.c',
385       'openssl/crypto/evp/evp_pkey.c',
386       'openssl/crypto/evp/m_dss.c',
387       'openssl/crypto/evp/m_dss1.c',
388       'openssl/crypto/evp/m_ecdsa.c',
389       'openssl/crypto/evp/m_md2.c',
390       'openssl/crypto/evp/m_md4.c',
391       'openssl/crypto/evp/m_md5.c',
392       'openssl/crypto/evp/m_mdc2.c',
393       'openssl/crypto/evp/m_null.c',
394       'openssl/crypto/evp/m_ripemd.c',
395       'openssl/crypto/evp/m_sha.c',
396       'openssl/crypto/evp/m_sha1.c',
397       'openssl/crypto/evp/m_sigver.c',
398       'openssl/crypto/evp/m_wp.c',
399       'openssl/crypto/evp/names.c',
400       'openssl/crypto/evp/p5_crpt.c',
401       'openssl/crypto/evp/p5_crpt2.c',
402       'openssl/crypto/evp/p_dec.c',
403       'openssl/crypto/evp/p_enc.c',
404       'openssl/crypto/evp/p_lib.c',
405       'openssl/crypto/evp/p_open.c',
406       'openssl/crypto/evp/p_seal.c',
407       'openssl/crypto/evp/p_sign.c',
408       'openssl/crypto/evp/p_verify.c',
409       'openssl/crypto/evp/pmeth_fn.c',
410       'openssl/crypto/evp/pmeth_gn.c',
411       'openssl/crypto/evp/pmeth_lib.c',
412       'openssl/crypto/ex_data.c',
413       'openssl/crypto/fips_ers.c',
414       'openssl/crypto/hmac/hm_ameth.c',
415       'openssl/crypto/hmac/hm_pmeth.c',
416       'openssl/crypto/hmac/hmac.c',
417       'openssl/crypto/idea/i_cbc.c',
418       'openssl/crypto/idea/i_cfb64.c',
419       'openssl/crypto/idea/i_ecb.c',
420       'openssl/crypto/idea/i_ofb64.c',
421       'openssl/crypto/idea/i_skey.c',
422       'openssl/crypto/krb5/krb5_asn.c',
423       'openssl/crypto/lhash/lh_stats.c',
424       'openssl/crypto/lhash/lhash.c',
425       'openssl/crypto/md4/md4_dgst.c',
426       'openssl/crypto/md4/md4_one.c',
427       'openssl/crypto/md5/md5_dgst.c',
428       'openssl/crypto/md5/md5_one.c',
429       'openssl/crypto/mdc2/mdc2_one.c',
430       'openssl/crypto/mdc2/mdc2dgst.c',
431       'openssl/crypto/mem.c',
432       'openssl/crypto/mem_dbg.c',
433       'openssl/crypto/modes/cbc128.c',
434       'openssl/crypto/modes/ccm128.c',
435       'openssl/crypto/modes/cfb128.c',
436       'openssl/crypto/modes/ctr128.c',
437       'openssl/crypto/modes/cts128.c',
438       'openssl/crypto/modes/gcm128.c',
439       'openssl/crypto/modes/ofb128.c',
440       'openssl/crypto/modes/wrap128.c',
441       'openssl/crypto/modes/xts128.c',
442       'openssl/crypto/o_dir.c',
443       'openssl/crypto/o_fips.c',
444       'openssl/crypto/o_init.c',
445       'openssl/crypto/o_str.c',
446       'openssl/crypto/o_time.c',
447       'openssl/crypto/objects/o_names.c',
448       'openssl/crypto/objects/obj_dat.c',
449       'openssl/crypto/objects/obj_err.c',
450       'openssl/crypto/objects/obj_lib.c',
451       'openssl/crypto/objects/obj_xref.c',
452       'openssl/crypto/ocsp/ocsp_asn.c',
453       'openssl/crypto/ocsp/ocsp_cl.c',
454       'openssl/crypto/ocsp/ocsp_err.c',
455       'openssl/crypto/ocsp/ocsp_ext.c',
456       'openssl/crypto/ocsp/ocsp_ht.c',
457       'openssl/crypto/ocsp/ocsp_lib.c',
458       'openssl/crypto/ocsp/ocsp_prn.c',
459       'openssl/crypto/ocsp/ocsp_srv.c',
460       'openssl/crypto/ocsp/ocsp_vfy.c',
461       'openssl/crypto/pem/pem_all.c',
462       'openssl/crypto/pem/pem_err.c',
463       'openssl/crypto/pem/pem_info.c',
464       'openssl/crypto/pem/pem_lib.c',
465       'openssl/crypto/pem/pem_oth.c',
466       'openssl/crypto/pem/pem_pk8.c',
467       'openssl/crypto/pem/pem_pkey.c',
468       'openssl/crypto/pem/pem_seal.c',
469       'openssl/crypto/pem/pem_sign.c',
470       'openssl/crypto/pem/pem_x509.c',
471       'openssl/crypto/pem/pem_xaux.c',
472       'openssl/crypto/pem/pvkfmt.c',
473       'openssl/crypto/pkcs12/p12_add.c',
474       'openssl/crypto/pkcs12/p12_asn.c',
475       'openssl/crypto/pkcs12/p12_attr.c',
476       'openssl/crypto/pkcs12/p12_crpt.c',
477       'openssl/crypto/pkcs12/p12_crt.c',
478       'openssl/crypto/pkcs12/p12_decr.c',
479       'openssl/crypto/pkcs12/p12_init.c',
480       'openssl/crypto/pkcs12/p12_key.c',
481       'openssl/crypto/pkcs12/p12_kiss.c',
482       'openssl/crypto/pkcs12/p12_mutl.c',
483       'openssl/crypto/pkcs12/p12_npas.c',
484       'openssl/crypto/pkcs12/p12_p8d.c',
485       'openssl/crypto/pkcs12/p12_p8e.c',
486       'openssl/crypto/pkcs12/p12_utl.c',
487       'openssl/crypto/pkcs12/pk12err.c',
488       'openssl/crypto/pkcs7/bio_pk7.c',
489       'openssl/crypto/pkcs7/pk7_asn1.c',
490       'openssl/crypto/pkcs7/pk7_attr.c',
491       'openssl/crypto/pkcs7/pk7_doit.c',
492       'openssl/crypto/pkcs7/pk7_lib.c',
493       'openssl/crypto/pkcs7/pk7_mime.c',
494       'openssl/crypto/pkcs7/pk7_smime.c',
495       'openssl/crypto/pkcs7/pkcs7err.c',
496       'openssl/crypto/pqueue/pqueue.c',
497       'openssl/crypto/rand/md_rand.c',
498       'openssl/crypto/rand/rand_egd.c',
499       'openssl/crypto/rand/rand_err.c',
500       'openssl/crypto/rand/rand_lib.c',
501       'openssl/crypto/rand/rand_nw.c',
502       'openssl/crypto/rand/rand_os2.c',
503       'openssl/crypto/rand/rand_unix.c',
504       'openssl/crypto/rand/rand_win.c',
505       'openssl/crypto/rand/randfile.c',
506       'openssl/crypto/rc2/rc2_cbc.c',
507       'openssl/crypto/rc2/rc2_ecb.c',
508       'openssl/crypto/rc2/rc2_skey.c',
509       'openssl/crypto/rc2/rc2cfb64.c',
510       'openssl/crypto/rc2/rc2ofb64.c',
511       'openssl/crypto/rc4/rc4_utl.c',
512       'openssl/crypto/ripemd/rmd_dgst.c',
513       'openssl/crypto/ripemd/rmd_one.c',
514       'openssl/crypto/rsa/rsa_ameth.c',
515       'openssl/crypto/rsa/rsa_asn1.c',
516       'openssl/crypto/rsa/rsa_chk.c',
517       'openssl/crypto/rsa/rsa_crpt.c',
518       'openssl/crypto/rsa/rsa_depr.c',
519       'openssl/crypto/rsa/rsa_eay.c',
520       'openssl/crypto/rsa/rsa_err.c',
521       'openssl/crypto/rsa/rsa_gen.c',
522       'openssl/crypto/rsa/rsa_lib.c',
523       'openssl/crypto/rsa/rsa_none.c',
524       'openssl/crypto/rsa/rsa_null.c',
525       'openssl/crypto/rsa/rsa_oaep.c',
526       'openssl/crypto/rsa/rsa_pk1.c',
527       'openssl/crypto/rsa/rsa_pmeth.c',
528       'openssl/crypto/rsa/rsa_prn.c',
529       'openssl/crypto/rsa/rsa_pss.c',
530       'openssl/crypto/rsa/rsa_saos.c',
531       'openssl/crypto/rsa/rsa_sign.c',
532       'openssl/crypto/rsa/rsa_ssl.c',
533       'openssl/crypto/rsa/rsa_x931.c',
534       'openssl/crypto/seed/seed.c',
535       'openssl/crypto/seed/seed_cbc.c',
536       'openssl/crypto/seed/seed_cfb.c',
537       'openssl/crypto/seed/seed_ecb.c',
538       'openssl/crypto/seed/seed_ofb.c',
539       'openssl/crypto/sha/sha1_one.c',
540       'openssl/crypto/sha/sha1dgst.c',
541       'openssl/crypto/sha/sha256.c',
542       'openssl/crypto/sha/sha512.c',
543       'openssl/crypto/sha/sha_dgst.c',
544       'openssl/crypto/sha/sha_one.c',
545       'openssl/crypto/srp/srp_lib.c',
546       'openssl/crypto/srp/srp_vfy.c',
547       'openssl/crypto/stack/stack.c',
548       'openssl/crypto/ts/ts_asn1.c',
549       'openssl/crypto/ts/ts_conf.c',
550       'openssl/crypto/ts/ts_err.c',
551       'openssl/crypto/ts/ts_lib.c',
552       'openssl/crypto/ts/ts_req_print.c',
553       'openssl/crypto/ts/ts_req_utils.c',
554       'openssl/crypto/ts/ts_rsp_print.c',
555       'openssl/crypto/ts/ts_rsp_sign.c',
556       'openssl/crypto/ts/ts_rsp_utils.c',
557       'openssl/crypto/ts/ts_rsp_verify.c',
558       'openssl/crypto/ts/ts_verify_ctx.c',
559       'openssl/crypto/txt_db/txt_db.c',
560       'openssl/crypto/ui/ui_err.c',
561       'openssl/crypto/ui/ui_lib.c',
562       'openssl/crypto/ui/ui_openssl.c',
563       'openssl/crypto/ui/ui_util.c',
564       'openssl/crypto/uid.c',
565       'openssl/crypto/whrlpool/wp_dgst.c',
566       'openssl/crypto/x509/by_dir.c',
567       'openssl/crypto/x509/by_file.c',
568       'openssl/crypto/x509/x509_att.c',
569       'openssl/crypto/x509/x509_cmp.c',
570       'openssl/crypto/x509/x509_d2.c',
571       'openssl/crypto/x509/x509_def.c',
572       'openssl/crypto/x509/x509_err.c',
573       'openssl/crypto/x509/x509_ext.c',
574       'openssl/crypto/x509/x509_lu.c',
575       'openssl/crypto/x509/x509_obj.c',
576       'openssl/crypto/x509/x509_r2x.c',
577       'openssl/crypto/x509/x509_req.c',
578       'openssl/crypto/x509/x509_set.c',
579       'openssl/crypto/x509/x509_trs.c',
580       'openssl/crypto/x509/x509_txt.c',
581       'openssl/crypto/x509/x509_v3.c',
582       'openssl/crypto/x509/x509_vfy.c',
583       'openssl/crypto/x509/x509_vpm.c',
584       'openssl/crypto/x509/x509cset.c',
585       'openssl/crypto/x509/x509name.c',
586       'openssl/crypto/x509/x509rset.c',
587       'openssl/crypto/x509/x509spki.c',
588       'openssl/crypto/x509/x509type.c',
589       'openssl/crypto/x509/x_all.c',
590       'openssl/crypto/x509v3/pcy_cache.c',
591       'openssl/crypto/x509v3/pcy_data.c',
592       'openssl/crypto/x509v3/pcy_lib.c',
593       'openssl/crypto/x509v3/pcy_map.c',
594       'openssl/crypto/x509v3/pcy_node.c',
595       'openssl/crypto/x509v3/pcy_tree.c',
596       'openssl/crypto/x509v3/v3_addr.c',
597       'openssl/crypto/x509v3/v3_akey.c',
598       'openssl/crypto/x509v3/v3_akeya.c',
599       'openssl/crypto/x509v3/v3_alt.c',
600       'openssl/crypto/x509v3/v3_asid.c',
601       'openssl/crypto/x509v3/v3_bcons.c',
602       'openssl/crypto/x509v3/v3_bitst.c',
603       'openssl/crypto/x509v3/v3_conf.c',
604       'openssl/crypto/x509v3/v3_cpols.c',
605       'openssl/crypto/x509v3/v3_crld.c',
606       'openssl/crypto/x509v3/v3_enum.c',
607       'openssl/crypto/x509v3/v3_extku.c',
608       'openssl/crypto/x509v3/v3_genn.c',
609       'openssl/crypto/x509v3/v3_ia5.c',
610       'openssl/crypto/x509v3/v3_info.c',
611       'openssl/crypto/x509v3/v3_int.c',
612       'openssl/crypto/x509v3/v3_lib.c',
613       'openssl/crypto/x509v3/v3_ncons.c',
614       'openssl/crypto/x509v3/v3_ocsp.c',
615       'openssl/crypto/x509v3/v3_pci.c',
616       'openssl/crypto/x509v3/v3_pcia.c',
617       'openssl/crypto/x509v3/v3_pcons.c',
618       'openssl/crypto/x509v3/v3_pku.c',
619       'openssl/crypto/x509v3/v3_pmaps.c',
620       'openssl/crypto/x509v3/v3_prn.c',
621       'openssl/crypto/x509v3/v3_purp.c',
622       'openssl/crypto/x509v3/v3_scts.c',
623       'openssl/crypto/x509v3/v3_skey.c',
624       'openssl/crypto/x509v3/v3_sxnet.c',
625       'openssl/crypto/x509v3/v3_utl.c',
626       'openssl/crypto/x509v3/v3err.c',
627       'openssl/engines/e_4758cca.c',
628       'openssl/engines/e_aep.c',
629       'openssl/engines/e_atalla.c',
630       'openssl/engines/e_capi.c',
631       'openssl/engines/e_chil.c',
632       'openssl/engines/e_cswift.c',
633       'openssl/engines/e_gmp.c',
634       'openssl/engines/e_nuron.c',
635       'openssl/engines/e_sureware.c',
636       'openssl/engines/e_ubsec.c',
637     ],
638     'openssl_sources_no_asm': [
639       'openssl/crypto/aes/aes_cbc.c',
640       'openssl/crypto/aes/aes_core.c',
641       'openssl/crypto/bf/bf_enc.c',
642       'openssl/crypto/bn/bn_asm.c',
643       'openssl/crypto/cast/c_enc.c',
644       'openssl/crypto/camellia/camellia.c',
645       'openssl/crypto/camellia/cmll_cbc.c',
646       'openssl/crypto/camellia/cmll_misc.c',
647       'openssl/crypto/des/des_enc.c',
648       'openssl/crypto/des/fcrypt_b.c',
649       'openssl/crypto/mem_clr.c',
650       'openssl/crypto/rc4/rc4_enc.c',
651       'openssl/crypto/rc4/rc4_skey.c',
652       'openssl/crypto/whrlpool/wp_block.c'
653     ],
654     'openssl_sources_asm_latest_ia32_elf_gas': [
655       'asm/x86-elf-gas/aes/aes-586.s',
656       'asm/x86-elf-gas/aes/aesni-x86.s',
657       'asm/x86-elf-gas/aes/vpaes-x86.s',
658       'asm/x86-elf-gas/bf/bf-586.s',
659       'asm/x86-elf-gas/bn/bn-586.s',
660       'asm/x86-elf-gas/bn/co-586.s',
661       'asm/x86-elf-gas/bn/x86-mont.s',
662       'asm/x86-elf-gas/bn/x86-gf2m.s',
663       'asm/x86-elf-gas/camellia/cmll-x86.s',
664       'asm/x86-elf-gas/cast/cast-586.s',
665       'asm/x86-elf-gas/des/crypt586.s',
666       'asm/x86-elf-gas/des/des-586.s',
667       'asm/x86-elf-gas/md5/md5-586.s',
668       'asm/x86-elf-gas/rc4/rc4-586.s',
669       'asm/x86-elf-gas/ripemd/rmd-586.s',
670       'asm/x86-elf-gas/sha/sha1-586.s',
671       'asm/x86-elf-gas/sha/sha256-586.s',
672       'asm/x86-elf-gas/sha/sha512-586.s',
673       'asm/x86-elf-gas/whrlpool/wp-mmx.s',
674       'asm/x86-elf-gas/modes/ghash-x86.s',
675       'asm/x86-elf-gas/x86cpuid.s',
676     ],
677     'openssl_sources_asm_obsolete_ia32_elf_gas': [
678       'asm_obsolete/x86-elf-gas/aes/aes-586.s',
679       'asm_obsolete/x86-elf-gas/aes/aesni-x86.s',
680       'asm_obsolete/x86-elf-gas/aes/vpaes-x86.s',
681       'asm_obsolete/x86-elf-gas/bf/bf-586.s',
682       'asm_obsolete/x86-elf-gas/bn/bn-586.s',
683       'asm_obsolete/x86-elf-gas/bn/co-586.s',
684       'asm_obsolete/x86-elf-gas/bn/x86-mont.s',
685       'asm_obsolete/x86-elf-gas/bn/x86-gf2m.s',
686       'asm_obsolete/x86-elf-gas/camellia/cmll-x86.s',
687       'asm_obsolete/x86-elf-gas/cast/cast-586.s',
688       'asm_obsolete/x86-elf-gas/des/crypt586.s',
689       'asm_obsolete/x86-elf-gas/des/des-586.s',
690       'asm_obsolete/x86-elf-gas/md5/md5-586.s',
691       'asm_obsolete/x86-elf-gas/rc4/rc4-586.s',
692       'asm_obsolete/x86-elf-gas/ripemd/rmd-586.s',
693       'asm_obsolete/x86-elf-gas/sha/sha1-586.s',
694       'asm_obsolete/x86-elf-gas/sha/sha256-586.s',
695       'asm_obsolete/x86-elf-gas/sha/sha512-586.s',
696       'asm_obsolete/x86-elf-gas/whrlpool/wp-mmx.s',
697       'asm_obsolete/x86-elf-gas/modes/ghash-x86.s',
698       'asm_obsolete/x86-elf-gas/x86cpuid.s',
699     ],
700     'openssl_sources_common_ia32': [
701       'openssl/crypto/whrlpool/wp_block.c'
702     ],
703     'openssl_sources_asm_latest_x64_elf_gas': [
704       'asm/x64-elf-gas/aes/aes-x86_64.s',
705       'asm/x64-elf-gas/aes/aesni-mb-x86_64.s',
706       'asm/x64-elf-gas/aes/aesni-sha256-x86_64.s',
707       'asm/x64-elf-gas/aes/aesni-x86_64.s',
708       'asm/x64-elf-gas/aes/vpaes-x86_64.s',
709       'asm/x64-elf-gas/aes/bsaes-x86_64.s',
710       'asm/x64-elf-gas/aes/aesni-sha1-x86_64.s',
711       'asm/x64-elf-gas/bn/rsaz-avx2.s',
712       'asm/x64-elf-gas/bn/rsaz-x86_64.s',
713       'asm/x64-elf-gas/bn/x86_64-mont.s',
714       'asm/x64-elf-gas/bn/x86_64-mont5.s',
715       'asm/x64-elf-gas/bn/x86_64-gf2m.s',
716       'asm/x64-elf-gas/camellia/cmll-x86_64.s',
717       'asm/x64-elf-gas/ec/ecp_nistz256-x86_64.s',
718       'asm/x64-elf-gas/md5/md5-x86_64.s',
719       'asm/x64-elf-gas/rc4/rc4-x86_64.s',
720       'asm/x64-elf-gas/rc4/rc4-md5-x86_64.s',
721       'asm/x64-elf-gas/sha/sha1-mb-x86_64.s',
722       'asm/x64-elf-gas/sha/sha1-x86_64.s',
723       'asm/x64-elf-gas/sha/sha256-mb-x86_64.s',
724       'asm/x64-elf-gas/sha/sha256-x86_64.s',
725       'asm/x64-elf-gas/sha/sha512-x86_64.s',
726       'asm/x64-elf-gas/whrlpool/wp-x86_64.s',
727       'asm/x64-elf-gas/modes/aesni-gcm-x86_64.s',
728       'asm/x64-elf-gas/modes/ghash-x86_64.s',
729       'asm/x64-elf-gas/x86_64cpuid.s',
730     ],
731     'openssl_sources_asm_obsolete_x64_elf_gas': [
732       'asm_obsolete/x64-elf-gas/aes/aes-x86_64.s',
733       'asm_obsolete/x64-elf-gas/aes/aesni-mb-x86_64.s',
734       'asm_obsolete/x64-elf-gas/aes/aesni-sha256-x86_64.s',
735       'asm_obsolete/x64-elf-gas/aes/aesni-x86_64.s',
736       'asm_obsolete/x64-elf-gas/aes/vpaes-x86_64.s',
737       'asm_obsolete/x64-elf-gas/aes/bsaes-x86_64.s',
738       'asm_obsolete/x64-elf-gas/aes/aesni-sha1-x86_64.s',
739       'asm_obsolete/x64-elf-gas/bn/rsaz-avx2.s',
740       'asm_obsolete/x64-elf-gas/bn/rsaz-x86_64.s',
741       'asm_obsolete/x64-elf-gas/bn/x86_64-mont.s',
742       'asm_obsolete/x64-elf-gas/bn/x86_64-mont5.s',
743       'asm_obsolete/x64-elf-gas/bn/x86_64-gf2m.s',
744       'asm_obsolete/x64-elf-gas/camellia/cmll-x86_64.s',
745       'asm_obsolete/x64-elf-gas/ec/ecp_nistz256-x86_64.s',
746       'asm_obsolete/x64-elf-gas/md5/md5-x86_64.s',
747       'asm_obsolete/x64-elf-gas/rc4/rc4-x86_64.s',
748       'asm_obsolete/x64-elf-gas/rc4/rc4-md5-x86_64.s',
749       'asm_obsolete/x64-elf-gas/sha/sha1-mb-x86_64.s',
750       'asm_obsolete/x64-elf-gas/sha/sha1-x86_64.s',
751       'asm_obsolete/x64-elf-gas/sha/sha256-mb-x86_64.s',
752       'asm_obsolete/x64-elf-gas/sha/sha256-x86_64.s',
753       'asm_obsolete/x64-elf-gas/sha/sha512-x86_64.s',
754       'asm_obsolete/x64-elf-gas/whrlpool/wp-x86_64.s',
755       'asm_obsolete/x64-elf-gas/modes/aesni-gcm-x86_64.s',
756       'asm_obsolete/x64-elf-gas/modes/ghash-x86_64.s',
757       'asm_obsolete/x64-elf-gas/x86_64cpuid.s',
758     ],
759     'openssl_sources_common_x64_elf_gas': [
760       # Non-generated asm
761       'openssl/crypto/bn/asm/x86_64-gcc.c',
762       # No asm available
763       'openssl/crypto/bf/bf_enc.c',
764       'openssl/crypto/bn/rsaz_exp.c',
765       'openssl/crypto/cast/c_enc.c',
766       'openssl/crypto/camellia/cmll_misc.c',
767       'openssl/crypto/des/des_enc.c',
768       'openssl/crypto/des/fcrypt_b.c',
769       'openssl/crypto/ec/ecp_nistz256.c',
770       'openssl/crypto/ui/ui_compat.c'
771     ],
772     'openssl_sources_asm_latest_ia32_mac_gas': [
773       'asm/x86-macosx-gas/aes/aes-586.s',
774       'asm/x86-macosx-gas/aes/aesni-x86.s',
775       'asm/x86-macosx-gas/aes/vpaes-x86.s',
776       'asm/x86-macosx-gas/bf/bf-586.s',
777       'asm/x86-macosx-gas/bn/bn-586.s',
778       'asm/x86-macosx-gas/bn/co-586.s',
779       'asm/x86-macosx-gas/bn/x86-mont.s',
780       'asm/x86-macosx-gas/bn/x86-gf2m.s',
781       'asm/x86-macosx-gas/camellia/cmll-x86.s',
782       'asm/x86-macosx-gas/cast/cast-586.s',
783       'asm/x86-macosx-gas/des/crypt586.s',
784       'asm/x86-macosx-gas/des/des-586.s',
785       'asm/x86-macosx-gas/md5/md5-586.s',
786       'asm/x86-macosx-gas/rc4/rc4-586.s',
787       'asm/x86-macosx-gas/ripemd/rmd-586.s',
788       'asm/x86-macosx-gas/sha/sha1-586.s',
789       'asm/x86-macosx-gas/sha/sha256-586.s',
790       'asm/x86-macosx-gas/sha/sha512-586.s',
791       'asm/x86-macosx-gas/whrlpool/wp-mmx.s',
792       'asm/x86-macosx-gas/modes/ghash-x86.s',
793       'asm/x86-macosx-gas/x86cpuid.s',
794     ],
795     'openssl_sources_asm_obsolete_ia32_mac_gas': [
796       'asm_obsolete/x86-macosx-gas/aes/aes-586.s',
797       'asm_obsolete/x86-macosx-gas/aes/aesni-x86.s',
798       'asm_obsolete/x86-macosx-gas/aes/vpaes-x86.s',
799       'asm_obsolete/x86-macosx-gas/bf/bf-586.s',
800       'asm_obsolete/x86-macosx-gas/bn/bn-586.s',
801       'asm_obsolete/x86-macosx-gas/bn/co-586.s',
802       'asm_obsolete/x86-macosx-gas/bn/x86-mont.s',
803       'asm_obsolete/x86-macosx-gas/bn/x86-gf2m.s',
804       'asm_obsolete/x86-macosx-gas/camellia/cmll-x86.s',
805       'asm_obsolete/x86-macosx-gas/cast/cast-586.s',
806       'asm_obsolete/x86-macosx-gas/des/crypt586.s',
807       'asm_obsolete/x86-macosx-gas/des/des-586.s',
808       'asm_obsolete/x86-macosx-gas/md5/md5-586.s',
809       'asm_obsolete/x86-macosx-gas/rc4/rc4-586.s',
810       'asm_obsolete/x86-macosx-gas/ripemd/rmd-586.s',
811       'asm_obsolete/x86-macosx-gas/sha/sha1-586.s',
812       'asm_obsolete/x86-macosx-gas/sha/sha256-586.s',
813       'asm_obsolete/x86-macosx-gas/sha/sha512-586.s',
814       'asm_obsolete/x86-macosx-gas/whrlpool/wp-mmx.s',
815       'asm_obsolete/x86-macosx-gas/modes/ghash-x86.s',
816       'asm_obsolete/x86-macosx-gas/x86cpuid.s',
817     ],
818     'openssl_sources_asm_latest_x64_mac_gas': [
819       'asm/x64-macosx-gas/aes/aes-x86_64.s',
820       'asm/x64-macosx-gas/aes/aesni-x86_64.s',
821       'asm/x64-macosx-gas/aes/vpaes-x86_64.s',
822       'asm/x64-macosx-gas/aes/aesni-mb-x86_64.s',
823       'asm/x64-macosx-gas/aes/aesni-sha256-x86_64.s',
824       'asm/x64-macosx-gas/aes/bsaes-x86_64.s',
825       'asm/x64-macosx-gas/aes/aesni-sha1-x86_64.s',
826       'asm/x64-macosx-gas/bn/rsaz-avx2.s',
827       'asm/x64-macosx-gas/bn/rsaz-x86_64.s',
828       'asm/x64-macosx-gas/bn/x86_64-mont.s',
829       'asm/x64-macosx-gas/bn/x86_64-mont5.s',
830       'asm/x64-macosx-gas/bn/x86_64-gf2m.s',
831       'asm/x64-macosx-gas/camellia/cmll-x86_64.s',
832       'asm/x64-macosx-gas/ec/ecp_nistz256-x86_64.s',
833       'asm/x64-macosx-gas/md5/md5-x86_64.s',
834       'asm/x64-macosx-gas/sha/sha1-mb-x86_64.s',
835       'asm/x64-macosx-gas/sha/sha1-x86_64.s',
836       'asm/x64-macosx-gas/sha/sha256-mb-x86_64.s',
837       'asm/x64-macosx-gas/sha/sha256-x86_64.s',
838       'asm/x64-macosx-gas/sha/sha512-x86_64.s',
839       'asm/x64-macosx-gas/whrlpool/wp-x86_64.s',
840       'asm/x64-macosx-gas/modes/aesni-gcm-x86_64.s',
841       'asm/x64-macosx-gas/modes/ghash-x86_64.s',
842       'asm/x64-macosx-gas/x86_64cpuid.s',
843     ],
844     'openssl_sources_asm_obsolete_x64_mac_gas': [
845       'asm_obsolete/x64-macosx-gas/aes/aes-x86_64.s',
846       'asm_obsolete/x64-macosx-gas/aes/aesni-x86_64.s',
847       'asm_obsolete/x64-macosx-gas/aes/vpaes-x86_64.s',
848       'asm_obsolete/x64-macosx-gas/aes/aesni-mb-x86_64.s',
849       'asm_obsolete/x64-macosx-gas/aes/aesni-sha256-x86_64.s',
850       'asm_obsolete/x64-macosx-gas/aes/bsaes-x86_64.s',
851       'asm_obsolete/x64-macosx-gas/aes/aesni-sha1-x86_64.s',
852       'asm_obsolete/x64-macosx-gas/bn/rsaz-avx2.s',
853       'asm_obsolete/x64-macosx-gas/bn/rsaz-x86_64.s',
854       'asm_obsolete/x64-macosx-gas/bn/x86_64-mont.s',
855       'asm_obsolete/x64-macosx-gas/bn/x86_64-mont5.s',
856       'asm_obsolete/x64-macosx-gas/bn/x86_64-gf2m.s',
857       'asm_obsolete/x64-macosx-gas/camellia/cmll-x86_64.s',
858       'asm_obsolete/x64-macosx-gas/ec/ecp_nistz256-x86_64.s',
859       'asm_obsolete/x64-macosx-gas/md5/md5-x86_64.s',
860       'asm_obsolete/x64-macosx-gas/sha/sha1-mb-x86_64.s',
861       'asm_obsolete/x64-macosx-gas/sha/sha1-x86_64.s',
862       'asm_obsolete/x64-macosx-gas/sha/sha256-mb-x86_64.s',
863       'asm_obsolete/x64-macosx-gas/sha/sha256-x86_64.s',
864       'asm_obsolete/x64-macosx-gas/sha/sha512-x86_64.s',
865       'asm_obsolete/x64-macosx-gas/whrlpool/wp-x86_64.s',
866       'asm_obsolete/x64-macosx-gas/modes/aesni-gcm-x86_64.s',
867       'asm_obsolete/x64-macosx-gas/modes/ghash-x86_64.s',
868       'asm_obsolete/x64-macosx-gas/x86_64cpuid.s',
869     ],
870     'openssl_sources_common_x64_mac_gas': [
871       # Non-generated asm
872       'openssl/crypto/bn/asm/x86_64-gcc.c',
873       # No asm available
874       'openssl/crypto/bf/bf_enc.c',
875       'openssl/crypto/bn/rsaz_exp.c',
876       'openssl/crypto/cast/c_enc.c',
877       'openssl/crypto/camellia/cmll_misc.c',
878       'openssl/crypto/des/des_enc.c',
879       'openssl/crypto/des/fcrypt_b.c',
880       'openssl/crypto/ec/ecp_nistz256.c',
881       'openssl/crypto/ui/ui_compat.c',
882       'openssl/crypto/rc4/rc4_skey.c',
883       'openssl/crypto/rc4/rc4_enc.c',
884     ],
885     'openssl_sources_arm_void_gas': [
886       'asm/arm-void-gas/aes/aes-armv4.S',
887       'asm/arm-void-gas/aes/bsaes-armv7.S',
888       'asm/arm-void-gas/aes/aesv8-armx.S',
889       'asm/arm-void-gas/bn/armv4-mont.S',
890       'asm/arm-void-gas/bn/armv4-gf2m.S',
891       'asm/arm-void-gas/sha/sha1-armv4-large.S',
892       'asm/arm-void-gas/sha/sha512-armv4.S',
893       'asm/arm-void-gas/sha/sha256-armv4.S',
894       'asm/arm-void-gas/modes/ghash-armv4.S',
895       'asm/arm-void-gas/modes/ghashv8-armx.S',
896       # No asm available
897       'openssl/crypto/aes/aes_cbc.c',
898       'openssl/crypto/bf/bf_enc.c',
899       'openssl/crypto/bn/bn_asm.c',
900       'openssl/crypto/cast/c_enc.c',
901       'openssl/crypto/camellia/camellia.c',
902       'openssl/crypto/camellia/cmll_cbc.c',
903       'openssl/crypto/camellia/cmll_misc.c',
904       'openssl/crypto/des/des_enc.c',
905       'openssl/crypto/des/fcrypt_b.c',
906       'openssl/crypto/rc4/rc4_enc.c',
907       'openssl/crypto/rc4/rc4_skey.c',
908       'openssl/crypto/ui/ui_compat.c',
909       'openssl/crypto/whrlpool/wp_block.c',
910       # PCAP stuff
911       'openssl/crypto/armcap.c',
912       'openssl/crypto/armv4cpuid.S',
913     ],
914     'openssl_sources_arm64_linux64_gas': [
915       'asm/arm64-linux64-gas/aes/aesv8-armx.S',
916       'asm/arm64-linux64-gas/modes/ghashv8-armx.S',
917       'asm/arm64-linux64-gas/sha/sha1-armv8.S',
918       'asm/arm64-linux64-gas/sha/sha256-armv8.S',
919       'asm/arm64-linux64-gas/sha/sha512-armv8.S',
920       # No asm available
921       'openssl/crypto/aes/aes_core.c',
922       'openssl/crypto/aes/aes_cbc.c',
923       'openssl/crypto/bn/bn_asm.c',
924       'openssl/crypto/bf/bf_enc.c',
925       'openssl/crypto/cast/c_enc.c',
926       'openssl/crypto/camellia/camellia.c',
927       'openssl/crypto/camellia/cmll_cbc.c',
928       'openssl/crypto/camellia/cmll_misc.c',
929       'openssl/crypto/des/des_enc.c',
930       'openssl/crypto/des/fcrypt_b.c',
931       'openssl/crypto/rc4/rc4_enc.c',
932       'openssl/crypto/rc4/rc4_skey.c',
933       'openssl/crypto/whrlpool/wp_block.c',
934       'openssl/crypto/mem_clr.c',
935       # PCAP stuff
936       'openssl/crypto/armcap.c',
937       'openssl/crypto/arm64cpuid.S',
938     ],
939     'openssl_sources_asm_ia32_win_masm': [
940       'asm/x86-win32-masm/aes/aes-586.asm',
941       'asm/x86-win32-masm/aes/aesni-x86.asm',
942       'asm/x86-win32-masm/aes/vpaes-x86.asm',
943       'asm/x86-win32-masm/bf/bf-586.asm',
944       'asm/x86-win32-masm/bn/bn-586.asm',
945       'asm/x86-win32-masm/bn/co-586.asm',
946       'asm/x86-win32-masm/bn/x86-mont.asm',
947       'asm/x86-win32-masm/bn/x86-gf2m.asm',
948       'asm/x86-win32-masm/camellia/cmll-x86.asm',
949       'asm/x86-win32-masm/cast/cast-586.asm',
950       'asm/x86-win32-masm/des/crypt586.asm',
951       'asm/x86-win32-masm/des/des-586.asm',
952       'asm/x86-win32-masm/md5/md5-586.asm',
953       'asm/x86-win32-masm/rc4/rc4-586.asm',
954       'asm/x86-win32-masm/ripemd/rmd-586.asm',
955       'asm/x86-win32-masm/sha/sha1-586.asm',
956       'asm/x86-win32-masm/sha/sha256-586.asm',
957       'asm/x86-win32-masm/sha/sha512-586.asm',
958       'asm/x86-win32-masm/whrlpool/wp-mmx.asm',
959       'asm/x86-win32-masm/modes/ghash-x86.asm',
960       'asm/x86-win32-masm/x86cpuid.asm',
961     ],
962     'openssl_sources_asm_latest_x64_win_masm': [
963       'asm/x64-win32-masm/aes/aes-x86_64.asm',
964       'asm/x64-win32-masm/aes/aesni-x86_64.asm',
965       'asm/x64-win32-masm/aes/aesni-mb-x86_64.asm',
966       'asm/x64-win32-masm/aes/aesni-sha256-x86_64.asm',
967       'asm/x64-win32-masm/aes/vpaes-x86_64.asm',
968       'asm/x64-win32-masm/aes/bsaes-x86_64.asm',
969       'asm/x64-win32-masm/aes/aesni-sha1-x86_64.asm',
970       'asm/x64-win32-masm/bn/rsaz-avx2.asm',
971       'asm/x64-win32-masm/bn/rsaz-x86_64.asm',
972       'asm/x64-win32-masm/bn/x86_64-mont.asm',
973       'asm/x64-win32-masm/bn/x86_64-mont5.asm',
974       'asm/x64-win32-masm/bn/x86_64-gf2m.asm',
975       'asm/x64-win32-masm/camellia/cmll-x86_64.asm',
976       'asm/x64-win32-masm/ec/ecp_nistz256-x86_64.asm',
977       'asm/x64-win32-masm/md5/md5-x86_64.asm',
978       'asm/x64-win32-masm/rc4/rc4-x86_64.asm',
979       'asm/x64-win32-masm/rc4/rc4-md5-x86_64.asm',
980       'asm/x64-win32-masm/sha/sha1-mb-x86_64.asm',
981       'asm/x64-win32-masm/sha/sha1-x86_64.asm',
982       'asm/x64-win32-masm/sha/sha256-mb-x86_64.asm',
983       'asm/x64-win32-masm/sha/sha256-x86_64.asm',
984       'asm/x64-win32-masm/sha/sha512-x86_64.asm',
985       'asm/x64-win32-masm/whrlpool/wp-x86_64.asm',
986       'asm/x64-win32-masm/modes/aesni-gcm-x86_64.asm',
987       'asm/x64-win32-masm/modes/ghash-x86_64.asm',
988       'asm/x64-win32-masm/x86_64cpuid.asm',
989     ],
990     'openssl_sources_asm_obsolete_x64_win_masm': [
991       'asm_obsolete/x64-win32-masm/aes/aes-x86_64.asm',
992       'asm_obsolete/x64-win32-masm/aes/aesni-x86_64.asm',
993       'asm_obsolete/x64-win32-masm/aes/aesni-mb-x86_64.asm',
994       'asm_obsolete/x64-win32-masm/aes/aesni-sha256-x86_64.asm',
995       'asm_obsolete/x64-win32-masm/aes/vpaes-x86_64.asm',
996       'asm_obsolete/x64-win32-masm/aes/bsaes-x86_64.asm',
997       'asm_obsolete/x64-win32-masm/aes/aesni-sha1-x86_64.asm',
998       'asm_obsolete/x64-win32-masm/bn/rsaz-avx2.asm',
999       'asm_obsolete/x64-win32-masm/bn/rsaz-x86_64.asm',
1000       'asm_obsolete/x64-win32-masm/bn/x86_64-mont.asm',
1001       'asm_obsolete/x64-win32-masm/bn/x86_64-mont5.asm',
1002       'asm_obsolete/x64-win32-masm/bn/x86_64-gf2m.asm',
1003       'asm_obsolete/x64-win32-masm/camellia/cmll-x86_64.asm',
1004       'asm_obsolete/x64-win32-masm/ec/ecp_nistz256-x86_64.asm',
1005       'asm_obsolete/x64-win32-masm/md5/md5-x86_64.asm',
1006       'asm_obsolete/x64-win32-masm/rc4/rc4-x86_64.asm',
1007       'asm_obsolete/x64-win32-masm/rc4/rc4-md5-x86_64.asm',
1008       'asm_obsolete/x64-win32-masm/sha/sha1-mb-x86_64.asm',
1009       'asm_obsolete/x64-win32-masm/sha/sha1-x86_64.asm',
1010       'asm_obsolete/x64-win32-masm/sha/sha256-mb-x86_64.asm',
1011       'asm_obsolete/x64-win32-masm/sha/sha256-x86_64.asm',
1012       'asm_obsolete/x64-win32-masm/sha/sha512-x86_64.asm',
1013       'asm_obsolete/x64-win32-masm/whrlpool/wp-x86_64.asm',
1014       'asm_obsolete/x64-win32-masm/modes/aesni-gcm-x86_64.asm',
1015       'asm_obsolete/x64-win32-masm/modes/ghash-x86_64.asm',
1016       'asm_obsolete/x64-win32-masm/x86_64cpuid.asm',
1017     ],
1018     'openssl_sources_common_x64_win_masm': [
1019       # No asm available
1020       'openssl/crypto/bn/bn_asm.c',
1021       'openssl/crypto/bf/bf_enc.c',
1022       'openssl/crypto/bn/rsaz_exp.c',
1023       'openssl/crypto/cast/c_enc.c',
1024       'openssl/crypto/camellia/cmll_misc.c',
1025       'openssl/crypto/des/des_enc.c',
1026       'openssl/crypto/des/fcrypt_b.c',
1027       'openssl/crypto/ec/ecp_nistz256.c',
1028       'openssl/crypto/ui/ui_compat.c'
1029     ],
1030     'openssl_sources_ia32_win_masm': [
1031       '<@(openssl_sources_asm_ia32_win_masm)',
1032       '<@(openssl_sources_common_ia32)',
1033     ],
1034     #
1035     # Asm files are changed depending on the version of assembler.
1036     # We provide two sets of asm files, one is asm_latest(avx2 and
1037     # addx supported) and the other asm_obsolete(without avx1/2 and addx)
1038     # The asm_latest follows the version as defined in
1039     # https://github.com/openssl/openssl/blob/OpenSSL_1_0_2-stable/crypto/ec/asm/ecp_nistz256-avx2.pl#L45-L67
1040     #
1041     'conditions': [
1042       ['(OS=="win" and MSVS_VERSION>="2012") or '
1043        'llvm_version>="3.3" or gas_version>="2.23"', {
1044         'openssl_sources_x64_win_masm': [
1045           '<@(openssl_sources_asm_latest_x64_win_masm)',
1046           '<@(openssl_sources_common_x64_win_masm)',
1047         ],
1048         'openssl_sources_ia32_mac_gas': [
1049           '<@(openssl_sources_asm_latest_ia32_mac_gas)',
1050           '<@(openssl_sources_common_ia32)',
1051         ],
1052         'openssl_sources_x64_mac_gas': [
1053           '<@(openssl_sources_asm_latest_x64_mac_gas)',
1054           '<@(openssl_sources_common_x64_mac_gas)',
1055         ],
1056         'openssl_sources_ia32_elf_gas': [
1057           '<@(openssl_sources_asm_latest_ia32_elf_gas)',
1058           '<@(openssl_sources_common_ia32)',
1059         ],
1060         'openssl_sources_x64_elf_gas': [
1061           '<@(openssl_sources_asm_latest_x64_elf_gas)',
1062           '<@(openssl_sources_common_x64_elf_gas)',
1063         ],
1064       }, {
1065         'openssl_sources_x64_win_masm': [
1066           '<@(openssl_sources_asm_obsolete_x64_win_masm)',
1067           '<@(openssl_sources_common_x64_win_masm)',
1068         ],
1069         'openssl_sources_ia32_mac_gas': [
1070           '<@(openssl_sources_asm_obsolete_ia32_mac_gas)',
1071           '<@(openssl_sources_common_ia32)',
1072         ],
1073         'openssl_sources_x64_mac_gas': [
1074           '<@(openssl_sources_asm_obsolete_x64_mac_gas)',
1075           '<@(openssl_sources_common_x64_mac_gas)',
1076         ],
1077         'openssl_sources_ia32_elf_gas': [
1078           '<@(openssl_sources_asm_obsolete_ia32_elf_gas)',
1079           '<@(openssl_sources_common_ia32)',
1080         ],
1081         'openssl_sources_x64_elf_gas': [
1082           '<@(openssl_sources_asm_obsolete_x64_elf_gas)',
1083           '<@(openssl_sources_common_x64_elf_gas)',
1084         ],
1085       }]
1086     ],
1087     'openssl_cli_sources': [
1088       'openssl/apps/app_rand.c',
1089       'openssl/apps/apps.c',
1090       'openssl/apps/asn1pars.c',
1091       'openssl/apps/ca.c',
1092       'openssl/apps/ciphers.c',
1093       'openssl/apps/cms.c',
1094       'openssl/apps/crl.c',
1095       'openssl/apps/crl2p7.c',
1096       'openssl/apps/dgst.c',
1097       'openssl/apps/dh.c',
1098       'openssl/apps/dhparam.c',
1099       'openssl/apps/dsa.c',
1100       'openssl/apps/dsaparam.c',
1101       'openssl/apps/ec.c',
1102       'openssl/apps/ecparam.c',
1103       'openssl/apps/enc.c',
1104       'openssl/apps/engine.c',
1105       'openssl/apps/errstr.c',
1106       'openssl/apps/gendh.c',
1107       'openssl/apps/gendsa.c',
1108       'openssl/apps/genpkey.c',
1109       'openssl/apps/genrsa.c',
1110       'openssl/apps/nseq.c',
1111       'openssl/apps/ocsp.c',
1112       'openssl/apps/openssl.c',
1113       'openssl/apps/passwd.c',
1114       'openssl/apps/pkcs12.c',
1115       'openssl/apps/pkcs7.c',
1116       'openssl/apps/pkcs8.c',
1117       'openssl/apps/pkey.c',
1118       'openssl/apps/pkeyparam.c',
1119       'openssl/apps/pkeyutl.c',
1120       'openssl/apps/prime.c',
1121       'openssl/apps/rand.c',
1122       'openssl/apps/req.c',
1123       'openssl/apps/rsa.c',
1124       'openssl/apps/rsautl.c',
1125       'openssl/apps/s_cb.c',
1126       'openssl/apps/s_client.c',
1127       'openssl/apps/s_server.c',
1128       'openssl/apps/s_socket.c',
1129       'openssl/apps/s_time.c',
1130       'openssl/apps/sess_id.c',
1131       'openssl/apps/smime.c',
1132       'openssl/apps/speed.c',
1133       'openssl/apps/spkac.c',
1134       'openssl/apps/srp.c',
1135       'openssl/apps/ts.c',
1136       'openssl/apps/verify.c',
1137       'openssl/apps/version.c',
1138       'openssl/apps/x509.c',
1139     ],
1140     'openssl_defines_asm': [
1141       'AES_ASM',
1142       'CPUID_ASM',
1143       'OPENSSL_BN_ASM_MONT',
1144       'OPENSSL_CPUID_OBJ',
1145       'SHA1_ASM',
1146       'SHA256_ASM',
1147       'SHA512_ASM',
1148       'GHASH_ASM',
1149     ],
1150     'openssl_defines_arm64': [
1151       'OPENSSL_CPUID_OBJ',
1152       'SHA1_ASM',
1153       'SHA256_ASM',
1154       'SHA512_ASM',
1155     ],
1156     'openssl_defines_non_arm': [
1157       'VPAES_ASM',
1158       'BN_ASM',
1159       'BF_ASM',
1160       'BNCO_ASM',
1161       'DES_ASM',
1162       'LIB_BN_ASM',
1163       'MD5_ASM',
1164       'OPENSSL_BN_ASM',
1165       'RIP_ASM',
1166       'RMD160_ASM',
1167       'WHIRLPOOL_ASM',
1168       'WP_ASM',
1169     ],
1170     'openssl_defines_all_win': [
1171       'DSO_WIN32',
1172       '_CRT_SECURE_NO_DEPRECATE',
1173       # following two defines are moved from openssconf.h
1174       'OPENSSL_NO_DYNAMIC_ENGINE',
1175       # to avoid build errors on Win. See openssl/engines/e_capi.c
1176       'OPENSSL_NO_CAPIENG',
1177     ],
1178     'openssl_defines_all_non_win': [
1179       'DSO_DLFCN',
1180       'HAVE_DLFCN_H',
1181     ],
1182     'openssl_defines_ia32_elf': [
1183       '<@(openssl_defines_non_arm)',
1184       'OPENSSL_BN_ASM_PART_WORDS',
1185     ],
1186     'openssl_defines_ia32_mac': [
1187       '<@(openssl_defines_non_arm)',
1188       'OPENSSL_BN_ASM_PART_WORDS',
1189     ],
1190     'openssl_defines_ia32_win': [
1191       '<@(openssl_defines_non_arm)',
1192       'OPENSSL_BN_ASM_PART_WORDS',
1193     ],
1194     'openssl_defines_x64_elf': [
1195       '<@(openssl_defines_non_arm)',
1196       'OPENSSL_BN_ASM_MONT5',
1197       'OPENSSL_BN_ASM_GF2m',
1198       'OPENSSL_IA32_SSE2',
1199       'BSAES_ASM',
1200     ],
1201     'openssl_defines_x64_mac': [
1202       '<@(openssl_defines_non_arm)',
1203       'OPENSSL_BN_ASM_MONT5',
1204       'OPENSSL_BN_ASM_GF2m',
1205       'OPENSSL_IA32_SSE2',
1206       'BSAES_ASM',
1207     ],
1208     'openssl_defines_x64_win': [
1209       '<@(openssl_defines_non_arm)',
1210       'OPENSSL_BN_ASM_MONT5',
1211       'OPENSSL_BN_ASM_GF2m',
1212       'OPENSSL_IA32_SSE2',
1213       'BSAES_ASM',
1214     ],
1215     'openssl_include_dirs': [
1216       '.',
1217       'openssl',
1218       'openssl/crypto',
1219       'openssl/crypto/asn1',
1220       'openssl/crypto/evp',
1221       'openssl/crypto/md2',
1222       'openssl/crypto/modes',
1223       'openssl/crypto/store',
1224       'openssl/include',
1225     ],
1226 #### Variables for openssl-cli  ####
1227     'openssl_cli_libraries_solaris': [
1228       '-lsocket',
1229       '-lnsl',
1230     ],
1231     'openssl_cli_libraries_win': [
1232       '-lws2_32.lib',
1233       '-lgdi32.lib',
1234       '-ladvapi32.lib',
1235       '-lcrypt32.lib',
1236       '-luser32.lib',
1237     ],
1238 #### Variables for Target Defaults  ####
1239     'openssl_default_include_dirs': [
1240       '.',
1241       'openssl',
1242       'openssl/crypto',
1243       'openssl/crypto/asn1',
1244       'openssl/crypto/evp',
1245       'openssl/crypto/md2',
1246       'openssl/crypto/modes',
1247       'openssl/crypto/store',
1248       'openssl/include',
1249     ],
1250     'openssl_default_defines_all': [
1251       # No clue what these are for.
1252       'PURIFY',
1253       '_REENTRANT',
1254
1255       # SSLv2 is known broken and has been superseded by SSLv3 for almost
1256       # twenty years now.
1257       'OPENSSL_NO_SSL2',
1258
1259       # SSLv3 is susceptible to downgrade attacks (POODLE.)
1260       'OPENSSL_NO_SSL3',
1261
1262       # Heartbeat is a TLS extension, that couldn't be turned off or
1263       # asked to be not advertised. Unfortunately this is unacceptable for
1264       # Microsoft's IIS, which seems to be ignoring whole ClientHello after
1265       # seeing this extension.
1266       'OPENSSL_NO_HEARTBEATS',
1267     ],
1268     'openssl_default_defines_win': [
1269       'MK1MF_BUILD',
1270       'WIN32_LEAN_AND_MEAN',
1271       'OPENSSL_SYSNAME_WIN32',
1272     ],
1273     'openssl_default_libraries_win': [
1274       '-lgdi32.lib',
1275       '-luser32.lib',
1276     ],
1277     'openssl_default_defines_not_win': [
1278       # ENGINESDIR must be defined if OPENSSLDIR is.
1279       'ENGINESDIR="/dev/null"',
1280       'TERMIOS',
1281     ],
1282     'openssl_default_defines_mac': [
1283       # Set to ubuntu default path for convenience. If necessary,
1284       # override this at runtime with the SSL_CERT_DIR environment
1285       # variable.
1286       'OPENSSLDIR="/System/Library/OpenSSL/"',
1287     ],
1288     'openssl_default_defines_linux_others': [
1289       # Set to ubuntu default path for convenience. If necessary,
1290       # override this at runtime with the SSL_CERT_DIR environment
1291       # variable.
1292       'OPENSSLDIR="/etc/ssl"',
1293     ]
1294   }
1295 }