• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  'variables': {
3    'openssl_sources': [
4      'openssl/crypto/aes/aes_ecb.c',
5      'openssl/crypto/aes/aes_misc.c',
6      'openssl/crypto/bn/bn_add.c',
7      'openssl/crypto/bn/bn_asm.c',
8      'openssl/crypto/bn/bn_blind.c',
9      'openssl/crypto/bn/bn_const.c',
10      'openssl/crypto/bn/bn_conv.c',
11      'openssl/crypto/bn/bn_ctx.c',
12      'openssl/crypto/bn/bn_dh.c',
13      'openssl/crypto/bn/bn_div.c',
14      'openssl/crypto/bn/bn_exp.c',
15      'openssl/crypto/bn/bn_exp2.c',
16      'openssl/crypto/bn/bn_gcd.c',
17      'openssl/crypto/bn/bn_gf2m.c',
18      'openssl/crypto/bn/bn_intern.c',
19      'openssl/crypto/bn/bn_kron.c',
20      'openssl/crypto/bn/bn_lib.c',
21      'openssl/crypto/bn/bn_mod.c',
22      'openssl/crypto/bn/bn_mont.c',
23      'openssl/crypto/bn/bn_mpi.c',
24      'openssl/crypto/bn/bn_mul.c',
25      'openssl/crypto/bn/bn_nist.c',
26      'openssl/crypto/bn/bn_prime.c',
27      'openssl/crypto/bn/bn_rand.c',
28      'openssl/crypto/bn/bn_recp.c',
29      'openssl/crypto/bn/bn_rsa_fips186_4.c',
30      'openssl/crypto/bn/bn_shift.c',
31      'openssl/crypto/bn/bn_sqr.c',
32      'openssl/crypto/bn/bn_sqrt.c',
33      'openssl/crypto/bn/bn_word.c',
34      'openssl/crypto/buffer/buffer.c',
35      'openssl/crypto/cmac/cmac.c',
36      'openssl/crypto/des/des_enc.c',
37      'openssl/crypto/des/ecb3_enc.c',
38      'openssl/crypto/des/fcrypt_b.c',
39      'openssl/crypto/des/set_key.c',
40      'openssl/crypto/dh/dh_backend.c',
41      'openssl/crypto/dh/dh_check.c',
42      'openssl/crypto/dh/dh_gen.c',
43      'openssl/crypto/dh/dh_group_params.c',
44      'openssl/crypto/dh/dh_kdf.c',
45      'openssl/crypto/dh/dh_key.c',
46      'openssl/crypto/dh/dh_lib.c',
47      'openssl/crypto/dsa/dsa_backend.c',
48      'openssl/crypto/dsa/dsa_check.c',
49      'openssl/crypto/dsa/dsa_gen.c',
50      'openssl/crypto/dsa/dsa_key.c',
51      'openssl/crypto/dsa/dsa_lib.c',
52      'openssl/crypto/dsa/dsa_ossl.c',
53      'openssl/crypto/dsa/dsa_sign.c',
54      'openssl/crypto/dsa/dsa_vrf.c',
55      'openssl/crypto/ec/curve448/arch_32/f_impl32.c',
56      'openssl/crypto/ec/curve448/arch_64/f_impl64.c',
57      'openssl/crypto/ec/curve448/curve448.c',
58      'openssl/crypto/ec/curve448/curve448_tables.c',
59      'openssl/crypto/ec/curve448/eddsa.c',
60      'openssl/crypto/ec/curve448/f_generic.c',
61      'openssl/crypto/ec/curve448/scalar.c',
62      'openssl/crypto/ec/curve25519.c',
63      'openssl/crypto/ec/ec2_oct.c',
64      'openssl/crypto/ec/ec2_smpl.c',
65      'openssl/crypto/ec/ec_asn1.c',
66      'openssl/crypto/ec/ec_backend.c',
67      'openssl/crypto/ec/ec_check.c',
68      'openssl/crypto/ec/ec_curve.c',
69      'openssl/crypto/ec/ec_cvt.c',
70      'openssl/crypto/ec/ec_key.c',
71      'openssl/crypto/ec/ec_kmeth.c',
72      'openssl/crypto/ec/ec_lib.c',
73      'openssl/crypto/ec/ec_mult.c',
74      'openssl/crypto/ec/ec_oct.c',
75      'openssl/crypto/ec/ecdh_kdf.c',
76      'openssl/crypto/ec/ecdh_ossl.c',
77      'openssl/crypto/ec/ecdsa_ossl.c',
78      'openssl/crypto/ec/ecdsa_sign.c',
79      'openssl/crypto/ec/ecdsa_vrf.c',
80      'openssl/crypto/ec/ecp_mont.c',
81      'openssl/crypto/ec/ecp_nist.c',
82      'openssl/crypto/ec/ecp_oct.c',
83      'openssl/crypto/ec/ecp_s390x_nistp.c',
84      'openssl/crypto/ec/ecp_smpl.c',
85      'openssl/crypto/ec/ecx_backend.c',
86      'openssl/crypto/ec/ecx_key.c',
87      'openssl/crypto/ec/ecx_s390x.c',
88      'openssl/crypto/evp/asymcipher.c',
89      'openssl/crypto/evp/dh_support.c',
90      'openssl/crypto/evp/digest.c',
91      'openssl/crypto/evp/ec_support.c',
92      'openssl/crypto/evp/evp_enc.c',
93      'openssl/crypto/evp/evp_fetch.c',
94      'openssl/crypto/evp/evp_lib.c',
95      'openssl/crypto/evp/evp_rand.c',
96      'openssl/crypto/evp/evp_utils.c',
97      'openssl/crypto/evp/exchange.c',
98      'openssl/crypto/evp/kdf_lib.c',
99      'openssl/crypto/evp/kdf_meth.c',
100      'openssl/crypto/evp/kem.c',
101      'openssl/crypto/evp/keymgmt_lib.c',
102      'openssl/crypto/evp/keymgmt_meth.c',
103      'openssl/crypto/evp/m_sigver.c',
104      'openssl/crypto/evp/mac_lib.c',
105      'openssl/crypto/evp/mac_meth.c',
106      'openssl/crypto/evp/p_lib.c',
107      'openssl/crypto/evp/pmeth_check.c',
108      'openssl/crypto/evp/pmeth_gn.c',
109      'openssl/crypto/evp/pmeth_lib.c',
110      'openssl/crypto/evp/signature.c',
111      'openssl/crypto/ffc/ffc_backend.c',
112      'openssl/crypto/ffc/ffc_dh.c',
113      'openssl/crypto/ffc/ffc_key_generate.c',
114      'openssl/crypto/ffc/ffc_key_validate.c',
115      'openssl/crypto/ffc/ffc_params.c',
116      'openssl/crypto/ffc/ffc_params_generate.c',
117      'openssl/crypto/ffc/ffc_params_validate.c',
118      'openssl/crypto/hmac/hmac.c',
119      'openssl/crypto/lhash/lhash.c',
120      'openssl/crypto/asn1_dsa.c',
121      'openssl/crypto/bsearch.c',
122      'openssl/crypto/context.c',
123      'openssl/crypto/core_algorithm.c',
124      'openssl/crypto/core_fetch.c',
125      'openssl/crypto/core_namemap.c',
126      'openssl/crypto/cpuid.c',
127      'openssl/crypto/cryptlib.c',
128      'openssl/crypto/ctype.c',
129      'openssl/crypto/der_writer.c',
130      'openssl/crypto/ex_data.c',
131      'openssl/crypto/initthread.c',
132      'openssl/crypto/o_str.c',
133      'openssl/crypto/packet.c',
134      'openssl/crypto/param_build.c',
135      'openssl/crypto/param_build_set.c',
136      'openssl/crypto/params.c',
137      'openssl/crypto/params_dup.c',
138      'openssl/crypto/params_from_text.c',
139      'openssl/crypto/provider_core.c',
140      'openssl/crypto/provider_predefined.c',
141      'openssl/crypto/s390xcap.c',
142      'openssl/crypto/self_test_core.c',
143      'openssl/crypto/sparse_array.c',
144      'openssl/crypto/threads_lib.c',
145      'openssl/crypto/threads_none.c',
146      'openssl/crypto/threads_pthread.c',
147      'openssl/crypto/threads_win.c',
148      'openssl/crypto/modes/cbc128.c',
149      'openssl/crypto/modes/ccm128.c',
150      'openssl/crypto/modes/cfb128.c',
151      'openssl/crypto/modes/ctr128.c',
152      'openssl/crypto/modes/gcm128.c',
153      'openssl/crypto/modes/ofb128.c',
154      'openssl/crypto/modes/wrap128.c',
155      'openssl/crypto/modes/xts128.c',
156      'openssl/crypto/property/defn_cache.c',
157      'openssl/crypto/property/property.c',
158      'openssl/crypto/property/property_parse.c',
159      'openssl/crypto/property/property_query.c',
160      'openssl/crypto/property/property_string.c',
161      'openssl/crypto/rand/rand_lib.c',
162      'openssl/crypto/rsa/rsa_acvp_test_params.c',
163      'openssl/crypto/rsa/rsa_backend.c',
164      'openssl/crypto/rsa/rsa_chk.c',
165      'openssl/crypto/rsa/rsa_crpt.c',
166      'openssl/crypto/rsa/rsa_gen.c',
167      'openssl/crypto/rsa/rsa_lib.c',
168      'openssl/crypto/rsa/rsa_mp_names.c',
169      'openssl/crypto/rsa/rsa_none.c',
170      'openssl/crypto/rsa/rsa_oaep.c',
171      'openssl/crypto/rsa/rsa_ossl.c',
172      'openssl/crypto/rsa/rsa_pk1.c',
173      'openssl/crypto/rsa/rsa_pss.c',
174      'openssl/crypto/rsa/rsa_schemes.c',
175      'openssl/crypto/rsa/rsa_sign.c',
176      'openssl/crypto/rsa/rsa_sp800_56b_check.c',
177      'openssl/crypto/rsa/rsa_sp800_56b_gen.c',
178      'openssl/crypto/rsa/rsa_x931.c',
179      'openssl/crypto/sha/sha1dgst.c',
180      'openssl/crypto/sha/sha256.c',
181      'openssl/crypto/sha/sha3.c',
182      'openssl/crypto/sha/sha512.c',
183      'openssl/crypto/stack/stack.c',
184      'openssl/providers/common/der/der_rsa_sig.c',
185      'openssl/providers/common/bio_prov.c',
186      'openssl/providers/common/capabilities.c',
187      'openssl/providers/common/digest_to_nid.c',
188      'openssl/providers/common/provider_seeding.c',
189      'openssl/providers/common/provider_util.c',
190      'openssl/providers/common/securitycheck.c',
191      'openssl/providers/common/securitycheck_fips.c',
192      'openssl/providers/fips/fipsprov.c',
193      'openssl/providers/fips/self_test.c',
194      'openssl/providers/fips/self_test_kats.c',
195      'openssl/providers/implementations/asymciphers/rsa_enc.c',
196      'openssl/providers/implementations/ciphers/cipher_aes.c',
197      'openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c',
198      'openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c',
199      'openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c',
200      'openssl/providers/implementations/ciphers/cipher_aes_ccm.c',
201      'openssl/providers/implementations/ciphers/cipher_aes_ccm_hw.c',
202      'openssl/providers/implementations/ciphers/cipher_aes_gcm.c',
203      'openssl/providers/implementations/ciphers/cipher_aes_gcm_hw.c',
204      'openssl/providers/implementations/ciphers/cipher_aes_hw.c',
205      'openssl/providers/implementations/ciphers/cipher_aes_ocb.c',
206      'openssl/providers/implementations/ciphers/cipher_aes_ocb_hw.c',
207      'openssl/providers/implementations/ciphers/cipher_aes_wrp.c',
208      'openssl/providers/implementations/ciphers/cipher_aes_xts.c',
209      'openssl/providers/implementations/ciphers/cipher_aes_xts_fips.c',
210      'openssl/providers/implementations/ciphers/cipher_aes_xts_hw.c',
211      'openssl/providers/implementations/ciphers/cipher_cts.c',
212      'openssl/providers/implementations/ciphers/cipher_tdes.c',
213      'openssl/providers/implementations/ciphers/cipher_tdes_common.c',
214      'openssl/providers/implementations/ciphers/cipher_tdes_hw.c',
215      'openssl/providers/implementations/digests/sha2_prov.c',
216      'openssl/providers/implementations/digests/sha3_prov.c',
217      'openssl/providers/implementations/exchange/dh_exch.c',
218      'openssl/providers/implementations/exchange/ecdh_exch.c',
219      'openssl/providers/implementations/exchange/ecx_exch.c',
220      'openssl/providers/implementations/exchange/kdf_exch.c',
221      'openssl/providers/implementations/kdfs/hkdf.c',
222      'openssl/providers/implementations/kdfs/kbkdf.c',
223      'openssl/providers/implementations/kdfs/pbkdf2.c',
224      'openssl/providers/implementations/kdfs/pbkdf2_fips.c',
225      'openssl/providers/implementations/kdfs/sshkdf.c',
226      'openssl/providers/implementations/kdfs/sskdf.c',
227      'openssl/providers/implementations/kdfs/tls1_prf.c',
228      'openssl/providers/implementations/kdfs/x942kdf.c',
229      'openssl/providers/implementations/kem/rsa_kem.c',
230      'openssl/providers/implementations/keymgmt/dh_kmgmt.c',
231      'openssl/providers/implementations/keymgmt/dsa_kmgmt.c',
232      'openssl/providers/implementations/keymgmt/ec_kmgmt.c',
233      'openssl/providers/implementations/keymgmt/ecx_kmgmt.c',
234      'openssl/providers/implementations/keymgmt/kdf_legacy_kmgmt.c',
235      'openssl/providers/implementations/keymgmt/mac_legacy_kmgmt.c',
236      'openssl/providers/implementations/keymgmt/rsa_kmgmt.c',
237      'openssl/providers/implementations/macs/cmac_prov.c',
238      'openssl/providers/implementations/macs/gmac_prov.c',
239      'openssl/providers/implementations/macs/hmac_prov.c',
240      'openssl/providers/implementations/macs/kmac_prov.c',
241      'openssl/providers/implementations/rands/crngt.c',
242      'openssl/providers/implementations/rands/drbg.c',
243      'openssl/providers/implementations/rands/drbg_ctr.c',
244      'openssl/providers/implementations/rands/drbg_hash.c',
245      'openssl/providers/implementations/rands/drbg_hmac.c',
246      'openssl/providers/implementations/rands/test_rng.c',
247      'openssl/providers/implementations/signature/dsa_sig.c',
248      'openssl/providers/implementations/signature/ecdsa_sig.c',
249      'openssl/providers/implementations/signature/eddsa_sig.c',
250      'openssl/providers/implementations/signature/mac_legacy_sig.c',
251      'openssl/providers/implementations/signature/rsa_sig.c',
252      'openssl/ssl/s3_cbc.c',
253      'openssl/providers/common/der/der_dsa_key.c',
254      'openssl/providers/common/der/der_dsa_sig.c',
255      'openssl/providers/common/der/der_ec_key.c',
256      'openssl/providers/common/der/der_ec_sig.c',
257      'openssl/providers/common/der/der_ecx_key.c',
258      'openssl/providers/common/der/der_rsa_key.c',
259      'openssl/providers/common/provider_ctx.c',
260      'openssl/providers/common/provider_err.c',
261      'openssl/providers/implementations/ciphers/ciphercommon.c',
262      'openssl/providers/implementations/ciphers/ciphercommon_block.c',
263      'openssl/providers/implementations/ciphers/ciphercommon_ccm.c',
264      'openssl/providers/implementations/ciphers/ciphercommon_ccm_hw.c',
265      'openssl/providers/implementations/ciphers/ciphercommon_gcm.c',
266      'openssl/providers/implementations/ciphers/ciphercommon_gcm_hw.c',
267      'openssl/providers/implementations/ciphers/ciphercommon_hw.c',
268      'openssl/providers/implementations/digests/digestcommon.c',
269      'openssl/ssl/record/tls_pad.c',
270      'openssl/providers/fips/fips_entry.c',
271
272    ],
273    'openssl_sources_linux32-s390x': [
274      './config/archs/linux32-s390x/asm/crypto/aes/aes-s390x.S',
275      './config/archs/linux32-s390x/asm/crypto/bn/s390x-gf2m.s',
276      './config/archs/linux32-s390x/asm/crypto/bn/s390x-mont.S',
277      './config/archs/linux32-s390x/asm/crypto/chacha/chacha-s390x.S',
278      './config/archs/linux32-s390x/asm/crypto/s390xcpuid.S',
279      './config/archs/linux32-s390x/asm/crypto/modes/ghash-s390x.S',
280      './config/archs/linux32-s390x/asm/crypto/poly1305/poly1305-s390x.S',
281      './config/archs/linux32-s390x/asm/crypto/rc4/rc4-s390x.s',
282      './config/archs/linux32-s390x/asm/crypto/sha/keccak1600-s390x.S',
283      './config/archs/linux32-s390x/asm/crypto/sha/sha1-s390x.S',
284      './config/archs/linux32-s390x/asm/crypto/sha/sha256-s390x.S',
285      './config/archs/linux32-s390x/asm/crypto/sha/sha512-s390x.S',
286      './config/archs/linux32-s390x/asm/providers/common/der/der_sm2_gen.c',
287      './config/archs/linux32-s390x/asm/providers/common/der/der_digests_gen.c',
288      './config/archs/linux32-s390x/asm/providers/common/der/der_dsa_gen.c',
289      './config/archs/linux32-s390x/asm/providers/common/der/der_ec_gen.c',
290      './config/archs/linux32-s390x/asm/providers/common/der/der_ecx_gen.c',
291      './config/archs/linux32-s390x/asm/providers/common/der/der_rsa_gen.c',
292      './config/archs/linux32-s390x/asm/providers/common/der/der_wrap_gen.c',
293      './config/archs/linux32-s390x/asm/providers/legacy.ld',
294      './config/archs/linux32-s390x/asm/providers/fips.ld',
295
296    ],
297    'openssl_defines_linux32-s390x': [
298      'NDEBUG',
299      'OPENSSL_USE_NODELETE',
300      'B_ENDIAN',
301      'OPENSSL_BUILDING_OPENSSL',
302      'AES_ASM',
303      'AES_CTR_ASM',
304      'AES_XTS_ASM',
305      'FIPS_MODULE',
306      'GHASH_ASM',
307      'KECCAK1600_ASM',
308      'OPENSSL_BN_ASM_GF2m',
309      'OPENSSL_BN_ASM_MONT',
310      'OPENSSL_CPUID_OBJ',
311      'S390X_EC_ASM',
312      'SHA1_ASM',
313      'SHA256_ASM',
314      'SHA512_ASM',
315      'FIPS_MODULE',
316    ],
317    'openssl_cflags_linux32-s390x': [
318      '-Wa,--noexecstack',
319      '-Wall -O3',
320      '-pthread -m31 -Wa,-mzarch',
321      '-Wall -O3',
322    ],
323    'openssl_ex_libs_linux32-s390x': [
324      '-ldl -pthread',
325    ],
326    'linker_script': '<(PRODUCT_DIR)/../../deps/openssl/config/archs/linux32-s390x/asm/providers/fips.ld'
327  },
328  'include_dirs': [
329    '.',
330    './include',
331    './crypto',
332    './crypto/include/internal',
333    './providers/common/include',
334  ],
335  'defines': ['<@(openssl_defines_linux32-s390x)'],
336  'cflags': ['<@(openssl_cflags_linux32-s390x)'],
337  'libraries': ['<@(openssl_ex_libs_linux32-s390x)'],
338  'ldflags': ['-Wl,--version-script=<@(linker_script)'],
339  'sources': ['<@(openssl_sources)', '<@(openssl_sources_linux32-s390x)'],
340  'direct_dependent_settings': {
341    'include_dirs': ['./include', '.'],
342    'defines': ['<@(openssl_defines_linux32-s390x)'],
343  },
344}
345