CryptoPkg/TlsLib: rewrite TlsSetCipherList()
[mirror_edk2.git] / CryptoPkg / Library / OpensslLib / OpensslLibCrypto.inf
CommitLineData
82300562 1## @file\r
2c867744 2# This module provides OpenSSL Library implementation.\r
82300562 3#\r
14e3b949 4# Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>\r
82300562
LE
5# This program and the accompanying materials\r
6# are licensed and made available under the terms and conditions of the BSD License\r
7# which accompanies this distribution. The full text of the license may be found at\r
8# http://opensource.org/licenses/bsd-license.php\r
9#\r
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12#\r
13##\r
14\r
15[Defines]\r
16 INF_VERSION = 0x00010005\r
17 BASE_NAME = OpensslLibCrypto\r
18 MODULE_UNI_FILE = OpensslLibCrypto.uni\r
19 FILE_GUID = E29FC209-8B64-4500-BD20-AF4EAE47EA0E\r
20 MODULE_TYPE = BASE\r
21 VERSION_STRING = 1.0\r
22 LIBRARY_CLASS = OpensslLib\r
2c867744
QL
23 DEFINE OPENSSL_PATH = openssl\r
24 DEFINE OPENSSL_FLAGS = -DL_ENDIAN -DOPENSSL_SMALL_FOOTPRINT -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DNO_SYSLOG\r
82300562
LE
25\r
26#\r
27# VALID_ARCHITECTURES = IA32 X64 IPF ARM AARCH64\r
28#\r
29\r
30[Sources]\r
31 $(OPENSSL_PATH)/e_os.h\r
32# Autogenerated files list starts here\r
2c867744
QL
33 $(OPENSSL_PATH)/crypto/aes/aes_cbc.c\r
34 $(OPENSSL_PATH)/crypto/aes/aes_cfb.c\r
35 $(OPENSSL_PATH)/crypto/aes/aes_core.c\r
36 $(OPENSSL_PATH)/crypto/aes/aes_ecb.c\r
37 $(OPENSSL_PATH)/crypto/aes/aes_ige.c\r
38 $(OPENSSL_PATH)/crypto/aes/aes_misc.c\r
39 $(OPENSSL_PATH)/crypto/aes/aes_ofb.c\r
40 $(OPENSSL_PATH)/crypto/aes/aes_wrap.c\r
41 $(OPENSSL_PATH)/crypto/asn1/a_bitstr.c\r
42 $(OPENSSL_PATH)/crypto/asn1/a_d2i_fp.c\r
43 $(OPENSSL_PATH)/crypto/asn1/a_digest.c\r
44 $(OPENSSL_PATH)/crypto/asn1/a_dup.c\r
45 $(OPENSSL_PATH)/crypto/asn1/a_gentm.c\r
46 $(OPENSSL_PATH)/crypto/asn1/a_i2d_fp.c\r
47 $(OPENSSL_PATH)/crypto/asn1/a_int.c\r
48 $(OPENSSL_PATH)/crypto/asn1/a_mbstr.c\r
49 $(OPENSSL_PATH)/crypto/asn1/a_object.c\r
50 $(OPENSSL_PATH)/crypto/asn1/a_octet.c\r
51 $(OPENSSL_PATH)/crypto/asn1/a_print.c\r
52 $(OPENSSL_PATH)/crypto/asn1/a_sign.c\r
53 $(OPENSSL_PATH)/crypto/asn1/a_strex.c\r
54 $(OPENSSL_PATH)/crypto/asn1/a_strnid.c\r
55 $(OPENSSL_PATH)/crypto/asn1/a_time.c\r
56 $(OPENSSL_PATH)/crypto/asn1/a_type.c\r
57 $(OPENSSL_PATH)/crypto/asn1/a_utctm.c\r
58 $(OPENSSL_PATH)/crypto/asn1/a_utf8.c\r
59 $(OPENSSL_PATH)/crypto/asn1/a_verify.c\r
60 $(OPENSSL_PATH)/crypto/asn1/ameth_lib.c\r
61 $(OPENSSL_PATH)/crypto/asn1/asn1_err.c\r
62 $(OPENSSL_PATH)/crypto/asn1/asn1_gen.c\r
63 $(OPENSSL_PATH)/crypto/asn1/asn1_lib.c\r
64 $(OPENSSL_PATH)/crypto/asn1/asn1_par.c\r
65 $(OPENSSL_PATH)/crypto/asn1/asn_mime.c\r
66 $(OPENSSL_PATH)/crypto/asn1/asn_moid.c\r
67 $(OPENSSL_PATH)/crypto/asn1/asn_mstbl.c\r
68 $(OPENSSL_PATH)/crypto/asn1/asn_pack.c\r
69 $(OPENSSL_PATH)/crypto/asn1/bio_asn1.c\r
70 $(OPENSSL_PATH)/crypto/asn1/bio_ndef.c\r
71 $(OPENSSL_PATH)/crypto/asn1/d2i_pr.c\r
72 $(OPENSSL_PATH)/crypto/asn1/d2i_pu.c\r
73 $(OPENSSL_PATH)/crypto/asn1/evp_asn1.c\r
74 $(OPENSSL_PATH)/crypto/asn1/f_int.c\r
75 $(OPENSSL_PATH)/crypto/asn1/f_string.c\r
76 $(OPENSSL_PATH)/crypto/asn1/i2d_pr.c\r
77 $(OPENSSL_PATH)/crypto/asn1/i2d_pu.c\r
78 $(OPENSSL_PATH)/crypto/asn1/n_pkey.c\r
79 $(OPENSSL_PATH)/crypto/asn1/nsseq.c\r
80 $(OPENSSL_PATH)/crypto/asn1/p5_pbe.c\r
81 $(OPENSSL_PATH)/crypto/asn1/p5_pbev2.c\r
82 $(OPENSSL_PATH)/crypto/asn1/p5_scrypt.c\r
83 $(OPENSSL_PATH)/crypto/asn1/p8_pkey.c\r
84 $(OPENSSL_PATH)/crypto/asn1/t_bitst.c\r
85 $(OPENSSL_PATH)/crypto/asn1/t_pkey.c\r
86 $(OPENSSL_PATH)/crypto/asn1/t_spki.c\r
87 $(OPENSSL_PATH)/crypto/asn1/tasn_dec.c\r
88 $(OPENSSL_PATH)/crypto/asn1/tasn_enc.c\r
89 $(OPENSSL_PATH)/crypto/asn1/tasn_fre.c\r
90 $(OPENSSL_PATH)/crypto/asn1/tasn_new.c\r
91 $(OPENSSL_PATH)/crypto/asn1/tasn_prn.c\r
92 $(OPENSSL_PATH)/crypto/asn1/tasn_scn.c\r
93 $(OPENSSL_PATH)/crypto/asn1/tasn_typ.c\r
94 $(OPENSSL_PATH)/crypto/asn1/tasn_utl.c\r
95 $(OPENSSL_PATH)/crypto/asn1/x_algor.c\r
96 $(OPENSSL_PATH)/crypto/asn1/x_bignum.c\r
97 $(OPENSSL_PATH)/crypto/asn1/x_info.c\r
dce03c46 98 $(OPENSSL_PATH)/crypto/asn1/x_int64.c\r
2c867744
QL
99 $(OPENSSL_PATH)/crypto/asn1/x_long.c\r
100 $(OPENSSL_PATH)/crypto/asn1/x_pkey.c\r
101 $(OPENSSL_PATH)/crypto/asn1/x_sig.c\r
102 $(OPENSSL_PATH)/crypto/asn1/x_spki.c\r
103 $(OPENSSL_PATH)/crypto/asn1/x_val.c\r
104 $(OPENSSL_PATH)/crypto/async/arch/async_null.c\r
105 $(OPENSSL_PATH)/crypto/async/arch/async_posix.c\r
106 $(OPENSSL_PATH)/crypto/async/arch/async_win.c\r
107 $(OPENSSL_PATH)/crypto/async/async.c\r
108 $(OPENSSL_PATH)/crypto/async/async_err.c\r
109 $(OPENSSL_PATH)/crypto/async/async_wait.c\r
110 $(OPENSSL_PATH)/crypto/bio/b_addr.c\r
111 $(OPENSSL_PATH)/crypto/bio/b_dump.c\r
112 $(OPENSSL_PATH)/crypto/bio/b_sock.c\r
113 $(OPENSSL_PATH)/crypto/bio/b_sock2.c\r
114 $(OPENSSL_PATH)/crypto/bio/bf_buff.c\r
115 $(OPENSSL_PATH)/crypto/bio/bf_lbuf.c\r
116 $(OPENSSL_PATH)/crypto/bio/bf_nbio.c\r
117 $(OPENSSL_PATH)/crypto/bio/bf_null.c\r
118 $(OPENSSL_PATH)/crypto/bio/bio_cb.c\r
119 $(OPENSSL_PATH)/crypto/bio/bio_err.c\r
120 $(OPENSSL_PATH)/crypto/bio/bio_lib.c\r
121 $(OPENSSL_PATH)/crypto/bio/bio_meth.c\r
122 $(OPENSSL_PATH)/crypto/bio/bss_acpt.c\r
123 $(OPENSSL_PATH)/crypto/bio/bss_bio.c\r
124 $(OPENSSL_PATH)/crypto/bio/bss_conn.c\r
125 $(OPENSSL_PATH)/crypto/bio/bss_dgram.c\r
126 $(OPENSSL_PATH)/crypto/bio/bss_fd.c\r
127 $(OPENSSL_PATH)/crypto/bio/bss_file.c\r
128 $(OPENSSL_PATH)/crypto/bio/bss_log.c\r
129 $(OPENSSL_PATH)/crypto/bio/bss_mem.c\r
130 $(OPENSSL_PATH)/crypto/bio/bss_null.c\r
131 $(OPENSSL_PATH)/crypto/bio/bss_sock.c\r
132 $(OPENSSL_PATH)/crypto/bn/bn_add.c\r
133 $(OPENSSL_PATH)/crypto/bn/bn_asm.c\r
134 $(OPENSSL_PATH)/crypto/bn/bn_blind.c\r
135 $(OPENSSL_PATH)/crypto/bn/bn_const.c\r
136 $(OPENSSL_PATH)/crypto/bn/bn_ctx.c\r
137 $(OPENSSL_PATH)/crypto/bn/bn_depr.c\r
138 $(OPENSSL_PATH)/crypto/bn/bn_dh.c\r
139 $(OPENSSL_PATH)/crypto/bn/bn_div.c\r
140 $(OPENSSL_PATH)/crypto/bn/bn_err.c\r
141 $(OPENSSL_PATH)/crypto/bn/bn_exp.c\r
142 $(OPENSSL_PATH)/crypto/bn/bn_exp2.c\r
143 $(OPENSSL_PATH)/crypto/bn/bn_gcd.c\r
144 $(OPENSSL_PATH)/crypto/bn/bn_gf2m.c\r
145 $(OPENSSL_PATH)/crypto/bn/bn_intern.c\r
146 $(OPENSSL_PATH)/crypto/bn/bn_kron.c\r
147 $(OPENSSL_PATH)/crypto/bn/bn_lib.c\r
148 $(OPENSSL_PATH)/crypto/bn/bn_mod.c\r
149 $(OPENSSL_PATH)/crypto/bn/bn_mont.c\r
150 $(OPENSSL_PATH)/crypto/bn/bn_mpi.c\r
151 $(OPENSSL_PATH)/crypto/bn/bn_mul.c\r
152 $(OPENSSL_PATH)/crypto/bn/bn_nist.c\r
153 $(OPENSSL_PATH)/crypto/bn/bn_prime.c\r
154 $(OPENSSL_PATH)/crypto/bn/bn_print.c\r
155 $(OPENSSL_PATH)/crypto/bn/bn_rand.c\r
156 $(OPENSSL_PATH)/crypto/bn/bn_recp.c\r
157 $(OPENSSL_PATH)/crypto/bn/bn_shift.c\r
158 $(OPENSSL_PATH)/crypto/bn/bn_sqr.c\r
159 $(OPENSSL_PATH)/crypto/bn/bn_sqrt.c\r
160 $(OPENSSL_PATH)/crypto/bn/bn_srp.c\r
161 $(OPENSSL_PATH)/crypto/bn/bn_word.c\r
162 $(OPENSSL_PATH)/crypto/bn/bn_x931p.c\r
163 $(OPENSSL_PATH)/crypto/buffer/buf_err.c\r
164 $(OPENSSL_PATH)/crypto/buffer/buffer.c\r
165 $(OPENSSL_PATH)/crypto/cmac/cm_ameth.c\r
166 $(OPENSSL_PATH)/crypto/cmac/cm_pmeth.c\r
167 $(OPENSSL_PATH)/crypto/cmac/cmac.c\r
168 $(OPENSSL_PATH)/crypto/comp/c_zlib.c\r
169 $(OPENSSL_PATH)/crypto/comp/comp_err.c\r
170 $(OPENSSL_PATH)/crypto/comp/comp_lib.c\r
171 $(OPENSSL_PATH)/crypto/conf/conf_api.c\r
172 $(OPENSSL_PATH)/crypto/conf/conf_def.c\r
173 $(OPENSSL_PATH)/crypto/conf/conf_err.c\r
174 $(OPENSSL_PATH)/crypto/conf/conf_lib.c\r
175 $(OPENSSL_PATH)/crypto/conf/conf_mall.c\r
176 $(OPENSSL_PATH)/crypto/conf/conf_mod.c\r
177 $(OPENSSL_PATH)/crypto/conf/conf_sap.c\r
178 $(OPENSSL_PATH)/crypto/cpt_err.c\r
82300562 179 $(OPENSSL_PATH)/crypto/cryptlib.c\r
82300562 180 $(OPENSSL_PATH)/crypto/cversion.c\r
82300562
LE
181 $(OPENSSL_PATH)/crypto/des/cbc_cksm.c\r
182 $(OPENSSL_PATH)/crypto/des/cbc_enc.c\r
2c867744 183 $(OPENSSL_PATH)/crypto/des/cfb64ede.c\r
82300562
LE
184 $(OPENSSL_PATH)/crypto/des/cfb64enc.c\r
185 $(OPENSSL_PATH)/crypto/des/cfb_enc.c\r
2c867744 186 $(OPENSSL_PATH)/crypto/des/des_enc.c\r
82300562
LE
187 $(OPENSSL_PATH)/crypto/des/ecb3_enc.c\r
188 $(OPENSSL_PATH)/crypto/des/ecb_enc.c\r
82300562 189 $(OPENSSL_PATH)/crypto/des/fcrypt.c\r
2c867744
QL
190 $(OPENSSL_PATH)/crypto/des/fcrypt_b.c\r
191 $(OPENSSL_PATH)/crypto/des/ofb64ede.c\r
82300562
LE
192 $(OPENSSL_PATH)/crypto/des/ofb64enc.c\r
193 $(OPENSSL_PATH)/crypto/des/ofb_enc.c\r
194 $(OPENSSL_PATH)/crypto/des/pcbc_enc.c\r
195 $(OPENSSL_PATH)/crypto/des/qud_cksm.c\r
196 $(OPENSSL_PATH)/crypto/des/rand_key.c\r
197 $(OPENSSL_PATH)/crypto/des/rpc_enc.c\r
198 $(OPENSSL_PATH)/crypto/des/set_key.c\r
82300562 199 $(OPENSSL_PATH)/crypto/des/str2key.c\r
2c867744
QL
200 $(OPENSSL_PATH)/crypto/des/xcbc_enc.c\r
201 $(OPENSSL_PATH)/crypto/dh/dh_ameth.c\r
82300562 202 $(OPENSSL_PATH)/crypto/dh/dh_asn1.c\r
2c867744
QL
203 $(OPENSSL_PATH)/crypto/dh/dh_check.c\r
204 $(OPENSSL_PATH)/crypto/dh/dh_depr.c\r
205 $(OPENSSL_PATH)/crypto/dh/dh_err.c\r
82300562 206 $(OPENSSL_PATH)/crypto/dh/dh_gen.c\r
2c867744 207 $(OPENSSL_PATH)/crypto/dh/dh_kdf.c\r
82300562
LE
208 $(OPENSSL_PATH)/crypto/dh/dh_key.c\r
209 $(OPENSSL_PATH)/crypto/dh/dh_lib.c\r
2c867744 210 $(OPENSSL_PATH)/crypto/dh/dh_meth.c\r
82300562
LE
211 $(OPENSSL_PATH)/crypto/dh/dh_pmeth.c\r
212 $(OPENSSL_PATH)/crypto/dh/dh_prn.c\r
213 $(OPENSSL_PATH)/crypto/dh/dh_rfc5114.c\r
82300562
LE
214 $(OPENSSL_PATH)/crypto/dso/dso_dl.c\r
215 $(OPENSSL_PATH)/crypto/dso/dso_dlfcn.c\r
216 $(OPENSSL_PATH)/crypto/dso/dso_err.c\r
217 $(OPENSSL_PATH)/crypto/dso/dso_lib.c\r
82300562 218 $(OPENSSL_PATH)/crypto/dso/dso_openssl.c\r
82300562 219 $(OPENSSL_PATH)/crypto/dso/dso_vms.c\r
2c867744
QL
220 $(OPENSSL_PATH)/crypto/dso/dso_win32.c\r
221 $(OPENSSL_PATH)/crypto/ebcdic.c\r
82300562
LE
222 $(OPENSSL_PATH)/crypto/err/err.c\r
223 $(OPENSSL_PATH)/crypto/err/err_all.c\r
224 $(OPENSSL_PATH)/crypto/err/err_prn.c\r
2c867744
QL
225 $(OPENSSL_PATH)/crypto/evp/bio_b64.c\r
226 $(OPENSSL_PATH)/crypto/evp/bio_enc.c\r
227 $(OPENSSL_PATH)/crypto/evp/bio_md.c\r
228 $(OPENSSL_PATH)/crypto/evp/bio_ok.c\r
229 $(OPENSSL_PATH)/crypto/evp/c_allc.c\r
230 $(OPENSSL_PATH)/crypto/evp/c_alld.c\r
231 $(OPENSSL_PATH)/crypto/evp/cmeth_lib.c\r
82300562 232 $(OPENSSL_PATH)/crypto/evp/digest.c\r
2c867744
QL
233 $(OPENSSL_PATH)/crypto/evp/e_aes.c\r
234 $(OPENSSL_PATH)/crypto/evp/e_aes_cbc_hmac_sha1.c\r
235 $(OPENSSL_PATH)/crypto/evp/e_aes_cbc_hmac_sha256.c\r
82300562 236 $(OPENSSL_PATH)/crypto/evp/e_bf.c\r
82300562 237 $(OPENSSL_PATH)/crypto/evp/e_camellia.c\r
2c867744
QL
238 $(OPENSSL_PATH)/crypto/evp/e_cast.c\r
239 $(OPENSSL_PATH)/crypto/evp/e_chacha20_poly1305.c\r
240 $(OPENSSL_PATH)/crypto/evp/e_des.c\r
241 $(OPENSSL_PATH)/crypto/evp/e_des3.c\r
242 $(OPENSSL_PATH)/crypto/evp/e_idea.c\r
243 $(OPENSSL_PATH)/crypto/evp/e_null.c\r
244 $(OPENSSL_PATH)/crypto/evp/e_old.c\r
245 $(OPENSSL_PATH)/crypto/evp/e_rc2.c\r
82300562 246 $(OPENSSL_PATH)/crypto/evp/e_rc4.c\r
2c867744
QL
247 $(OPENSSL_PATH)/crypto/evp/e_rc4_hmac_md5.c\r
248 $(OPENSSL_PATH)/crypto/evp/e_rc5.c\r
82300562
LE
249 $(OPENSSL_PATH)/crypto/evp/e_seed.c\r
250 $(OPENSSL_PATH)/crypto/evp/e_xcbc_d.c\r
2c867744
QL
251 $(OPENSSL_PATH)/crypto/evp/encode.c\r
252 $(OPENSSL_PATH)/crypto/evp/evp_cnf.c\r
253 $(OPENSSL_PATH)/crypto/evp/evp_enc.c\r
254 $(OPENSSL_PATH)/crypto/evp/evp_err.c\r
255 $(OPENSSL_PATH)/crypto/evp/evp_key.c\r
256 $(OPENSSL_PATH)/crypto/evp/evp_lib.c\r
257 $(OPENSSL_PATH)/crypto/evp/evp_pbe.c\r
258 $(OPENSSL_PATH)/crypto/evp/evp_pkey.c\r
82300562
LE
259 $(OPENSSL_PATH)/crypto/evp/m_md2.c\r
260 $(OPENSSL_PATH)/crypto/evp/m_md4.c\r
261 $(OPENSSL_PATH)/crypto/evp/m_md5.c\r
2c867744 262 $(OPENSSL_PATH)/crypto/evp/m_md5_sha1.c\r
82300562 263 $(OPENSSL_PATH)/crypto/evp/m_mdc2.c\r
2c867744 264 $(OPENSSL_PATH)/crypto/evp/m_null.c\r
82300562 265 $(OPENSSL_PATH)/crypto/evp/m_ripemd.c\r
2c867744
QL
266 $(OPENSSL_PATH)/crypto/evp/m_sha1.c\r
267 $(OPENSSL_PATH)/crypto/evp/m_sigver.c\r
268 $(OPENSSL_PATH)/crypto/evp/m_wp.c\r
269 $(OPENSSL_PATH)/crypto/evp/names.c\r
270 $(OPENSSL_PATH)/crypto/evp/p5_crpt.c\r
271 $(OPENSSL_PATH)/crypto/evp/p5_crpt2.c\r
272 $(OPENSSL_PATH)/crypto/evp/p_dec.c\r
273 $(OPENSSL_PATH)/crypto/evp/p_enc.c\r
274 $(OPENSSL_PATH)/crypto/evp/p_lib.c\r
82300562
LE
275 $(OPENSSL_PATH)/crypto/evp/p_open.c\r
276 $(OPENSSL_PATH)/crypto/evp/p_seal.c\r
277 $(OPENSSL_PATH)/crypto/evp/p_sign.c\r
278 $(OPENSSL_PATH)/crypto/evp/p_verify.c\r
82300562
LE
279 $(OPENSSL_PATH)/crypto/evp/pmeth_fn.c\r
280 $(OPENSSL_PATH)/crypto/evp/pmeth_gn.c\r
2c867744
QL
281 $(OPENSSL_PATH)/crypto/evp/pmeth_lib.c\r
282 $(OPENSSL_PATH)/crypto/evp/scrypt.c\r
283 $(OPENSSL_PATH)/crypto/ex_data.c\r
284 $(OPENSSL_PATH)/crypto/hmac/hm_ameth.c\r
285 $(OPENSSL_PATH)/crypto/hmac/hm_pmeth.c\r
286 $(OPENSSL_PATH)/crypto/hmac/hmac.c\r
287 $(OPENSSL_PATH)/crypto/init.c\r
288 $(OPENSSL_PATH)/crypto/kdf/hkdf.c\r
289 $(OPENSSL_PATH)/crypto/kdf/kdf_err.c\r
290 $(OPENSSL_PATH)/crypto/kdf/tls1_prf.c\r
291 $(OPENSSL_PATH)/crypto/lhash/lh_stats.c\r
292 $(OPENSSL_PATH)/crypto/lhash/lhash.c\r
293 $(OPENSSL_PATH)/crypto/md4/md4_dgst.c\r
294 $(OPENSSL_PATH)/crypto/md4/md4_one.c\r
295 $(OPENSSL_PATH)/crypto/md5/md5_dgst.c\r
296 $(OPENSSL_PATH)/crypto/md5/md5_one.c\r
297 $(OPENSSL_PATH)/crypto/mem.c\r
298 $(OPENSSL_PATH)/crypto/mem_clr.c\r
299 $(OPENSSL_PATH)/crypto/mem_dbg.c\r
300 $(OPENSSL_PATH)/crypto/mem_sec.c\r
301 $(OPENSSL_PATH)/crypto/modes/cbc128.c\r
302 $(OPENSSL_PATH)/crypto/modes/ccm128.c\r
303 $(OPENSSL_PATH)/crypto/modes/cfb128.c\r
304 $(OPENSSL_PATH)/crypto/modes/ctr128.c\r
305 $(OPENSSL_PATH)/crypto/modes/cts128.c\r
306 $(OPENSSL_PATH)/crypto/modes/gcm128.c\r
307 $(OPENSSL_PATH)/crypto/modes/ocb128.c\r
308 $(OPENSSL_PATH)/crypto/modes/ofb128.c\r
309 $(OPENSSL_PATH)/crypto/modes/wrap128.c\r
310 $(OPENSSL_PATH)/crypto/modes/xts128.c\r
311 $(OPENSSL_PATH)/crypto/o_dir.c\r
312 $(OPENSSL_PATH)/crypto/o_fips.c\r
313 $(OPENSSL_PATH)/crypto/o_fopen.c\r
314 $(OPENSSL_PATH)/crypto/o_init.c\r
315 $(OPENSSL_PATH)/crypto/o_str.c\r
316 $(OPENSSL_PATH)/crypto/o_time.c\r
317 $(OPENSSL_PATH)/crypto/objects/o_names.c\r
318 $(OPENSSL_PATH)/crypto/objects/obj_dat.c\r
319 $(OPENSSL_PATH)/crypto/objects/obj_err.c\r
320 $(OPENSSL_PATH)/crypto/objects/obj_lib.c\r
321 $(OPENSSL_PATH)/crypto/objects/obj_xref.c\r
322 $(OPENSSL_PATH)/crypto/ocsp/ocsp_asn.c\r
323 $(OPENSSL_PATH)/crypto/ocsp/ocsp_cl.c\r
324 $(OPENSSL_PATH)/crypto/ocsp/ocsp_err.c\r
325 $(OPENSSL_PATH)/crypto/ocsp/ocsp_ext.c\r
326 $(OPENSSL_PATH)/crypto/ocsp/ocsp_ht.c\r
327 $(OPENSSL_PATH)/crypto/ocsp/ocsp_lib.c\r
328 $(OPENSSL_PATH)/crypto/ocsp/ocsp_prn.c\r
329 $(OPENSSL_PATH)/crypto/ocsp/ocsp_srv.c\r
330 $(OPENSSL_PATH)/crypto/ocsp/ocsp_vfy.c\r
331 $(OPENSSL_PATH)/crypto/ocsp/v3_ocsp.c\r
82300562
LE
332 $(OPENSSL_PATH)/crypto/pem/pem_all.c\r
333 $(OPENSSL_PATH)/crypto/pem/pem_err.c\r
2c867744
QL
334 $(OPENSSL_PATH)/crypto/pem/pem_info.c\r
335 $(OPENSSL_PATH)/crypto/pem/pem_lib.c\r
82300562
LE
336 $(OPENSSL_PATH)/crypto/pem/pem_oth.c\r
337 $(OPENSSL_PATH)/crypto/pem/pem_pk8.c\r
338 $(OPENSSL_PATH)/crypto/pem/pem_pkey.c\r
2c867744
QL
339 $(OPENSSL_PATH)/crypto/pem/pem_sign.c\r
340 $(OPENSSL_PATH)/crypto/pem/pem_x509.c\r
341 $(OPENSSL_PATH)/crypto/pem/pem_xaux.c\r
82300562 342 $(OPENSSL_PATH)/crypto/pem/pvkfmt.c\r
2c867744
QL
343 $(OPENSSL_PATH)/crypto/pkcs12/p12_add.c\r
344 $(OPENSSL_PATH)/crypto/pkcs12/p12_asn.c\r
345 $(OPENSSL_PATH)/crypto/pkcs12/p12_attr.c\r
346 $(OPENSSL_PATH)/crypto/pkcs12/p12_crpt.c\r
347 $(OPENSSL_PATH)/crypto/pkcs12/p12_crt.c\r
348 $(OPENSSL_PATH)/crypto/pkcs12/p12_decr.c\r
349 $(OPENSSL_PATH)/crypto/pkcs12/p12_init.c\r
350 $(OPENSSL_PATH)/crypto/pkcs12/p12_key.c\r
351 $(OPENSSL_PATH)/crypto/pkcs12/p12_kiss.c\r
352 $(OPENSSL_PATH)/crypto/pkcs12/p12_mutl.c\r
353 $(OPENSSL_PATH)/crypto/pkcs12/p12_npas.c\r
354 $(OPENSSL_PATH)/crypto/pkcs12/p12_p8d.c\r
355 $(OPENSSL_PATH)/crypto/pkcs12/p12_p8e.c\r
356 $(OPENSSL_PATH)/crypto/pkcs12/p12_sbag.c\r
357 $(OPENSSL_PATH)/crypto/pkcs12/p12_utl.c\r
358 $(OPENSSL_PATH)/crypto/pkcs12/pk12err.c\r
359 $(OPENSSL_PATH)/crypto/pkcs7/bio_pk7.c\r
360 $(OPENSSL_PATH)/crypto/pkcs7/pk7_asn1.c\r
361 $(OPENSSL_PATH)/crypto/pkcs7/pk7_attr.c\r
362 $(OPENSSL_PATH)/crypto/pkcs7/pk7_doit.c\r
363 $(OPENSSL_PATH)/crypto/pkcs7/pk7_lib.c\r
364 $(OPENSSL_PATH)/crypto/pkcs7/pk7_mime.c\r
365 $(OPENSSL_PATH)/crypto/pkcs7/pk7_smime.c\r
366 $(OPENSSL_PATH)/crypto/pkcs7/pkcs7err.c\r
367 $(OPENSSL_PATH)/crypto/rand/md_rand.c\r
368 $(OPENSSL_PATH)/crypto/rand/rand_egd.c\r
369 $(OPENSSL_PATH)/crypto/rand/rand_err.c\r
370 $(OPENSSL_PATH)/crypto/rand/rand_lib.c\r
371 $(OPENSSL_PATH)/crypto/rand/rand_unix.c\r
372 $(OPENSSL_PATH)/crypto/rand/rand_vms.c\r
373 $(OPENSSL_PATH)/crypto/rand/rand_win.c\r
374 $(OPENSSL_PATH)/crypto/rand/randfile.c\r
375 $(OPENSSL_PATH)/crypto/rc4/rc4_enc.c\r
376 $(OPENSSL_PATH)/crypto/rc4/rc4_skey.c\r
377 $(OPENSSL_PATH)/crypto/rsa/rsa_ameth.c\r
378 $(OPENSSL_PATH)/crypto/rsa/rsa_asn1.c\r
379 $(OPENSSL_PATH)/crypto/rsa/rsa_chk.c\r
380 $(OPENSSL_PATH)/crypto/rsa/rsa_crpt.c\r
381 $(OPENSSL_PATH)/crypto/rsa/rsa_depr.c\r
382 $(OPENSSL_PATH)/crypto/rsa/rsa_err.c\r
383 $(OPENSSL_PATH)/crypto/rsa/rsa_gen.c\r
384 $(OPENSSL_PATH)/crypto/rsa/rsa_lib.c\r
385 $(OPENSSL_PATH)/crypto/rsa/rsa_meth.c\r
386 $(OPENSSL_PATH)/crypto/rsa/rsa_none.c\r
387 $(OPENSSL_PATH)/crypto/rsa/rsa_null.c\r
388 $(OPENSSL_PATH)/crypto/rsa/rsa_oaep.c\r
389 $(OPENSSL_PATH)/crypto/rsa/rsa_ossl.c\r
390 $(OPENSSL_PATH)/crypto/rsa/rsa_pk1.c\r
391 $(OPENSSL_PATH)/crypto/rsa/rsa_pmeth.c\r
392 $(OPENSSL_PATH)/crypto/rsa/rsa_prn.c\r
393 $(OPENSSL_PATH)/crypto/rsa/rsa_pss.c\r
394 $(OPENSSL_PATH)/crypto/rsa/rsa_saos.c\r
395 $(OPENSSL_PATH)/crypto/rsa/rsa_sign.c\r
396 $(OPENSSL_PATH)/crypto/rsa/rsa_ssl.c\r
397 $(OPENSSL_PATH)/crypto/rsa/rsa_x931.c\r
398 $(OPENSSL_PATH)/crypto/rsa/rsa_x931g.c\r
399 $(OPENSSL_PATH)/crypto/sha/sha1_one.c\r
400 $(OPENSSL_PATH)/crypto/sha/sha1dgst.c\r
401 $(OPENSSL_PATH)/crypto/sha/sha256.c\r
402 $(OPENSSL_PATH)/crypto/sha/sha512.c\r
403 $(OPENSSL_PATH)/crypto/stack/stack.c\r
404 $(OPENSSL_PATH)/crypto/threads_none.c\r
405 $(OPENSSL_PATH)/crypto/threads_pthread.c\r
406 $(OPENSSL_PATH)/crypto/threads_win.c\r
407 $(OPENSSL_PATH)/crypto/txt_db/txt_db.c\r
408 $(OPENSSL_PATH)/crypto/uid.c\r
409 $(OPENSSL_PATH)/crypto/x509/by_dir.c\r
410 $(OPENSSL_PATH)/crypto/x509/by_file.c\r
411 $(OPENSSL_PATH)/crypto/x509/t_crl.c\r
412 $(OPENSSL_PATH)/crypto/x509/t_req.c\r
413 $(OPENSSL_PATH)/crypto/x509/t_x509.c\r
414 $(OPENSSL_PATH)/crypto/x509/x509_att.c\r
82300562 415 $(OPENSSL_PATH)/crypto/x509/x509_cmp.c\r
2c867744
QL
416 $(OPENSSL_PATH)/crypto/x509/x509_d2.c\r
417 $(OPENSSL_PATH)/crypto/x509/x509_def.c\r
418 $(OPENSSL_PATH)/crypto/x509/x509_err.c\r
419 $(OPENSSL_PATH)/crypto/x509/x509_ext.c\r
420 $(OPENSSL_PATH)/crypto/x509/x509_lu.c\r
82300562 421 $(OPENSSL_PATH)/crypto/x509/x509_obj.c\r
2c867744 422 $(OPENSSL_PATH)/crypto/x509/x509_r2x.c\r
82300562 423 $(OPENSSL_PATH)/crypto/x509/x509_req.c\r
82300562 424 $(OPENSSL_PATH)/crypto/x509/x509_set.c\r
2c867744
QL
425 $(OPENSSL_PATH)/crypto/x509/x509_trs.c\r
426 $(OPENSSL_PATH)/crypto/x509/x509_txt.c\r
427 $(OPENSSL_PATH)/crypto/x509/x509_v3.c\r
428 $(OPENSSL_PATH)/crypto/x509/x509_vfy.c\r
429 $(OPENSSL_PATH)/crypto/x509/x509_vpm.c\r
82300562 430 $(OPENSSL_PATH)/crypto/x509/x509cset.c\r
82300562 431 $(OPENSSL_PATH)/crypto/x509/x509name.c\r
2c867744
QL
432 $(OPENSSL_PATH)/crypto/x509/x509rset.c\r
433 $(OPENSSL_PATH)/crypto/x509/x509spki.c\r
82300562 434 $(OPENSSL_PATH)/crypto/x509/x509type.c\r
82300562 435 $(OPENSSL_PATH)/crypto/x509/x_all.c\r
2c867744
QL
436 $(OPENSSL_PATH)/crypto/x509/x_attrib.c\r
437 $(OPENSSL_PATH)/crypto/x509/x_crl.c\r
438 $(OPENSSL_PATH)/crypto/x509/x_exten.c\r
439 $(OPENSSL_PATH)/crypto/x509/x_name.c\r
440 $(OPENSSL_PATH)/crypto/x509/x_pubkey.c\r
441 $(OPENSSL_PATH)/crypto/x509/x_req.c\r
442 $(OPENSSL_PATH)/crypto/x509/x_x509.c\r
443 $(OPENSSL_PATH)/crypto/x509/x_x509a.c\r
444 $(OPENSSL_PATH)/crypto/x509v3/pcy_cache.c\r
445 $(OPENSSL_PATH)/crypto/x509v3/pcy_data.c\r
446 $(OPENSSL_PATH)/crypto/x509v3/pcy_lib.c\r
447 $(OPENSSL_PATH)/crypto/x509v3/pcy_map.c\r
448 $(OPENSSL_PATH)/crypto/x509v3/pcy_node.c\r
449 $(OPENSSL_PATH)/crypto/x509v3/pcy_tree.c\r
450 $(OPENSSL_PATH)/crypto/x509v3/v3_addr.c\r
451 $(OPENSSL_PATH)/crypto/x509v3/v3_akey.c\r
452 $(OPENSSL_PATH)/crypto/x509v3/v3_akeya.c\r
453 $(OPENSSL_PATH)/crypto/x509v3/v3_alt.c\r
454 $(OPENSSL_PATH)/crypto/x509v3/v3_asid.c\r
82300562
LE
455 $(OPENSSL_PATH)/crypto/x509v3/v3_bcons.c\r
456 $(OPENSSL_PATH)/crypto/x509v3/v3_bitst.c\r
457 $(OPENSSL_PATH)/crypto/x509v3/v3_conf.c\r
2c867744
QL
458 $(OPENSSL_PATH)/crypto/x509v3/v3_cpols.c\r
459 $(OPENSSL_PATH)/crypto/x509v3/v3_crld.c\r
460 $(OPENSSL_PATH)/crypto/x509v3/v3_enum.c\r
82300562 461 $(OPENSSL_PATH)/crypto/x509v3/v3_extku.c\r
2c867744 462 $(OPENSSL_PATH)/crypto/x509v3/v3_genn.c\r
82300562 463 $(OPENSSL_PATH)/crypto/x509v3/v3_ia5.c\r
2c867744
QL
464 $(OPENSSL_PATH)/crypto/x509v3/v3_info.c\r
465 $(OPENSSL_PATH)/crypto/x509v3/v3_int.c\r
82300562 466 $(OPENSSL_PATH)/crypto/x509v3/v3_lib.c\r
2c867744
QL
467 $(OPENSSL_PATH)/crypto/x509v3/v3_ncons.c\r
468 $(OPENSSL_PATH)/crypto/x509v3/v3_pci.c\r
469 $(OPENSSL_PATH)/crypto/x509v3/v3_pcia.c\r
470 $(OPENSSL_PATH)/crypto/x509v3/v3_pcons.c\r
471 $(OPENSSL_PATH)/crypto/x509v3/v3_pku.c\r
472 $(OPENSSL_PATH)/crypto/x509v3/v3_pmaps.c\r
82300562 473 $(OPENSSL_PATH)/crypto/x509v3/v3_prn.c\r
2c867744 474 $(OPENSSL_PATH)/crypto/x509v3/v3_purp.c\r
82300562 475 $(OPENSSL_PATH)/crypto/x509v3/v3_skey.c\r
82300562 476 $(OPENSSL_PATH)/crypto/x509v3/v3_sxnet.c\r
2c867744
QL
477 $(OPENSSL_PATH)/crypto/x509v3/v3_tlsf.c\r
478 $(OPENSSL_PATH)/crypto/x509v3/v3_utl.c\r
479 $(OPENSSL_PATH)/crypto/x509v3/v3err.c\r
82300562
LE
480# Autogenerated files list ends here\r
481\r
482[Packages]\r
483 MdePkg/MdePkg.dec\r
484 CryptoPkg/CryptoPkg.dec\r
485\r
486[LibraryClasses]\r
487 DebugLib\r
488\r
489[LibraryClasses.ARM]\r
490 ArmSoftFloatLib\r
491\r
492[BuildOptions]\r
493 #\r
2c867744
QL
494 # Disables the following Visual Studio compiler warnings brought by openssl source,\r
495 # so we do not break the build with /WX option:\r
496 # C4090: 'function' : different 'const' qualifiers\r
497 # C4244: conversion from type1 to type2, possible loss of data\r
498 # C4245: conversion from type1 to type2, signed/unsigned mismatch\r
499 # C4267: conversion from size_t to type, possible loss of data\r
81bec7aa 500 # C4306: 'identifier' : conversion from 'type1' to 'type2' of greater size\r
2c867744
QL
501 # C4389: 'operator' : signed/unsigned mismatch (xxxx)\r
502 # C4702: unreachable code\r
503 # C4706: assignment within conditional expression\r
dce03c46 504 # C4819: The file contains a character that cannot be represented in the current code page\r
82300562 505 #\r
dce03c46
LQ
506 MSFT:*_*_IA32_CC_FLAGS = -U_WIN32 -U_WIN64 -U_MSC_VER $(OPENSSL_FLAGS) /wd4090 /wd4244 /wd4245 /wd4267 /wd4389 /wd4702 /wd4706 /wd4819\r
507 MSFT:*_*_X64_CC_FLAGS = -U_WIN32 -U_WIN64 -U_MSC_VER $(OPENSSL_FLAGS) /wd4090 /wd4244 /wd4245 /wd4267 /wd4306 /wd4389 /wd4702 /wd4706 /wd4819\r
508 MSFT:*_*_IPF_CC_FLAGS = -U_WIN32 -U_WIN64 -U_MSC_VER $(OPENSSL_FLAGS) /wd4090 /wd4244 /wd4245 /wd4267 /wd4306 /wd4389 /wd4702 /wd4706 /wd4819\r
82300562 509\r
2c867744
QL
510 INTEL:*_*_IA32_CC_FLAGS = -U_WIN32 -U_WIN64 -U_MSC_VER -U__ICC $(OPENSSL_FLAGS) /w\r
511 INTEL:*_*_X64_CC_FLAGS = -U_WIN32 -U_WIN64 -U_MSC_VER -U__ICC $(OPENSSL_FLAGS) /w\r
512 INTEL:*_*_IPF_CC_FLAGS = -U_WIN32 -U_WIN64 -U_MSC_VER -U__ICC $(OPENSSL_FLAGS) /w\r
82300562 513\r
81bec7aa
QL
514 #\r
515 # Suppress the following build warnings in openssl so we don't break the build with -Werror\r
516 # -Werror=maybe-uninitialized: there exist some other paths for which the variable is not initialized.\r
dce03c46
LQ
517 # -Werror=format: Check calls to printf and scanf, etc., to make sure that the arguments supplied have\r
518 # types appropriate to the format string specified.\r
81bec7aa
QL
519 #\r
520 GCC:*_*_IA32_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized\r
228e4f47 521 GCC:*_*_X64_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-error=format -Wno-format -DNO_MSABI_VA_FUNCS\r
c24d664d 522 GCC:*_*_IPF_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-format\r
1dbd423f
HG
523 GCC:*_*_ARM_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized\r
524 GCC:*_*_AARCH64_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe-uninitialized -Wno-format\r
82300562
LE
525\r
526 # suppress the following warnings in openssl so we don't break the build with warnings-as-errors:\r
527 # 1295: Deprecated declaration <entity> - give arg types\r
528 # 550: <entity> was set but never used\r
529 # 1293: assignment in condition\r
530 # 111: statement is unreachable (invariably "break;" after "return X;" in case statement)\r
531 # 68: integer conversion resulted in a change of sign ("if (Status == -1)")\r
532 # 177: <entity> was declared but never referenced\r
533 # 223: function <entity> declared implicitly\r
534 # 144: a value of type <type> cannot be used to initialize an entity of type <type>\r
535 # 513: a value of type <type> cannot be assigned to an entity of type <type>\r
536 # 188: enumerated type mixed with another type (i.e. passing an integer as an enum without a cast)\r
537 # 1296: Extended constant initialiser used\r
538 # 128: loop is not reachable - may be emitted inappropriately if code follows a conditional return\r
539 # from the function that evaluates to true at compile time\r
540 # 546: transfer of control bypasses initialization - may be emitted inappropriately if the uninitialized\r
541 # variable is never referenced after the jump\r
542 # 1: ignore "#1-D: last line of file ends without a newline"\r
543 # 3017: <entity> may be used before being set (NOTE: This was fixed in OpenSSL 1.1 HEAD with\r
544 # commit d9b8b89bec4480de3a10bdaf9425db371c19145b, and can be dropped then.)\r
545 RVCT:*_*_ARM_CC_FLAGS = $(OPENSSL_FLAGS) --library_interface=aeabi_clib99 --diag_suppress=1296,1295,550,1293,111,68,177,223,144,513,188,128,546,1,3017 -JCryptoPkg/Include\r
546 XCODE:*_*_IA32_CC_FLAGS = -mmmx -msse -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -w\r
547 XCODE:*_*_X64_CC_FLAGS = -mmmx -msse -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -w\r
e38eb259
AB
548\r
549 #\r
550 # AARCH64 uses strict alignment and avoids SIMD registers for code that may execute\r
551 # with the MMU off. This involves SEC, PEI_CORE and PEIM modules as well as BASE\r
552 # libraries, given that they may be included into such modules.\r
553 # This library, even though of the BASE type, is never used in such cases, and\r
554 # avoiding the SIMD register file (which is shared with the FPU) prevents the\r
555 # compiler from successfully building some of the OpenSSL source files that\r
556 # use floating point types, so clear the flags here.\r
557 #\r
558 GCC:*_*_AARCH64_CC_XIPFLAGS ==\r