David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 1 | # Auto-generated - DO NOT EDIT! |
| 2 | # To regenerate, edit openssl.config, then run: |
Kenny Root | c64f6fe | 2014-11-06 10:31:23 -0800 | [diff] [blame] | 3 | # ./import_openssl.sh import /path/to/openssl-1.0.1j.tar.gz |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 4 | # |
Colin Cross | b95c4f9 | 2014-01-29 23:14:38 -0800 | [diff] [blame] | 5 | # This script will append to the following variables: |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 6 | # |
Colin Cross | b95c4f9 | 2014-01-29 23:14:38 -0800 | [diff] [blame] | 7 | # LOCAL_CFLAGS |
| 8 | # LOCAL_C_INCLUDES |
| 9 | # LOCAL_SRC_FILES_$(TARGET_ARCH) |
| 10 | # LOCAL_SRC_FILES_$(TARGET_2ND_ARCH) |
| 11 | # LOCAL_CFLAGS_$(TARGET_ARCH) |
| 12 | # LOCAL_CFLAGS_$(TARGET_2ND_ARCH) |
| 13 | # LOCAL_ADDITIONAL_DEPENDENCIES |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 14 | |
Colin Cross | 92141a0 | 2014-02-06 01:13:52 +0000 | [diff] [blame] | 15 | |
Colin Cross | b95c4f9 | 2014-01-29 23:14:38 -0800 | [diff] [blame] | 16 | LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/Crypto-config-host.mk |
| 17 | |
| 18 | common_cflags := \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 19 | -DNO_WINDOWS_BRAINDEATH \ |
| 20 | |
| 21 | common_src_files := \ |
| 22 | crypto/aes/aes_cbc.c \ |
| 23 | crypto/aes/aes_cfb.c \ |
| 24 | crypto/aes/aes_core.c \ |
| 25 | crypto/aes/aes_ctr.c \ |
| 26 | crypto/aes/aes_ecb.c \ |
| 27 | crypto/aes/aes_misc.c \ |
| 28 | crypto/aes/aes_ofb.c \ |
| 29 | crypto/aes/aes_wrap.c \ |
| 30 | crypto/asn1/a_bitstr.c \ |
| 31 | crypto/asn1/a_bool.c \ |
| 32 | crypto/asn1/a_bytes.c \ |
| 33 | crypto/asn1/a_d2i_fp.c \ |
| 34 | crypto/asn1/a_digest.c \ |
| 35 | crypto/asn1/a_dup.c \ |
| 36 | crypto/asn1/a_enum.c \ |
| 37 | crypto/asn1/a_gentm.c \ |
| 38 | crypto/asn1/a_i2d_fp.c \ |
| 39 | crypto/asn1/a_int.c \ |
| 40 | crypto/asn1/a_mbstr.c \ |
| 41 | crypto/asn1/a_object.c \ |
| 42 | crypto/asn1/a_octet.c \ |
| 43 | crypto/asn1/a_print.c \ |
| 44 | crypto/asn1/a_set.c \ |
| 45 | crypto/asn1/a_sign.c \ |
| 46 | crypto/asn1/a_strex.c \ |
| 47 | crypto/asn1/a_strnid.c \ |
| 48 | crypto/asn1/a_time.c \ |
| 49 | crypto/asn1/a_type.c \ |
| 50 | crypto/asn1/a_utctm.c \ |
| 51 | crypto/asn1/a_utf8.c \ |
| 52 | crypto/asn1/a_verify.c \ |
| 53 | crypto/asn1/ameth_lib.c \ |
| 54 | crypto/asn1/asn1_err.c \ |
| 55 | crypto/asn1/asn1_gen.c \ |
| 56 | crypto/asn1/asn1_lib.c \ |
| 57 | crypto/asn1/asn1_par.c \ |
| 58 | crypto/asn1/asn_mime.c \ |
| 59 | crypto/asn1/asn_moid.c \ |
| 60 | crypto/asn1/asn_pack.c \ |
| 61 | crypto/asn1/bio_asn1.c \ |
| 62 | crypto/asn1/bio_ndef.c \ |
| 63 | crypto/asn1/d2i_pr.c \ |
| 64 | crypto/asn1/d2i_pu.c \ |
| 65 | crypto/asn1/evp_asn1.c \ |
| 66 | crypto/asn1/f_enum.c \ |
| 67 | crypto/asn1/f_int.c \ |
| 68 | crypto/asn1/f_string.c \ |
| 69 | crypto/asn1/i2d_pr.c \ |
| 70 | crypto/asn1/i2d_pu.c \ |
| 71 | crypto/asn1/n_pkey.c \ |
| 72 | crypto/asn1/nsseq.c \ |
| 73 | crypto/asn1/p5_pbe.c \ |
| 74 | crypto/asn1/p5_pbev2.c \ |
| 75 | crypto/asn1/p8_pkey.c \ |
| 76 | crypto/asn1/t_bitst.c \ |
| 77 | crypto/asn1/t_crl.c \ |
| 78 | crypto/asn1/t_pkey.c \ |
| 79 | crypto/asn1/t_req.c \ |
| 80 | crypto/asn1/t_spki.c \ |
| 81 | crypto/asn1/t_x509.c \ |
| 82 | crypto/asn1/t_x509a.c \ |
| 83 | crypto/asn1/tasn_dec.c \ |
| 84 | crypto/asn1/tasn_enc.c \ |
| 85 | crypto/asn1/tasn_fre.c \ |
| 86 | crypto/asn1/tasn_new.c \ |
| 87 | crypto/asn1/tasn_prn.c \ |
| 88 | crypto/asn1/tasn_typ.c \ |
| 89 | crypto/asn1/tasn_utl.c \ |
| 90 | crypto/asn1/x_algor.c \ |
| 91 | crypto/asn1/x_attrib.c \ |
| 92 | crypto/asn1/x_bignum.c \ |
| 93 | crypto/asn1/x_crl.c \ |
| 94 | crypto/asn1/x_exten.c \ |
| 95 | crypto/asn1/x_info.c \ |
| 96 | crypto/asn1/x_long.c \ |
| 97 | crypto/asn1/x_name.c \ |
| 98 | crypto/asn1/x_nx509.c \ |
| 99 | crypto/asn1/x_pkey.c \ |
| 100 | crypto/asn1/x_pubkey.c \ |
| 101 | crypto/asn1/x_req.c \ |
| 102 | crypto/asn1/x_sig.c \ |
| 103 | crypto/asn1/x_spki.c \ |
| 104 | crypto/asn1/x_val.c \ |
| 105 | crypto/asn1/x_x509.c \ |
| 106 | crypto/asn1/x_x509a.c \ |
| 107 | crypto/bf/bf_cfb64.c \ |
| 108 | crypto/bf/bf_ecb.c \ |
| 109 | crypto/bf/bf_enc.c \ |
| 110 | crypto/bf/bf_ofb64.c \ |
| 111 | crypto/bf/bf_skey.c \ |
| 112 | crypto/bio/b_dump.c \ |
| 113 | crypto/bio/b_print.c \ |
| 114 | crypto/bio/b_sock.c \ |
| 115 | crypto/bio/bf_buff.c \ |
| 116 | crypto/bio/bf_nbio.c \ |
| 117 | crypto/bio/bf_null.c \ |
| 118 | crypto/bio/bio_cb.c \ |
| 119 | crypto/bio/bio_err.c \ |
| 120 | crypto/bio/bio_lib.c \ |
| 121 | crypto/bio/bss_acpt.c \ |
| 122 | crypto/bio/bss_bio.c \ |
| 123 | crypto/bio/bss_conn.c \ |
| 124 | crypto/bio/bss_dgram.c \ |
| 125 | crypto/bio/bss_fd.c \ |
| 126 | crypto/bio/bss_file.c \ |
| 127 | crypto/bio/bss_log.c \ |
| 128 | crypto/bio/bss_mem.c \ |
| 129 | crypto/bio/bss_null.c \ |
| 130 | crypto/bio/bss_sock.c \ |
| 131 | crypto/bn/bn_add.c \ |
| 132 | crypto/bn/bn_asm.c \ |
| 133 | crypto/bn/bn_blind.c \ |
| 134 | crypto/bn/bn_const.c \ |
| 135 | crypto/bn/bn_ctx.c \ |
| 136 | crypto/bn/bn_div.c \ |
| 137 | crypto/bn/bn_err.c \ |
| 138 | crypto/bn/bn_exp.c \ |
| 139 | crypto/bn/bn_exp2.c \ |
| 140 | crypto/bn/bn_gcd.c \ |
| 141 | crypto/bn/bn_gf2m.c \ |
| 142 | crypto/bn/bn_kron.c \ |
| 143 | crypto/bn/bn_lib.c \ |
| 144 | crypto/bn/bn_mod.c \ |
| 145 | crypto/bn/bn_mont.c \ |
| 146 | crypto/bn/bn_mpi.c \ |
| 147 | crypto/bn/bn_mul.c \ |
| 148 | crypto/bn/bn_nist.c \ |
| 149 | crypto/bn/bn_prime.c \ |
| 150 | crypto/bn/bn_print.c \ |
| 151 | crypto/bn/bn_rand.c \ |
| 152 | crypto/bn/bn_recp.c \ |
| 153 | crypto/bn/bn_shift.c \ |
| 154 | crypto/bn/bn_sqr.c \ |
| 155 | crypto/bn/bn_sqrt.c \ |
| 156 | crypto/bn/bn_word.c \ |
| 157 | crypto/buffer/buf_err.c \ |
| 158 | crypto/buffer/buf_str.c \ |
| 159 | crypto/buffer/buffer.c \ |
| 160 | crypto/cmac/cm_ameth.c \ |
| 161 | crypto/cmac/cm_pmeth.c \ |
| 162 | crypto/cmac/cmac.c \ |
Kenny Root | a88cfce | 2013-09-27 13:46:28 -0700 | [diff] [blame] | 163 | crypto/cms/cms_asn1.c \ |
| 164 | crypto/cms/cms_att.c \ |
| 165 | crypto/cms/cms_cd.c \ |
| 166 | crypto/cms/cms_dd.c \ |
| 167 | crypto/cms/cms_enc.c \ |
| 168 | crypto/cms/cms_env.c \ |
| 169 | crypto/cms/cms_err.c \ |
| 170 | crypto/cms/cms_ess.c \ |
| 171 | crypto/cms/cms_io.c \ |
| 172 | crypto/cms/cms_lib.c \ |
| 173 | crypto/cms/cms_pwri.c \ |
| 174 | crypto/cms/cms_sd.c \ |
| 175 | crypto/cms/cms_smime.c \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 176 | crypto/comp/c_rle.c \ |
| 177 | crypto/comp/c_zlib.c \ |
| 178 | crypto/comp/comp_err.c \ |
| 179 | crypto/comp/comp_lib.c \ |
| 180 | crypto/conf/conf_api.c \ |
| 181 | crypto/conf/conf_def.c \ |
| 182 | crypto/conf/conf_err.c \ |
| 183 | crypto/conf/conf_lib.c \ |
| 184 | crypto/conf/conf_mall.c \ |
| 185 | crypto/conf/conf_mod.c \ |
| 186 | crypto/conf/conf_sap.c \ |
Kenny Root | c64f6fe | 2014-11-06 10:31:23 -0800 | [diff] [blame] | 187 | crypto/constant_time_locl.h \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 188 | crypto/cpt_err.c \ |
| 189 | crypto/cryptlib.c \ |
| 190 | crypto/cversion.c \ |
| 191 | crypto/des/cbc_cksm.c \ |
| 192 | crypto/des/cbc_enc.c \ |
| 193 | crypto/des/cfb64ede.c \ |
| 194 | crypto/des/cfb64enc.c \ |
| 195 | crypto/des/cfb_enc.c \ |
| 196 | crypto/des/des_enc.c \ |
| 197 | crypto/des/des_old.c \ |
| 198 | crypto/des/des_old2.c \ |
| 199 | crypto/des/ecb3_enc.c \ |
| 200 | crypto/des/ecb_enc.c \ |
| 201 | crypto/des/ede_cbcm_enc.c \ |
| 202 | crypto/des/enc_read.c \ |
| 203 | crypto/des/enc_writ.c \ |
| 204 | crypto/des/fcrypt.c \ |
| 205 | crypto/des/fcrypt_b.c \ |
| 206 | crypto/des/ofb64ede.c \ |
| 207 | crypto/des/ofb64enc.c \ |
| 208 | crypto/des/ofb_enc.c \ |
| 209 | crypto/des/pcbc_enc.c \ |
| 210 | crypto/des/qud_cksm.c \ |
| 211 | crypto/des/rand_key.c \ |
| 212 | crypto/des/read2pwd.c \ |
| 213 | crypto/des/rpc_enc.c \ |
| 214 | crypto/des/set_key.c \ |
| 215 | crypto/des/str2key.c \ |
| 216 | crypto/des/xcbc_enc.c \ |
| 217 | crypto/dh/dh_ameth.c \ |
| 218 | crypto/dh/dh_asn1.c \ |
| 219 | crypto/dh/dh_check.c \ |
| 220 | crypto/dh/dh_depr.c \ |
| 221 | crypto/dh/dh_err.c \ |
| 222 | crypto/dh/dh_gen.c \ |
| 223 | crypto/dh/dh_key.c \ |
| 224 | crypto/dh/dh_lib.c \ |
| 225 | crypto/dh/dh_pmeth.c \ |
| 226 | crypto/dsa/dsa_ameth.c \ |
| 227 | crypto/dsa/dsa_asn1.c \ |
| 228 | crypto/dsa/dsa_depr.c \ |
| 229 | crypto/dsa/dsa_err.c \ |
| 230 | crypto/dsa/dsa_gen.c \ |
| 231 | crypto/dsa/dsa_key.c \ |
| 232 | crypto/dsa/dsa_lib.c \ |
| 233 | crypto/dsa/dsa_ossl.c \ |
| 234 | crypto/dsa/dsa_pmeth.c \ |
| 235 | crypto/dsa/dsa_prn.c \ |
| 236 | crypto/dsa/dsa_sign.c \ |
| 237 | crypto/dsa/dsa_vrf.c \ |
| 238 | crypto/dso/dso_dl.c \ |
| 239 | crypto/dso/dso_dlfcn.c \ |
| 240 | crypto/dso/dso_err.c \ |
| 241 | crypto/dso/dso_lib.c \ |
| 242 | crypto/dso/dso_null.c \ |
| 243 | crypto/dso/dso_openssl.c \ |
| 244 | crypto/ebcdic.c \ |
| 245 | crypto/ec/ec2_mult.c \ |
| 246 | crypto/ec/ec2_oct.c \ |
| 247 | crypto/ec/ec2_smpl.c \ |
| 248 | crypto/ec/ec_ameth.c \ |
| 249 | crypto/ec/ec_asn1.c \ |
| 250 | crypto/ec/ec_check.c \ |
| 251 | crypto/ec/ec_curve.c \ |
| 252 | crypto/ec/ec_cvt.c \ |
| 253 | crypto/ec/ec_err.c \ |
| 254 | crypto/ec/ec_key.c \ |
| 255 | crypto/ec/ec_lib.c \ |
| 256 | crypto/ec/ec_mult.c \ |
| 257 | crypto/ec/ec_oct.c \ |
| 258 | crypto/ec/ec_pmeth.c \ |
| 259 | crypto/ec/ec_print.c \ |
| 260 | crypto/ec/eck_prn.c \ |
| 261 | crypto/ec/ecp_mont.c \ |
| 262 | crypto/ec/ecp_nist.c \ |
| 263 | crypto/ec/ecp_oct.c \ |
| 264 | crypto/ec/ecp_smpl.c \ |
| 265 | crypto/ecdh/ech_err.c \ |
| 266 | crypto/ecdh/ech_key.c \ |
| 267 | crypto/ecdh/ech_lib.c \ |
| 268 | crypto/ecdh/ech_ossl.c \ |
| 269 | crypto/ecdsa/ecs_asn1.c \ |
| 270 | crypto/ecdsa/ecs_err.c \ |
| 271 | crypto/ecdsa/ecs_lib.c \ |
| 272 | crypto/ecdsa/ecs_ossl.c \ |
| 273 | crypto/ecdsa/ecs_sign.c \ |
| 274 | crypto/ecdsa/ecs_vrf.c \ |
| 275 | crypto/engine/eng_all.c \ |
| 276 | crypto/engine/eng_cnf.c \ |
| 277 | crypto/engine/eng_ctrl.c \ |
| 278 | crypto/engine/eng_dyn.c \ |
| 279 | crypto/engine/eng_err.c \ |
| 280 | crypto/engine/eng_fat.c \ |
| 281 | crypto/engine/eng_init.c \ |
| 282 | crypto/engine/eng_lib.c \ |
| 283 | crypto/engine/eng_list.c \ |
| 284 | crypto/engine/eng_pkey.c \ |
| 285 | crypto/engine/eng_table.c \ |
| 286 | crypto/engine/tb_asnmth.c \ |
| 287 | crypto/engine/tb_cipher.c \ |
| 288 | crypto/engine/tb_dh.c \ |
| 289 | crypto/engine/tb_digest.c \ |
| 290 | crypto/engine/tb_dsa.c \ |
| 291 | crypto/engine/tb_ecdh.c \ |
| 292 | crypto/engine/tb_ecdsa.c \ |
| 293 | crypto/engine/tb_pkmeth.c \ |
| 294 | crypto/engine/tb_rand.c \ |
| 295 | crypto/engine/tb_rsa.c \ |
| 296 | crypto/engine/tb_store.c \ |
| 297 | crypto/err/err.c \ |
| 298 | crypto/err/err_all.c \ |
| 299 | crypto/err/err_prn.c \ |
| 300 | crypto/evp/bio_b64.c \ |
| 301 | crypto/evp/bio_enc.c \ |
| 302 | crypto/evp/bio_md.c \ |
| 303 | crypto/evp/bio_ok.c \ |
| 304 | crypto/evp/c_all.c \ |
| 305 | crypto/evp/c_allc.c \ |
| 306 | crypto/evp/c_alld.c \ |
| 307 | crypto/evp/digest.c \ |
| 308 | crypto/evp/e_aes.c \ |
| 309 | crypto/evp/e_aes_cbc_hmac_sha1.c \ |
| 310 | crypto/evp/e_bf.c \ |
| 311 | crypto/evp/e_des.c \ |
| 312 | crypto/evp/e_des3.c \ |
| 313 | crypto/evp/e_null.c \ |
| 314 | crypto/evp/e_old.c \ |
| 315 | crypto/evp/e_rc2.c \ |
| 316 | crypto/evp/e_rc4.c \ |
| 317 | crypto/evp/e_rc4_hmac_md5.c \ |
| 318 | crypto/evp/e_rc5.c \ |
| 319 | crypto/evp/e_xcbc_d.c \ |
| 320 | crypto/evp/encode.c \ |
| 321 | crypto/evp/evp_acnf.c \ |
| 322 | crypto/evp/evp_cnf.c \ |
| 323 | crypto/evp/evp_enc.c \ |
| 324 | crypto/evp/evp_err.c \ |
| 325 | crypto/evp/evp_key.c \ |
| 326 | crypto/evp/evp_lib.c \ |
| 327 | crypto/evp/evp_pbe.c \ |
| 328 | crypto/evp/evp_pkey.c \ |
| 329 | crypto/evp/m_dss.c \ |
| 330 | crypto/evp/m_dss1.c \ |
| 331 | crypto/evp/m_ecdsa.c \ |
| 332 | crypto/evp/m_md4.c \ |
| 333 | crypto/evp/m_md5.c \ |
| 334 | crypto/evp/m_mdc2.c \ |
| 335 | crypto/evp/m_null.c \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 336 | crypto/evp/m_sha1.c \ |
| 337 | crypto/evp/m_sigver.c \ |
| 338 | crypto/evp/m_wp.c \ |
| 339 | crypto/evp/names.c \ |
| 340 | crypto/evp/p5_crpt.c \ |
| 341 | crypto/evp/p5_crpt2.c \ |
| 342 | crypto/evp/p_dec.c \ |
| 343 | crypto/evp/p_enc.c \ |
| 344 | crypto/evp/p_lib.c \ |
| 345 | crypto/evp/p_open.c \ |
| 346 | crypto/evp/p_seal.c \ |
| 347 | crypto/evp/p_sign.c \ |
| 348 | crypto/evp/p_verify.c \ |
| 349 | crypto/evp/pmeth_fn.c \ |
| 350 | crypto/evp/pmeth_gn.c \ |
| 351 | crypto/evp/pmeth_lib.c \ |
| 352 | crypto/ex_data.c \ |
| 353 | crypto/hmac/hm_ameth.c \ |
| 354 | crypto/hmac/hm_pmeth.c \ |
| 355 | crypto/hmac/hmac.c \ |
| 356 | crypto/krb5/krb5_asn.c \ |
| 357 | crypto/lhash/lh_stats.c \ |
| 358 | crypto/lhash/lhash.c \ |
| 359 | crypto/md4/md4_dgst.c \ |
| 360 | crypto/md4/md4_one.c \ |
| 361 | crypto/md5/md5_dgst.c \ |
| 362 | crypto/md5/md5_one.c \ |
| 363 | crypto/mem.c \ |
| 364 | crypto/mem_clr.c \ |
| 365 | crypto/mem_dbg.c \ |
| 366 | crypto/modes/cbc128.c \ |
| 367 | crypto/modes/ccm128.c \ |
| 368 | crypto/modes/cfb128.c \ |
| 369 | crypto/modes/ctr128.c \ |
| 370 | crypto/modes/gcm128.c \ |
| 371 | crypto/modes/ofb128.c \ |
| 372 | crypto/modes/xts128.c \ |
| 373 | crypto/o_dir.c \ |
| 374 | crypto/o_init.c \ |
| 375 | crypto/o_str.c \ |
| 376 | crypto/o_time.c \ |
| 377 | crypto/objects/o_names.c \ |
| 378 | crypto/objects/obj_dat.c \ |
| 379 | crypto/objects/obj_err.c \ |
| 380 | crypto/objects/obj_lib.c \ |
| 381 | crypto/objects/obj_xref.c \ |
| 382 | crypto/ocsp/ocsp_asn.c \ |
| 383 | crypto/ocsp/ocsp_cl.c \ |
| 384 | crypto/ocsp/ocsp_err.c \ |
| 385 | crypto/ocsp/ocsp_ext.c \ |
| 386 | crypto/ocsp/ocsp_ht.c \ |
| 387 | crypto/ocsp/ocsp_lib.c \ |
| 388 | crypto/ocsp/ocsp_prn.c \ |
| 389 | crypto/ocsp/ocsp_srv.c \ |
| 390 | crypto/ocsp/ocsp_vfy.c \ |
| 391 | crypto/pem/pem_all.c \ |
| 392 | crypto/pem/pem_err.c \ |
| 393 | crypto/pem/pem_info.c \ |
| 394 | crypto/pem/pem_lib.c \ |
| 395 | crypto/pem/pem_oth.c \ |
| 396 | crypto/pem/pem_pk8.c \ |
| 397 | crypto/pem/pem_pkey.c \ |
| 398 | crypto/pem/pem_seal.c \ |
| 399 | crypto/pem/pem_sign.c \ |
| 400 | crypto/pem/pem_x509.c \ |
| 401 | crypto/pem/pem_xaux.c \ |
| 402 | crypto/pem/pvkfmt.c \ |
| 403 | crypto/pkcs12/p12_add.c \ |
| 404 | crypto/pkcs12/p12_asn.c \ |
| 405 | crypto/pkcs12/p12_attr.c \ |
| 406 | crypto/pkcs12/p12_crpt.c \ |
| 407 | crypto/pkcs12/p12_crt.c \ |
| 408 | crypto/pkcs12/p12_decr.c \ |
| 409 | crypto/pkcs12/p12_init.c \ |
| 410 | crypto/pkcs12/p12_key.c \ |
| 411 | crypto/pkcs12/p12_kiss.c \ |
| 412 | crypto/pkcs12/p12_mutl.c \ |
| 413 | crypto/pkcs12/p12_npas.c \ |
| 414 | crypto/pkcs12/p12_p8d.c \ |
| 415 | crypto/pkcs12/p12_p8e.c \ |
| 416 | crypto/pkcs12/p12_utl.c \ |
| 417 | crypto/pkcs12/pk12err.c \ |
| 418 | crypto/pkcs7/pk7_asn1.c \ |
| 419 | crypto/pkcs7/pk7_attr.c \ |
| 420 | crypto/pkcs7/pk7_doit.c \ |
| 421 | crypto/pkcs7/pk7_lib.c \ |
| 422 | crypto/pkcs7/pk7_mime.c \ |
| 423 | crypto/pkcs7/pk7_smime.c \ |
| 424 | crypto/pkcs7/pkcs7err.c \ |
| 425 | crypto/pqueue/pqueue.c \ |
| 426 | crypto/rand/md_rand.c \ |
| 427 | crypto/rand/rand_egd.c \ |
| 428 | crypto/rand/rand_err.c \ |
| 429 | crypto/rand/rand_lib.c \ |
| 430 | crypto/rand/rand_unix.c \ |
| 431 | crypto/rand/rand_win.c \ |
| 432 | crypto/rand/randfile.c \ |
| 433 | crypto/rc2/rc2_cbc.c \ |
| 434 | crypto/rc2/rc2_ecb.c \ |
| 435 | crypto/rc2/rc2_skey.c \ |
| 436 | crypto/rc2/rc2cfb64.c \ |
| 437 | crypto/rc2/rc2ofb64.c \ |
| 438 | crypto/rc4/rc4_enc.c \ |
| 439 | crypto/rc4/rc4_skey.c \ |
| 440 | crypto/rc4/rc4_utl.c \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 441 | crypto/rsa/rsa_ameth.c \ |
| 442 | crypto/rsa/rsa_asn1.c \ |
| 443 | crypto/rsa/rsa_chk.c \ |
| 444 | crypto/rsa/rsa_crpt.c \ |
| 445 | crypto/rsa/rsa_eay.c \ |
| 446 | crypto/rsa/rsa_err.c \ |
| 447 | crypto/rsa/rsa_gen.c \ |
| 448 | crypto/rsa/rsa_lib.c \ |
| 449 | crypto/rsa/rsa_none.c \ |
| 450 | crypto/rsa/rsa_null.c \ |
| 451 | crypto/rsa/rsa_oaep.c \ |
| 452 | crypto/rsa/rsa_pk1.c \ |
| 453 | crypto/rsa/rsa_pmeth.c \ |
| 454 | crypto/rsa/rsa_prn.c \ |
| 455 | crypto/rsa/rsa_pss.c \ |
| 456 | crypto/rsa/rsa_saos.c \ |
| 457 | crypto/rsa/rsa_sign.c \ |
| 458 | crypto/rsa/rsa_ssl.c \ |
| 459 | crypto/rsa/rsa_x931.c \ |
| 460 | crypto/sha/sha1_one.c \ |
| 461 | crypto/sha/sha1dgst.c \ |
| 462 | crypto/sha/sha256.c \ |
| 463 | crypto/sha/sha512.c \ |
| 464 | crypto/sha/sha_dgst.c \ |
| 465 | crypto/srp/srp_lib.c \ |
| 466 | crypto/srp/srp_vfy.c \ |
| 467 | crypto/stack/stack.c \ |
| 468 | crypto/ts/ts_err.c \ |
| 469 | crypto/txt_db/txt_db.c \ |
| 470 | crypto/ui/ui_compat.c \ |
| 471 | crypto/ui/ui_err.c \ |
| 472 | crypto/ui/ui_lib.c \ |
| 473 | crypto/ui/ui_openssl.c \ |
| 474 | crypto/ui/ui_util.c \ |
| 475 | crypto/uid.c \ |
| 476 | crypto/x509/by_dir.c \ |
| 477 | crypto/x509/by_file.c \ |
| 478 | crypto/x509/x509_att.c \ |
| 479 | crypto/x509/x509_cmp.c \ |
| 480 | crypto/x509/x509_d2.c \ |
| 481 | crypto/x509/x509_def.c \ |
| 482 | crypto/x509/x509_err.c \ |
| 483 | crypto/x509/x509_ext.c \ |
| 484 | crypto/x509/x509_lu.c \ |
| 485 | crypto/x509/x509_obj.c \ |
| 486 | crypto/x509/x509_r2x.c \ |
| 487 | crypto/x509/x509_req.c \ |
| 488 | crypto/x509/x509_set.c \ |
| 489 | crypto/x509/x509_trs.c \ |
| 490 | crypto/x509/x509_txt.c \ |
| 491 | crypto/x509/x509_v3.c \ |
| 492 | crypto/x509/x509_vfy.c \ |
| 493 | crypto/x509/x509_vpm.c \ |
| 494 | crypto/x509/x509cset.c \ |
| 495 | crypto/x509/x509name.c \ |
| 496 | crypto/x509/x509rset.c \ |
| 497 | crypto/x509/x509spki.c \ |
| 498 | crypto/x509/x509type.c \ |
| 499 | crypto/x509/x_all.c \ |
| 500 | crypto/x509v3/pcy_cache.c \ |
| 501 | crypto/x509v3/pcy_data.c \ |
| 502 | crypto/x509v3/pcy_lib.c \ |
| 503 | crypto/x509v3/pcy_map.c \ |
| 504 | crypto/x509v3/pcy_node.c \ |
| 505 | crypto/x509v3/pcy_tree.c \ |
| 506 | crypto/x509v3/v3_akey.c \ |
| 507 | crypto/x509v3/v3_akeya.c \ |
| 508 | crypto/x509v3/v3_alt.c \ |
| 509 | crypto/x509v3/v3_bcons.c \ |
| 510 | crypto/x509v3/v3_bitst.c \ |
| 511 | crypto/x509v3/v3_conf.c \ |
| 512 | crypto/x509v3/v3_cpols.c \ |
| 513 | crypto/x509v3/v3_crld.c \ |
| 514 | crypto/x509v3/v3_enum.c \ |
| 515 | crypto/x509v3/v3_extku.c \ |
| 516 | crypto/x509v3/v3_genn.c \ |
| 517 | crypto/x509v3/v3_ia5.c \ |
| 518 | crypto/x509v3/v3_info.c \ |
| 519 | crypto/x509v3/v3_int.c \ |
| 520 | crypto/x509v3/v3_lib.c \ |
| 521 | crypto/x509v3/v3_ncons.c \ |
| 522 | crypto/x509v3/v3_ocsp.c \ |
| 523 | crypto/x509v3/v3_pci.c \ |
| 524 | crypto/x509v3/v3_pcia.c \ |
| 525 | crypto/x509v3/v3_pcons.c \ |
| 526 | crypto/x509v3/v3_pku.c \ |
| 527 | crypto/x509v3/v3_pmaps.c \ |
| 528 | crypto/x509v3/v3_prn.c \ |
| 529 | crypto/x509v3/v3_purp.c \ |
| 530 | crypto/x509v3/v3_skey.c \ |
| 531 | crypto/x509v3/v3_sxnet.c \ |
| 532 | crypto/x509v3/v3_utl.c \ |
| 533 | crypto/x509v3/v3err.c \ |
| 534 | |
| 535 | common_c_includes := \ |
Colin Cross | b95c4f9 | 2014-01-29 23:14:38 -0800 | [diff] [blame] | 536 | external/openssl/. \ |
| 537 | external/openssl/crypto \ |
| 538 | external/openssl/crypto/asn1 \ |
| 539 | external/openssl/crypto/evp \ |
| 540 | external/openssl/crypto/modes \ |
| 541 | external/openssl/include \ |
| 542 | external/openssl/include/openssl \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 543 | |
Colin Cross | b95c4f9 | 2014-01-29 23:14:38 -0800 | [diff] [blame] | 544 | arm_cflags := \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 545 | -DAES_ASM \ |
Kenny Root | d55031a | 2014-05-28 09:47:50 -0700 | [diff] [blame] | 546 | -DBSAES_ASM \ |
Kenny Root | 2e15b90 | 2014-06-19 19:25:27 -0700 | [diff] [blame] | 547 | -DDES_UNROLL \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 548 | -DGHASH_ASM \ |
| 549 | -DOPENSSL_BN_ASM_GF2m \ |
| 550 | -DOPENSSL_BN_ASM_MONT \ |
Kenny Root | 31cf9ec | 2014-05-28 15:35:19 -0700 | [diff] [blame] | 551 | -DOPENSSL_CPUID_OBJ \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 552 | -DSHA1_ASM \ |
| 553 | -DSHA256_ASM \ |
| 554 | -DSHA512_ASM \ |
| 555 | |
| 556 | arm_src_files := \ |
| 557 | crypto/aes/asm/aes-armv4.S \ |
Kenny Root | 3f9e6ad | 2014-06-19 00:10:12 -0700 | [diff] [blame] | 558 | crypto/aes/asm/aesv8-armx.S \ |
Kenny Root | d55031a | 2014-05-28 09:47:50 -0700 | [diff] [blame] | 559 | crypto/aes/asm/bsaes-armv7.S \ |
Kenny Root | 31cf9ec | 2014-05-28 15:35:19 -0700 | [diff] [blame] | 560 | crypto/armcap.c \ |
| 561 | crypto/armv4cpuid.S \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 562 | crypto/bn/asm/armv4-gf2m.S \ |
| 563 | crypto/bn/asm/armv4-mont.S \ |
| 564 | crypto/modes/asm/ghash-armv4.S \ |
Kenny Root | 3f9e6ad | 2014-06-19 00:10:12 -0700 | [diff] [blame] | 565 | crypto/modes/asm/ghashv8-armx.S \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 566 | crypto/sha/asm/sha1-armv4-large.S \ |
| 567 | crypto/sha/asm/sha256-armv4.S \ |
| 568 | crypto/sha/asm/sha512-armv4.S \ |
| 569 | |
| 570 | arm_exclude_files := \ |
| 571 | crypto/aes/aes_core.c \ |
Kenny Root | 31cf9ec | 2014-05-28 15:35:19 -0700 | [diff] [blame] | 572 | crypto/mem_clr.c \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 573 | |
Colin Cross | b95c4f9 | 2014-01-29 23:14:38 -0800 | [diff] [blame] | 574 | arm64_cflags := \ |
Kenny Root | 2e15b90 | 2014-06-19 19:25:27 -0700 | [diff] [blame] | 575 | -DDES_UNROLL \ |
Kenny Root | 3f9e6ad | 2014-06-19 00:10:12 -0700 | [diff] [blame] | 576 | -DOPENSSL_CPUID_OBJ \ |
| 577 | -DSHA1_ASM \ |
| 578 | -DSHA256_ASM \ |
| 579 | -DSHA512_ASM \ |
Ashok Bhat | 65059ad | 2013-12-12 19:04:00 +0000 | [diff] [blame] | 580 | |
Kenny Root | 3f9e6ad | 2014-06-19 00:10:12 -0700 | [diff] [blame] | 581 | arm64_src_files := \ |
| 582 | crypto/aes/asm/aesv8-armx-64.S \ |
| 583 | crypto/arm64cpuid.S \ |
| 584 | crypto/armcap.c \ |
| 585 | crypto/modes/asm/ghashv8-armx-64.S \ |
| 586 | crypto/sha/asm/sha1-armv8.S \ |
| 587 | crypto/sha/asm/sha256-armv8.S \ |
| 588 | crypto/sha/asm/sha512-armv8.S \ |
Ashok Bhat | 65059ad | 2013-12-12 19:04:00 +0000 | [diff] [blame] | 589 | |
Colin Cross | 42b0d23 | 2014-01-21 19:58:07 -0800 | [diff] [blame] | 590 | arm64_exclude_files := |
Ashok Bhat | 65059ad | 2013-12-12 19:04:00 +0000 | [diff] [blame] | 591 | |
Colin Cross | b95c4f9 | 2014-01-29 23:14:38 -0800 | [diff] [blame] | 592 | x86_cflags := \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 593 | -DAES_ASM \ |
| 594 | -DDES_PTR \ |
| 595 | -DDES_RISC1 \ |
| 596 | -DDES_UNROLL \ |
| 597 | -DGHASH_ASM \ |
| 598 | -DMD5_ASM \ |
| 599 | -DOPENSSL_BN_ASM_GF2m \ |
| 600 | -DOPENSSL_BN_ASM_MONT \ |
| 601 | -DOPENSSL_BN_ASM_PART_WORDS \ |
| 602 | -DOPENSSL_CPUID_OBJ \ |
Kenny Root | c34190e | 2014-05-28 11:04:19 -0700 | [diff] [blame] | 603 | -DOPENSSL_IA32_SSE2 \ |
Kenny Root | 2e15b90 | 2014-06-19 19:25:27 -0700 | [diff] [blame] | 604 | -DRC4_INDEX \ |
| 605 | -DRMD160_ASM \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 606 | -DSHA1_ASM \ |
| 607 | -DSHA256_ASM \ |
| 608 | -DSHA512_ASM \ |
Kenny Root | c34190e | 2014-05-28 11:04:19 -0700 | [diff] [blame] | 609 | -DVPAES_ASM \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 610 | |
| 611 | x86_src_files := \ |
| 612 | crypto/aes/asm/aes-586.S \ |
| 613 | crypto/aes/asm/aesni-x86.S \ |
| 614 | crypto/aes/asm/vpaes-x86.S \ |
| 615 | crypto/bf/asm/bf-586.S \ |
| 616 | crypto/bn/asm/bn-586.S \ |
| 617 | crypto/bn/asm/co-586.S \ |
| 618 | crypto/bn/asm/x86-gf2m.S \ |
| 619 | crypto/bn/asm/x86-mont.S \ |
| 620 | crypto/des/asm/crypt586.S \ |
| 621 | crypto/des/asm/des-586.S \ |
| 622 | crypto/md5/asm/md5-586.S \ |
| 623 | crypto/modes/asm/ghash-x86.S \ |
| 624 | crypto/sha/asm/sha1-586.S \ |
| 625 | crypto/sha/asm/sha256-586.S \ |
| 626 | crypto/sha/asm/sha512-586.S \ |
| 627 | crypto/x86cpuid.S \ |
| 628 | |
| 629 | x86_exclude_files := \ |
| 630 | crypto/aes/aes_cbc.c \ |
| 631 | crypto/aes/aes_core.c \ |
| 632 | crypto/bf/bf_enc.c \ |
| 633 | crypto/bn/bn_asm.c \ |
| 634 | crypto/des/des_enc.c \ |
| 635 | crypto/des/fcrypt_b.c \ |
| 636 | crypto/mem_clr.c \ |
| 637 | |
Colin Cross | b95c4f9 | 2014-01-29 23:14:38 -0800 | [diff] [blame] | 638 | x86_64_cflags := \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 639 | -DAES_ASM \ |
Kenny Root | c34190e | 2014-05-28 11:04:19 -0700 | [diff] [blame] | 640 | -DBSAES_ASM \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 641 | -DDES_UNROLL \ |
| 642 | -DGHASH_ASM \ |
| 643 | -DMD5_ASM \ |
| 644 | -DOPENSSL_BN_ASM_GF2m \ |
| 645 | -DOPENSSL_BN_ASM_MONT \ |
Kenny Root | c34190e | 2014-05-28 11:04:19 -0700 | [diff] [blame] | 646 | -DOPENSSL_BN_ASM_MONT5 \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 647 | -DOPENSSL_CPUID_OBJ \ |
Kenny Root | 2e15b90 | 2014-06-19 19:25:27 -0700 | [diff] [blame] | 648 | -DOPENSSL_IA32_SSE2 \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 649 | -DSHA1_ASM \ |
| 650 | -DSHA256_ASM \ |
| 651 | -DSHA512_ASM \ |
Kenny Root | c34190e | 2014-05-28 11:04:19 -0700 | [diff] [blame] | 652 | -DVPAES_ASM \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 653 | |
| 654 | x86_64_src_files := \ |
| 655 | crypto/aes/asm/aes-x86_64.S \ |
| 656 | crypto/aes/asm/aesni-sha1-x86_64.S \ |
| 657 | crypto/aes/asm/aesni-x86_64.S \ |
| 658 | crypto/aes/asm/bsaes-x86_64.S \ |
| 659 | crypto/aes/asm/vpaes-x86_64.S \ |
| 660 | crypto/bn/asm/modexp512-x86_64.S \ |
| 661 | crypto/bn/asm/x86_64-gcc.c \ |
| 662 | crypto/bn/asm/x86_64-gf2m.S \ |
| 663 | crypto/bn/asm/x86_64-mont.S \ |
| 664 | crypto/bn/asm/x86_64-mont5.S \ |
| 665 | crypto/md5/asm/md5-x86_64.S \ |
| 666 | crypto/modes/asm/ghash-x86_64.S \ |
| 667 | crypto/rc4/asm/rc4-md5-x86_64.S \ |
| 668 | crypto/rc4/asm/rc4-x86_64.S \ |
| 669 | crypto/sha/asm/sha1-x86_64.S \ |
| 670 | crypto/sha/asm/sha256-x86_64.S \ |
| 671 | crypto/sha/asm/sha512-x86_64.S \ |
| 672 | crypto/x86_64cpuid.S \ |
| 673 | |
| 674 | x86_64_exclude_files := \ |
| 675 | crypto/aes/aes_cbc.c \ |
| 676 | crypto/aes/aes_core.c \ |
Alexey Volkov | 400df0a | 2013-12-06 18:49:09 +0400 | [diff] [blame] | 677 | crypto/bn/bn_asm.c \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 678 | crypto/mem_clr.c \ |
| 679 | crypto/rc4/rc4_enc.c \ |
Alexey Volkov | 400df0a | 2013-12-06 18:49:09 +0400 | [diff] [blame] | 680 | crypto/rc4/rc4_skey.c \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 681 | |
Colin Cross | b95c4f9 | 2014-01-29 23:14:38 -0800 | [diff] [blame] | 682 | mips_cflags := \ |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 683 | -DAES_ASM \ |
| 684 | -DOPENSSL_BN_ASM_MONT \ |
| 685 | -DSHA1_ASM \ |
| 686 | -DSHA256_ASM \ |
| 687 | |
| 688 | mips_src_files := \ |
| 689 | crypto/aes/asm/aes-mips.S \ |
| 690 | crypto/bn/asm/bn-mips.S \ |
| 691 | crypto/bn/asm/mips-mont.S \ |
| 692 | crypto/sha/asm/sha1-mips.S \ |
| 693 | crypto/sha/asm/sha256-mips.S \ |
| 694 | |
| 695 | mips_exclude_files := \ |
| 696 | crypto/aes/aes_core.c \ |
| 697 | crypto/bn/bn_asm.c \ |
| 698 | |
David 'Digit' Turner | 063cfe1 | 2013-02-19 17:08:14 +0100 | [diff] [blame] | 699 | |
Kenny Root | 8795587 | 2014-11-19 11:04:10 -0800 | [diff] [blame] | 700 | # "Temporary" hack until this can be fixed in openssl.config |
| 701 | x86_64_cflags += -DRC4_INT="unsigned int" |
| 702 | |
Ying Wang | 90c3d84 | 2014-05-20 18:04:42 -0700 | [diff] [blame] | 703 | LOCAL_CFLAGS += $(common_cflags) |
| 704 | LOCAL_C_INCLUDES += $(common_c_includes) $(local_c_includes) |
| 705 | |
Ying Wang | 4dad30b | 2014-05-15 20:34:57 -0700 | [diff] [blame] | 706 | ifeq ($(HOST_OS),linux) |
Ying Wang | 90c3d84 | 2014-05-20 18:04:42 -0700 | [diff] [blame] | 707 | LOCAL_CFLAGS_x86 += $(x86_cflags) |
| 708 | LOCAL_SRC_FILES_x86 += $(filter-out $(x86_exclude_files), $(common_src_files) $(x86_src_files)) |
| 709 | LOCAL_CFLAGS_x86_64 += $(x86_64_cflags) |
| 710 | LOCAL_SRC_FILES_x86_64 += $(filter-out $(x86_64_exclude_files), $(common_src_files) $(x86_64_src_files)) |
Ian Rogers | 6d72e0d | 2014-01-29 11:34:21 -0800 | [diff] [blame] | 711 | else |
Ying Wang | 4dad30b | 2014-05-15 20:34:57 -0700 | [diff] [blame] | 712 | $(warning Unknown host OS $(HOST_OS)) |
Ying Wang | 90c3d84 | 2014-05-20 18:04:42 -0700 | [diff] [blame] | 713 | LOCAL_SRC_FILES += $(common_src_files) |
Ian Rogers | f546368 | 2014-02-21 16:05:07 -0800 | [diff] [blame] | 714 | endif |