• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  'variables': {
3    'openssl_sources': [
4      'openssl/crypto/aes/aes_cbc.c',
5      'openssl/crypto/aes/aes_ecb.c',
6      'openssl/crypto/aes/aes_misc.c',
7      'openssl/crypto/bn/bn_add.c',
8      'openssl/crypto/bn/bn_asm.c',
9      'openssl/crypto/bn/bn_blind.c',
10      'openssl/crypto/bn/bn_const.c',
11      'openssl/crypto/bn/bn_conv.c',
12      'openssl/crypto/bn/bn_ctx.c',
13      'openssl/crypto/bn/bn_dh.c',
14      'openssl/crypto/bn/bn_div.c',
15      'openssl/crypto/bn/bn_exp.c',
16      'openssl/crypto/bn/bn_exp2.c',
17      'openssl/crypto/bn/bn_gcd.c',
18      'openssl/crypto/bn/bn_gf2m.c',
19      'openssl/crypto/bn/bn_intern.c',
20      'openssl/crypto/bn/bn_kron.c',
21      'openssl/crypto/bn/bn_lib.c',
22      'openssl/crypto/bn/bn_mod.c',
23      'openssl/crypto/bn/bn_mont.c',
24      'openssl/crypto/bn/bn_mpi.c',
25      'openssl/crypto/bn/bn_mul.c',
26      'openssl/crypto/bn/bn_nist.c',
27      'openssl/crypto/bn/bn_prime.c',
28      'openssl/crypto/bn/bn_rand.c',
29      'openssl/crypto/bn/bn_recp.c',
30      'openssl/crypto/bn/bn_rsa_fips186_4.c',
31      'openssl/crypto/bn/bn_shift.c',
32      'openssl/crypto/bn/bn_sqr.c',
33      'openssl/crypto/bn/bn_sqrt.c',
34      'openssl/crypto/bn/bn_word.c',
35      'openssl/crypto/buffer/buffer.c',
36      'openssl/crypto/cmac/cmac.c',
37      'openssl/crypto/des/des_enc.c',
38      'openssl/crypto/des/ecb3_enc.c',
39      'openssl/crypto/des/fcrypt_b.c',
40      'openssl/crypto/des/set_key.c',
41      'openssl/crypto/dh/dh_backend.c',
42      'openssl/crypto/dh/dh_check.c',
43      'openssl/crypto/dh/dh_gen.c',
44      'openssl/crypto/dh/dh_group_params.c',
45      'openssl/crypto/dh/dh_kdf.c',
46      'openssl/crypto/dh/dh_key.c',
47      'openssl/crypto/dh/dh_lib.c',
48      'openssl/crypto/dsa/dsa_backend.c',
49      'openssl/crypto/dsa/dsa_check.c',
50      'openssl/crypto/dsa/dsa_gen.c',
51      'openssl/crypto/dsa/dsa_key.c',
52      'openssl/crypto/dsa/dsa_lib.c',
53      'openssl/crypto/dsa/dsa_ossl.c',
54      'openssl/crypto/dsa/dsa_sign.c',
55      'openssl/crypto/dsa/dsa_vrf.c',
56      'openssl/crypto/ec/curve448/arch_32/f_impl32.c',
57      'openssl/crypto/ec/curve448/arch_64/f_impl64.c',
58      'openssl/crypto/ec/curve448/curve448.c',
59      'openssl/crypto/ec/curve448/curve448_tables.c',
60      'openssl/crypto/ec/curve448/eddsa.c',
61      'openssl/crypto/ec/curve448/f_generic.c',
62      'openssl/crypto/ec/curve448/scalar.c',
63      'openssl/crypto/ec/curve25519.c',
64      'openssl/crypto/ec/ec2_oct.c',
65      'openssl/crypto/ec/ec2_smpl.c',
66      'openssl/crypto/ec/ec_asn1.c',
67      'openssl/crypto/ec/ec_backend.c',
68      'openssl/crypto/ec/ec_check.c',
69      'openssl/crypto/ec/ec_curve.c',
70      'openssl/crypto/ec/ec_cvt.c',
71      'openssl/crypto/ec/ec_key.c',
72      'openssl/crypto/ec/ec_kmeth.c',
73      'openssl/crypto/ec/ec_lib.c',
74      'openssl/crypto/ec/ec_mult.c',
75      'openssl/crypto/ec/ec_oct.c',
76      'openssl/crypto/ec/ecdh_kdf.c',
77      'openssl/crypto/ec/ecdh_ossl.c',
78      'openssl/crypto/ec/ecdsa_ossl.c',
79      'openssl/crypto/ec/ecdsa_sign.c',
80      'openssl/crypto/ec/ecdsa_vrf.c',
81      'openssl/crypto/ec/ecp_mont.c',
82      'openssl/crypto/ec/ecp_nist.c',
83      'openssl/crypto/ec/ecp_nistz256.c',
84      'openssl/crypto/ec/ecp_oct.c',
85      'openssl/crypto/ec/ecp_smpl.c',
86      'openssl/crypto/ec/ecx_backend.c',
87      'openssl/crypto/ec/ecx_key.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/armcap.c',
121      'openssl/crypto/asn1_dsa.c',
122      'openssl/crypto/bsearch.c',
123      'openssl/crypto/context.c',
124      'openssl/crypto/core_algorithm.c',
125      'openssl/crypto/core_fetch.c',
126      'openssl/crypto/core_namemap.c',
127      'openssl/crypto/cpuid.c',
128      'openssl/crypto/cryptlib.c',
129      'openssl/crypto/ctype.c',
130      'openssl/crypto/der_writer.c',
131      'openssl/crypto/ex_data.c',
132      'openssl/crypto/initthread.c',
133      'openssl/crypto/o_str.c',
134      'openssl/crypto/packet.c',
135      'openssl/crypto/param_build.c',
136      'openssl/crypto/param_build_set.c',
137      'openssl/crypto/params.c',
138      'openssl/crypto/params_dup.c',
139      'openssl/crypto/params_from_text.c',
140      'openssl/crypto/provider_core.c',
141      'openssl/crypto/provider_predefined.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_linux-armv4': [
274      './config/archs/linux-armv4/asm/crypto/aes/aes-armv4.S',
275      './config/archs/linux-armv4/asm/crypto/aes/aesv8-armx.S',
276      './config/archs/linux-armv4/asm/crypto/aes/bsaes-armv7.S',
277      './config/archs/linux-armv4/asm/crypto/bn/armv4-gf2m.S',
278      './config/archs/linux-armv4/asm/crypto/bn/armv4-mont.S',
279      './config/archs/linux-armv4/asm/crypto/chacha/chacha-armv4.S',
280      './config/archs/linux-armv4/asm/crypto/ec/ecp_nistz256-armv4.S',
281      './config/archs/linux-armv4/asm/crypto/armv4cpuid.S',
282      './config/archs/linux-armv4/asm/crypto/modes/ghash-armv4.S',
283      './config/archs/linux-armv4/asm/crypto/modes/ghashv8-armx.S',
284      './config/archs/linux-armv4/asm/crypto/poly1305/poly1305-armv4.S',
285      './config/archs/linux-armv4/asm/crypto/sha/keccak1600-armv4.S',
286      './config/archs/linux-armv4/asm/crypto/sha/sha1-armv4-large.S',
287      './config/archs/linux-armv4/asm/crypto/sha/sha256-armv4.S',
288      './config/archs/linux-armv4/asm/crypto/sha/sha512-armv4.S',
289      './config/archs/linux-armv4/asm/providers/common/der/der_sm2_gen.c',
290      './config/archs/linux-armv4/asm/providers/common/der/der_digests_gen.c',
291      './config/archs/linux-armv4/asm/providers/common/der/der_dsa_gen.c',
292      './config/archs/linux-armv4/asm/providers/common/der/der_ec_gen.c',
293      './config/archs/linux-armv4/asm/providers/common/der/der_ecx_gen.c',
294      './config/archs/linux-armv4/asm/providers/common/der/der_rsa_gen.c',
295      './config/archs/linux-armv4/asm/providers/common/der/der_wrap_gen.c',
296      './config/archs/linux-armv4/asm/providers/legacy.ld',
297      './config/archs/linux-armv4/asm/providers/fips.ld',
298
299    ],
300    'openssl_defines_linux-armv4': [
301      'NDEBUG',
302      'OPENSSL_USE_NODELETE',
303      'OPENSSL_BUILDING_OPENSSL',
304      'AES_ASM',
305      'BSAES_ASM',
306      'ECP_NISTZ256_ASM',
307      'FIPS_MODULE',
308      'GHASH_ASM',
309      'KECCAK1600_ASM',
310      'OPENSSL_BN_ASM_GF2m',
311      'OPENSSL_BN_ASM_MONT',
312      'OPENSSL_CPUID_OBJ',
313      'SHA1_ASM',
314      'SHA256_ASM',
315      'SHA512_ASM',
316      'FIPS_MODULE',
317    ],
318    'openssl_cflags_linux-armv4': [
319      '-Wa,--noexecstack',
320      '-Wall -O3',
321      '-pthread',
322      '-Wall -O3',
323    ],
324    'openssl_ex_libs_linux-armv4': [
325      '-ldl -pthread -latomic',
326    ],
327    'linker_script': '<(PRODUCT_DIR)/../../deps/openssl/config/archs/linux-armv4/asm/providers/fips.ld'
328  },
329  'include_dirs': [
330    '.',
331    './include',
332    './crypto',
333    './crypto/include/internal',
334    './providers/common/include',
335  ],
336  'defines': ['<@(openssl_defines_linux-armv4)'],
337  'cflags': ['<@(openssl_cflags_linux-armv4)'],
338  'libraries': ['<@(openssl_ex_libs_linux-armv4)'],
339  'ldflags': ['-Wl,--version-script=<@(linker_script)'],
340  'sources': ['<@(openssl_sources)', '<@(openssl_sources_linux-armv4)'],
341  'direct_dependent_settings': {
342    'include_dirs': ['./include', '.'],
343    'defines': ['<@(openssl_defines_linux-armv4)'],
344  },
345}
346