public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 1/1] CryptoPkg/OpensslLib: Add missing header files in INF file
@ 2019-08-13  8:50 Zhang, Shenglei
  2019-08-15  8:40 ` [edk2-devel] " Liming Gao
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Zhang, Shenglei @ 2019-08-13  8:50 UTC (permalink / raw)
  To: devel; +Cc: Jian Wang, Ting Ye

The header files are used but missing in INF,which causes
warning message when building them.
https://bugzilla.tianocore.org/show_bug.cgi?id=2036

Cc: Jian Wang <jian.j.wang@intel.com>
Cc: Ting Ye <ting.ye@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
---
 CryptoPkg/Library/OpensslLib/OpensslLib.inf   | 59 +++++++++++++++++++
 .../Library/OpensslLib/OpensslLibCrypto.inf   | 53 ++++++++++++++++-
 2 files changed, 111 insertions(+), 1 deletion(-)

diff --git a/CryptoPkg/Library/OpensslLib/OpensslLib.inf b/CryptoPkg/Library/OpensslLib/OpensslLib.inf
index 5f36edeeef3c..7432321fd431 100644
--- a/CryptoPkg/Library/OpensslLib/OpensslLib.inf
+++ b/CryptoPkg/Library/OpensslLib/OpensslLib.inf
@@ -22,6 +22,8 @@ [Defines]
 #
 
 [Sources]
+  buildinf.h
+  rand_pool_noise.h
   $(OPENSSL_PATH)/e_os.h
 # Autogenerated files list starts here
   $(OPENSSL_PATH)/crypto/aes/aes_cbc.c
@@ -32,7 +34,9 @@ [Sources]
   $(OPENSSL_PATH)/crypto/aes/aes_misc.c
   $(OPENSSL_PATH)/crypto/aes/aes_ofb.c
   $(OPENSSL_PATH)/crypto/aes/aes_wrap.c
+  $(OPENSSL_PATH)/crypto/aes/aes_locl.h
   $(OPENSSL_PATH)/crypto/aria/aria.c
+  $(OPENSSL_PATH)/crypto/arm_arch.h
   $(OPENSSL_PATH)/crypto/asn1/a_bitstr.c
   $(OPENSSL_PATH)/crypto/asn1/a_d2i_fp.c
   $(OPENSSL_PATH)/crypto/asn1/a_digest.c
@@ -97,12 +101,21 @@ [Sources]
   $(OPENSSL_PATH)/crypto/asn1/x_sig.c
   $(OPENSSL_PATH)/crypto/asn1/x_spki.c
   $(OPENSSL_PATH)/crypto/asn1/x_val.c
+  $(OPENSSL_PATH)/crypto/asn1/standard_methods.h
+  $(OPENSSL_PATH)/crypto/asn1/charmap.h
+  $(OPENSSL_PATH)/crypto/asn1/tbl_standard.h
+  $(OPENSSL_PATH)/crypto/asn1/asn1_item_list.h
+  $(OPENSSL_PATH)/crypto/asn1/asn1_locl.h
   $(OPENSSL_PATH)/crypto/async/arch/async_null.c
   $(OPENSSL_PATH)/crypto/async/arch/async_posix.c
   $(OPENSSL_PATH)/crypto/async/arch/async_win.c
   $(OPENSSL_PATH)/crypto/async/async.c
   $(OPENSSL_PATH)/crypto/async/async_err.c
   $(OPENSSL_PATH)/crypto/async/async_wait.c
+  $(OPENSSL_PATH)/crypto/async/arch/async_win.h
+  $(OPENSSL_PATH)/crypto/async/async_locl.h
+  $(OPENSSL_PATH)/crypto/async/arch/async_posix.h
+  $(OPENSSL_PATH)/crypto/async/arch/async_null.h
   $(OPENSSL_PATH)/crypto/bio/b_addr.c
   $(OPENSSL_PATH)/crypto/bio/b_dump.c
   $(OPENSSL_PATH)/crypto/bio/b_sock.c
@@ -125,6 +138,7 @@ [Sources]
   $(OPENSSL_PATH)/crypto/bio/bss_mem.c
   $(OPENSSL_PATH)/crypto/bio/bss_null.c
   $(OPENSSL_PATH)/crypto/bio/bss_sock.c
+  $(OPENSSL_PATH)/crypto/bio/bio_lcl.h
   $(OPENSSL_PATH)/crypto/bn/bn_add.c
   $(OPENSSL_PATH)/crypto/bn/bn_asm.c
   $(OPENSSL_PATH)/crypto/bn/bn_blind.c
@@ -156,6 +170,9 @@ [Sources]
   $(OPENSSL_PATH)/crypto/bn/bn_srp.c
   $(OPENSSL_PATH)/crypto/bn/bn_word.c
   $(OPENSSL_PATH)/crypto/bn/bn_x931p.c
+  $(OPENSSL_PATH)/crypto/bn/rsaz_exp.h
+  $(OPENSSL_PATH)/crypto/bn/bn_prime.h
+  $(OPENSSL_PATH)/crypto/bn/bn_lcl.h
   $(OPENSSL_PATH)/crypto/buffer/buf_err.c
   $(OPENSSL_PATH)/crypto/buffer/buffer.c
   $(OPENSSL_PATH)/crypto/cmac/cm_ameth.c
@@ -164,6 +181,7 @@ [Sources]
   $(OPENSSL_PATH)/crypto/comp/c_zlib.c
   $(OPENSSL_PATH)/crypto/comp/comp_err.c
   $(OPENSSL_PATH)/crypto/comp/comp_lib.c
+  $(OPENSSL_PATH)/crypto/comp/comp_lcl.h
   $(OPENSSL_PATH)/crypto/conf/conf_api.c
   $(OPENSSL_PATH)/crypto/conf/conf_def.c
   $(OPENSSL_PATH)/crypto/conf/conf_err.c
@@ -172,6 +190,8 @@ [Sources]
   $(OPENSSL_PATH)/crypto/conf/conf_mod.c
   $(OPENSSL_PATH)/crypto/conf/conf_sap.c
   $(OPENSSL_PATH)/crypto/conf/conf_ssl.c
+  $(OPENSSL_PATH)/crypto/conf/conf_lcl.h
+  $(OPENSSL_PATH)/crypto/conf/conf_def.h
   $(OPENSSL_PATH)/crypto/cpt_err.c
   $(OPENSSL_PATH)/crypto/cryptlib.c
   $(OPENSSL_PATH)/crypto/ctype.c
@@ -195,6 +215,8 @@ [Sources]
   $(OPENSSL_PATH)/crypto/des/set_key.c
   $(OPENSSL_PATH)/crypto/des/str2key.c
   $(OPENSSL_PATH)/crypto/des/xcbc_enc.c
+  $(OPENSSL_PATH)/crypto/des/spr.h
+  $(OPENSSL_PATH)/crypto/des/des_locl.h
   $(OPENSSL_PATH)/crypto/dh/dh_ameth.c
   $(OPENSSL_PATH)/crypto/dh/dh_asn1.c
   $(OPENSSL_PATH)/crypto/dh/dh_check.c
@@ -209,6 +231,7 @@ [Sources]
   $(OPENSSL_PATH)/crypto/dh/dh_prn.c
   $(OPENSSL_PATH)/crypto/dh/dh_rfc5114.c
   $(OPENSSL_PATH)/crypto/dh/dh_rfc7919.c
+  $(OPENSSL_PATH)/crypto/dh/dh_locl.h
   $(OPENSSL_PATH)/crypto/dso/dso_dl.c
   $(OPENSSL_PATH)/crypto/dso/dso_dlfcn.c
   $(OPENSSL_PATH)/crypto/dso/dso_err.c
@@ -216,6 +239,7 @@ [Sources]
   $(OPENSSL_PATH)/crypto/dso/dso_openssl.c
   $(OPENSSL_PATH)/crypto/dso/dso_vms.c
   $(OPENSSL_PATH)/crypto/dso/dso_win32.c
+  $(OPENSSL_PATH)/crypto/dso/dso_locl.h
   $(OPENSSL_PATH)/crypto/ebcdic.c
   $(OPENSSL_PATH)/crypto/err/err.c
   $(OPENSSL_PATH)/crypto/err/err_prn.c
@@ -280,11 +304,13 @@ [Sources]
   $(OPENSSL_PATH)/crypto/evp/pmeth_fn.c
   $(OPENSSL_PATH)/crypto/evp/pmeth_gn.c
   $(OPENSSL_PATH)/crypto/evp/pmeth_lib.c
+  $(OPENSSL_PATH)/crypto/evp/evp_locl.h
   $(OPENSSL_PATH)/crypto/ex_data.c
   $(OPENSSL_PATH)/crypto/getenv.c
   $(OPENSSL_PATH)/crypto/hmac/hm_ameth.c
   $(OPENSSL_PATH)/crypto/hmac/hm_pmeth.c
   $(OPENSSL_PATH)/crypto/hmac/hmac.c
+  $(OPENSSL_PATH)/crypto/hmac/hmac_lcl.h
   $(OPENSSL_PATH)/crypto/init.c
   $(OPENSSL_PATH)/crypto/kdf/hkdf.c
   $(OPENSSL_PATH)/crypto/kdf/kdf_err.c
@@ -292,10 +318,13 @@ [Sources]
   $(OPENSSL_PATH)/crypto/kdf/tls1_prf.c
   $(OPENSSL_PATH)/crypto/lhash/lh_stats.c
   $(OPENSSL_PATH)/crypto/lhash/lhash.c
+  $(OPENSSL_PATH)/crypto/lhash/lhash_lcl.h
   $(OPENSSL_PATH)/crypto/md4/md4_dgst.c
   $(OPENSSL_PATH)/crypto/md4/md4_one.c
+  $(OPENSSL_PATH)/crypto/md4/md4_locl.h
   $(OPENSSL_PATH)/crypto/md5/md5_dgst.c
   $(OPENSSL_PATH)/crypto/md5/md5_one.c
+  $(OPENSSL_PATH)/crypto/md5/md5_locl.h
   $(OPENSSL_PATH)/crypto/mem.c
   $(OPENSSL_PATH)/crypto/mem_clr.c
   $(OPENSSL_PATH)/crypto/mem_dbg.c
@@ -310,6 +339,7 @@ [Sources]
   $(OPENSSL_PATH)/crypto/modes/ofb128.c
   $(OPENSSL_PATH)/crypto/modes/wrap128.c
   $(OPENSSL_PATH)/crypto/modes/xts128.c
+  $(OPENSSL_PATH)/crypto/modes/modes_lcl.h
   $(OPENSSL_PATH)/crypto/o_dir.c
   $(OPENSSL_PATH)/crypto/o_fips.c
   $(OPENSSL_PATH)/crypto/o_fopen.c
@@ -321,6 +351,9 @@ [Sources]
   $(OPENSSL_PATH)/crypto/objects/obj_err.c
   $(OPENSSL_PATH)/crypto/objects/obj_lib.c
   $(OPENSSL_PATH)/crypto/objects/obj_xref.c
+  $(OPENSSL_PATH)/crypto/objects/obj_dat.h
+  $(OPENSSL_PATH)/crypto/objects/obj_xref.h
+  $(OPENSSL_PATH)/crypto/objects/obj_lcl.h
   $(OPENSSL_PATH)/crypto/ocsp/ocsp_asn.c
   $(OPENSSL_PATH)/crypto/ocsp/ocsp_cl.c
   $(OPENSSL_PATH)/crypto/ocsp/ocsp_err.c
@@ -331,6 +364,7 @@ [Sources]
   $(OPENSSL_PATH)/crypto/ocsp/ocsp_srv.c
   $(OPENSSL_PATH)/crypto/ocsp/ocsp_vfy.c
   $(OPENSSL_PATH)/crypto/ocsp/v3_ocsp.c
+  $(OPENSSL_PATH)/crypto/ocsp/ocsp_lcl.h
   $(OPENSSL_PATH)/crypto/pem/pem_all.c
   $(OPENSSL_PATH)/crypto/pem/pem_err.c
   $(OPENSSL_PATH)/crypto/pem/pem_info.c
@@ -358,6 +392,7 @@ [Sources]
   $(OPENSSL_PATH)/crypto/pkcs12/p12_sbag.c
   $(OPENSSL_PATH)/crypto/pkcs12/p12_utl.c
   $(OPENSSL_PATH)/crypto/pkcs12/pk12err.c
+  $(OPENSSL_PATH)/crypto/pkcs12/p12_lcl.h
   $(OPENSSL_PATH)/crypto/pkcs7/bio_pk7.c
   $(OPENSSL_PATH)/crypto/pkcs7/pk7_asn1.c
   $(OPENSSL_PATH)/crypto/pkcs7/pk7_attr.c
@@ -366,6 +401,7 @@ [Sources]
   $(OPENSSL_PATH)/crypto/pkcs7/pk7_mime.c
   $(OPENSSL_PATH)/crypto/pkcs7/pk7_smime.c
   $(OPENSSL_PATH)/crypto/pkcs7/pkcs7err.c
+  $(OPENSSL_PATH)/crypto/ppc_arch.h
   $(OPENSSL_PATH)/crypto/rand/drbg_ctr.c
   $(OPENSSL_PATH)/crypto/rand/drbg_lib.c
   $(OPENSSL_PATH)/crypto/rand/rand_egd.c
@@ -374,8 +410,10 @@ [Sources]
   $(OPENSSL_PATH)/crypto/rand/rand_unix.c
   $(OPENSSL_PATH)/crypto/rand/rand_vms.c
   $(OPENSSL_PATH)/crypto/rand/rand_win.c
+  $(OPENSSL_PATH)/crypto/rand/rand_lcl.h
   $(OPENSSL_PATH)/crypto/rc4/rc4_enc.c
   $(OPENSSL_PATH)/crypto/rc4/rc4_skey.c
+  $(OPENSSL_PATH)/crypto/rc4/rc4_locl.h
   $(OPENSSL_PATH)/crypto/rsa/rsa_ameth.c
   $(OPENSSL_PATH)/crypto/rsa/rsa_asn1.c
   $(OPENSSL_PATH)/crypto/rsa/rsa_chk.c
@@ -398,18 +436,24 @@ [Sources]
   $(OPENSSL_PATH)/crypto/rsa/rsa_ssl.c
   $(OPENSSL_PATH)/crypto/rsa/rsa_x931.c
   $(OPENSSL_PATH)/crypto/rsa/rsa_x931g.c
+  $(OPENSSL_PATH)/crypto/rsa/rsa_locl.h
+  $(OPENSSL_PATH)/crypto/s390x_arch.h
   $(OPENSSL_PATH)/crypto/sha/keccak1600.c
   $(OPENSSL_PATH)/crypto/sha/sha1_one.c
   $(OPENSSL_PATH)/crypto/sha/sha1dgst.c
   $(OPENSSL_PATH)/crypto/sha/sha256.c
   $(OPENSSL_PATH)/crypto/sha/sha512.c
+  $(OPENSSL_PATH)/crypto/sha/sha_locl.h
   $(OPENSSL_PATH)/crypto/siphash/siphash.c
   $(OPENSSL_PATH)/crypto/siphash/siphash_ameth.c
   $(OPENSSL_PATH)/crypto/siphash/siphash_pmeth.c
+  $(OPENSSL_PATH)/crypto/siphash/siphash_local.h
   $(OPENSSL_PATH)/crypto/sm3/m_sm3.c
   $(OPENSSL_PATH)/crypto/sm3/sm3.c
+  $(OPENSSL_PATH)/crypto/sm3/sm3_locl.h
   $(OPENSSL_PATH)/crypto/sm4/sm4.c
   $(OPENSSL_PATH)/crypto/stack/stack.c
+  $(OPENSSL_PATH)/crypto/sparc_arch.h
   $(OPENSSL_PATH)/crypto/threads_none.c
   $(OPENSSL_PATH)/crypto/threads_pthread.c
   $(OPENSSL_PATH)/crypto/threads_win.c
@@ -419,6 +463,8 @@ [Sources]
   $(OPENSSL_PATH)/crypto/ui/ui_null.c
   $(OPENSSL_PATH)/crypto/ui/ui_openssl.c
   $(OPENSSL_PATH)/crypto/ui/ui_util.c
+  $(OPENSSL_PATH)/crypto/ui/ui_locl.h
+  $(OPENSSL_PATH)/crypto/vms_rms.h
   $(OPENSSL_PATH)/crypto/uid.c
   $(OPENSSL_PATH)/crypto/x509/by_dir.c
   $(OPENSSL_PATH)/crypto/x509/by_file.c
@@ -456,6 +502,7 @@ [Sources]
   $(OPENSSL_PATH)/crypto/x509/x_req.c
   $(OPENSSL_PATH)/crypto/x509/x_x509.c
   $(OPENSSL_PATH)/crypto/x509/x_x509a.c
+  $(OPENSSL_PATH)/crypto/x509/x509_lcl.h
   $(OPENSSL_PATH)/crypto/x509v3/pcy_cache.c
   $(OPENSSL_PATH)/crypto/x509v3/pcy_data.c
   $(OPENSSL_PATH)/crypto/x509v3/pcy_lib.c
@@ -493,6 +540,11 @@ [Sources]
   $(OPENSSL_PATH)/crypto/x509v3/v3_tlsf.c
   $(OPENSSL_PATH)/crypto/x509v3/v3_utl.c
   $(OPENSSL_PATH)/crypto/x509v3/v3err.c
+  $(OPENSSL_PATH)/crypto/x509v3/pcy_int.h
+  $(OPENSSL_PATH)/crypto/x509v3/v3_admis.h
+  $(OPENSSL_PATH)/crypto/x509v3/standard_exts.h
+  $(OPENSSL_PATH)/crypto/x509v3/ext_dat.h
+  $(OPENSSL_PATH)/ms/uplink.h
   $(OPENSSL_PATH)/ssl/bio_ssl.c
   $(OPENSSL_PATH)/ssl/d1_lib.c
   $(OPENSSL_PATH)/ssl/d1_msg.c
@@ -537,6 +589,13 @@ [Sources]
   $(OPENSSL_PATH)/ssl/t1_trce.c
   $(OPENSSL_PATH)/ssl/tls13_enc.c
   $(OPENSSL_PATH)/ssl/tls_srp.c
+  $(OPENSSL_PATH)/ssl/record/record_locl.h
+  $(OPENSSL_PATH)/ssl/statem/statem.h
+  $(OPENSSL_PATH)/ssl/statem/statem_locl.h
+  $(OPENSSL_PATH)/ssl/ssl_locl.h
+  $(OPENSSL_PATH)/ssl/record/record.h
+  $(OPENSSL_PATH)/ssl/ssl_cert_table.h
+  $(OPENSSL_PATH)/ssl/packet_locl.h
 # Autogenerated files list ends here
 
   ossl_store.c
diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
index de05cac931d9..8134b45eda25 100644
--- a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
+++ b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
@@ -23,6 +23,7 @@ [Defines]
 
 [Sources]
   $(OPENSSL_PATH)/e_os.h
+  $(OPENSSL_PATH)/ms/uplink.h
 # Autogenerated files list starts here
   $(OPENSSL_PATH)/crypto/aes/aes_cbc.c
   $(OPENSSL_PATH)/crypto/aes/aes_cfb.c
@@ -32,7 +33,9 @@ [Sources]
   $(OPENSSL_PATH)/crypto/aes/aes_misc.c
   $(OPENSSL_PATH)/crypto/aes/aes_ofb.c
   $(OPENSSL_PATH)/crypto/aes/aes_wrap.c
+  $(OPENSSL_PATH)/crypto/aes/aes_locl.h
   $(OPENSSL_PATH)/crypto/aria/aria.c
+  $(OPENSSL_PATH)/crypto/arm_arch.h
   $(OPENSSL_PATH)/crypto/asn1/a_bitstr.c
   $(OPENSSL_PATH)/crypto/asn1/a_d2i_fp.c
   $(OPENSSL_PATH)/crypto/asn1/a_digest.c
@@ -97,12 +100,21 @@ [Sources]
   $(OPENSSL_PATH)/crypto/asn1/x_sig.c
   $(OPENSSL_PATH)/crypto/asn1/x_spki.c
   $(OPENSSL_PATH)/crypto/asn1/x_val.c
+  $(OPENSSL_PATH)/crypto/asn1/standard_methods.h
+  $(OPENSSL_PATH)/crypto/asn1/charmap.h
+  $(OPENSSL_PATH)/crypto/asn1/tbl_standard.h
+  $(OPENSSL_PATH)/crypto/asn1/asn1_item_list.h
+  $(OPENSSL_PATH)/crypto/asn1/asn1_locl.h
   $(OPENSSL_PATH)/crypto/async/arch/async_null.c
   $(OPENSSL_PATH)/crypto/async/arch/async_posix.c
   $(OPENSSL_PATH)/crypto/async/arch/async_win.c
+  $(OPENSSL_PATH)/crypto/async/arch/async_posix.h
+  $(OPENSSL_PATH)/crypto/async/arch/async_null.h
+  $(OPENSSL_PATH)/crypto/async/arch/async_win.h
   $(OPENSSL_PATH)/crypto/async/async.c
   $(OPENSSL_PATH)/crypto/async/async_err.c
   $(OPENSSL_PATH)/crypto/async/async_wait.c
+  $(OPENSSL_PATH)/crypto/async/async_locl.h
   $(OPENSSL_PATH)/crypto/bio/b_addr.c
   $(OPENSSL_PATH)/crypto/bio/b_dump.c
   $(OPENSSL_PATH)/crypto/bio/b_sock.c
@@ -125,6 +137,7 @@ [Sources]
   $(OPENSSL_PATH)/crypto/bio/bss_mem.c
   $(OPENSSL_PATH)/crypto/bio/bss_null.c
   $(OPENSSL_PATH)/crypto/bio/bss_sock.c
+  $(OPENSSL_PATH)/crypto/bio/bio_lcl.h
   $(OPENSSL_PATH)/crypto/bn/bn_add.c
   $(OPENSSL_PATH)/crypto/bn/bn_asm.c
   $(OPENSSL_PATH)/crypto/bn/bn_blind.c
@@ -156,6 +169,9 @@ [Sources]
   $(OPENSSL_PATH)/crypto/bn/bn_srp.c
   $(OPENSSL_PATH)/crypto/bn/bn_word.c
   $(OPENSSL_PATH)/crypto/bn/bn_x931p.c
+  $(OPENSSL_PATH)/crypto/bn/rsaz_exp.h
+  $(OPENSSL_PATH)/crypto/bn/bn_prime.h
+  $(OPENSSL_PATH)/crypto/bn/bn_lcl.h
   $(OPENSSL_PATH)/crypto/buffer/buf_err.c
   $(OPENSSL_PATH)/crypto/buffer/buffer.c
   $(OPENSSL_PATH)/crypto/cmac/cm_ameth.c
@@ -164,6 +180,7 @@ [Sources]
   $(OPENSSL_PATH)/crypto/comp/c_zlib.c
   $(OPENSSL_PATH)/crypto/comp/comp_err.c
   $(OPENSSL_PATH)/crypto/comp/comp_lib.c
+  $(OPENSSL_PATH)/crypto/comp/comp_lcl.h
   $(OPENSSL_PATH)/crypto/conf/conf_api.c
   $(OPENSSL_PATH)/crypto/conf/conf_def.c
   $(OPENSSL_PATH)/crypto/conf/conf_err.c
@@ -172,6 +189,8 @@ [Sources]
   $(OPENSSL_PATH)/crypto/conf/conf_mod.c
   $(OPENSSL_PATH)/crypto/conf/conf_sap.c
   $(OPENSSL_PATH)/crypto/conf/conf_ssl.c
+  $(OPENSSL_PATH)/crypto/conf/conf_lcl.h
+  $(OPENSSL_PATH)/crypto/conf/conf_def.h
   $(OPENSSL_PATH)/crypto/cpt_err.c
   $(OPENSSL_PATH)/crypto/cryptlib.c
   $(OPENSSL_PATH)/crypto/ctype.c
@@ -195,6 +214,8 @@ [Sources]
   $(OPENSSL_PATH)/crypto/des/set_key.c
   $(OPENSSL_PATH)/crypto/des/str2key.c
   $(OPENSSL_PATH)/crypto/des/xcbc_enc.c
+  $(OPENSSL_PATH)/crypto/des/spr.h
+  $(OPENSSL_PATH)/crypto/des/des_locl.h
   $(OPENSSL_PATH)/crypto/dh/dh_ameth.c
   $(OPENSSL_PATH)/crypto/dh/dh_asn1.c
   $(OPENSSL_PATH)/crypto/dh/dh_check.c
@@ -209,6 +230,7 @@ [Sources]
   $(OPENSSL_PATH)/crypto/dh/dh_prn.c
   $(OPENSSL_PATH)/crypto/dh/dh_rfc5114.c
   $(OPENSSL_PATH)/crypto/dh/dh_rfc7919.c
+  $(OPENSSL_PATH)/crypto/dh/dh_locl.h
   $(OPENSSL_PATH)/crypto/dso/dso_dl.c
   $(OPENSSL_PATH)/crypto/dso/dso_dlfcn.c
   $(OPENSSL_PATH)/crypto/dso/dso_err.c
@@ -216,6 +238,7 @@ [Sources]
   $(OPENSSL_PATH)/crypto/dso/dso_openssl.c
   $(OPENSSL_PATH)/crypto/dso/dso_vms.c
   $(OPENSSL_PATH)/crypto/dso/dso_win32.c
+  $(OPENSSL_PATH)/crypto/dso/dso_locl.h
   $(OPENSSL_PATH)/crypto/ebcdic.c
   $(OPENSSL_PATH)/crypto/err/err.c
   $(OPENSSL_PATH)/crypto/err/err_prn.c
@@ -257,6 +280,7 @@ [Sources]
   $(OPENSSL_PATH)/crypto/evp/evp_pkey.c
   $(OPENSSL_PATH)/crypto/evp/m_md2.c
   $(OPENSSL_PATH)/crypto/evp/m_md4.c
+  $(OPENSSL_PATH)/crypto/md4/md4_locl.h
   $(OPENSSL_PATH)/crypto/evp/m_md5.c
   $(OPENSSL_PATH)/crypto/evp/m_md5_sha1.c
   $(OPENSSL_PATH)/crypto/evp/m_mdc2.c
@@ -280,11 +304,13 @@ [Sources]
   $(OPENSSL_PATH)/crypto/evp/pmeth_fn.c
   $(OPENSSL_PATH)/crypto/evp/pmeth_gn.c
   $(OPENSSL_PATH)/crypto/evp/pmeth_lib.c
+  $(OPENSSL_PATH)/crypto/evp/evp_locl.h
   $(OPENSSL_PATH)/crypto/ex_data.c
   $(OPENSSL_PATH)/crypto/getenv.c
   $(OPENSSL_PATH)/crypto/hmac/hm_ameth.c
   $(OPENSSL_PATH)/crypto/hmac/hm_pmeth.c
   $(OPENSSL_PATH)/crypto/hmac/hmac.c
+  $(OPENSSL_PATH)/crypto/hmac/hmac_lcl.h
   $(OPENSSL_PATH)/crypto/init.c
   $(OPENSSL_PATH)/crypto/kdf/hkdf.c
   $(OPENSSL_PATH)/crypto/kdf/kdf_err.c
@@ -292,10 +318,12 @@ [Sources]
   $(OPENSSL_PATH)/crypto/kdf/tls1_prf.c
   $(OPENSSL_PATH)/crypto/lhash/lh_stats.c
   $(OPENSSL_PATH)/crypto/lhash/lhash.c
+  $(OPENSSL_PATH)/crypto/lhash/lhash_lcl.h
   $(OPENSSL_PATH)/crypto/md4/md4_dgst.c
   $(OPENSSL_PATH)/crypto/md4/md4_one.c
   $(OPENSSL_PATH)/crypto/md5/md5_dgst.c
   $(OPENSSL_PATH)/crypto/md5/md5_one.c
+  $(OPENSSL_PATH)/crypto/md5/md5_locl.h
   $(OPENSSL_PATH)/crypto/mem.c
   $(OPENSSL_PATH)/crypto/mem_clr.c
   $(OPENSSL_PATH)/crypto/mem_dbg.c
@@ -310,6 +338,7 @@ [Sources]
   $(OPENSSL_PATH)/crypto/modes/ofb128.c
   $(OPENSSL_PATH)/crypto/modes/wrap128.c
   $(OPENSSL_PATH)/crypto/modes/xts128.c
+  $(OPENSSL_PATH)/crypto/modes/modes_lcl.h
   $(OPENSSL_PATH)/crypto/o_dir.c
   $(OPENSSL_PATH)/crypto/o_fips.c
   $(OPENSSL_PATH)/crypto/o_fopen.c
@@ -321,6 +350,9 @@ [Sources]
   $(OPENSSL_PATH)/crypto/objects/obj_err.c
   $(OPENSSL_PATH)/crypto/objects/obj_lib.c
   $(OPENSSL_PATH)/crypto/objects/obj_xref.c
+  $(OPENSSL_PATH)/crypto/objects/obj_dat.h
+  $(OPENSSL_PATH)/crypto/objects/obj_xref.h
+  $(OPENSSL_PATH)/crypto/objects/obj_lcl.h
   $(OPENSSL_PATH)/crypto/ocsp/ocsp_asn.c
   $(OPENSSL_PATH)/crypto/ocsp/ocsp_cl.c
   $(OPENSSL_PATH)/crypto/ocsp/ocsp_err.c
@@ -331,6 +363,7 @@ [Sources]
   $(OPENSSL_PATH)/crypto/ocsp/ocsp_srv.c
   $(OPENSSL_PATH)/crypto/ocsp/ocsp_vfy.c
   $(OPENSSL_PATH)/crypto/ocsp/v3_ocsp.c
+  $(OPENSSL_PATH)/crypto/ocsp/ocsp_lcl.h
   $(OPENSSL_PATH)/crypto/pem/pem_all.c
   $(OPENSSL_PATH)/crypto/pem/pem_err.c
   $(OPENSSL_PATH)/crypto/pem/pem_info.c
@@ -366,6 +399,8 @@ [Sources]
   $(OPENSSL_PATH)/crypto/pkcs7/pk7_mime.c
   $(OPENSSL_PATH)/crypto/pkcs7/pk7_smime.c
   $(OPENSSL_PATH)/crypto/pkcs7/pkcs7err.c
+  $(OPENSSL_PATH)/crypto/pkcs12/p12_lcl.h
+  $(OPENSSL_PATH)/crypto/ppc_arch.h
   $(OPENSSL_PATH)/crypto/rand/drbg_ctr.c
   $(OPENSSL_PATH)/crypto/rand/drbg_lib.c
   $(OPENSSL_PATH)/crypto/rand/rand_egd.c
@@ -374,8 +409,10 @@ [Sources]
   $(OPENSSL_PATH)/crypto/rand/rand_unix.c
   $(OPENSSL_PATH)/crypto/rand/rand_vms.c
   $(OPENSSL_PATH)/crypto/rand/rand_win.c
+  $(OPENSSL_PATH)/crypto/rand/rand_lcl.h
   $(OPENSSL_PATH)/crypto/rc4/rc4_enc.c
   $(OPENSSL_PATH)/crypto/rc4/rc4_skey.c
+  $(OPENSSL_PATH)/crypto/rc4/rc4_locl.h
   $(OPENSSL_PATH)/crypto/rsa/rsa_ameth.c
   $(OPENSSL_PATH)/crypto/rsa/rsa_asn1.c
   $(OPENSSL_PATH)/crypto/rsa/rsa_chk.c
@@ -398,18 +435,24 @@ [Sources]
   $(OPENSSL_PATH)/crypto/rsa/rsa_ssl.c
   $(OPENSSL_PATH)/crypto/rsa/rsa_x931.c
   $(OPENSSL_PATH)/crypto/rsa/rsa_x931g.c
+  $(OPENSSL_PATH)/crypto/rsa/rsa_locl.h
   $(OPENSSL_PATH)/crypto/sha/keccak1600.c
   $(OPENSSL_PATH)/crypto/sha/sha1_one.c
   $(OPENSSL_PATH)/crypto/sha/sha1dgst.c
   $(OPENSSL_PATH)/crypto/sha/sha256.c
   $(OPENSSL_PATH)/crypto/sha/sha512.c
+  $(OPENSSL_PATH)/crypto/sha/sha_locl.h
   $(OPENSSL_PATH)/crypto/siphash/siphash.c
   $(OPENSSL_PATH)/crypto/siphash/siphash_ameth.c
   $(OPENSSL_PATH)/crypto/siphash/siphash_pmeth.c
+  $(OPENSSL_PATH)/crypto/siphash/siphash_local.h
   $(OPENSSL_PATH)/crypto/sm3/m_sm3.c
   $(OPENSSL_PATH)/crypto/sm3/sm3.c
+  $(OPENSSL_PATH)/crypto/sm3/sm3_locl.h
   $(OPENSSL_PATH)/crypto/sm4/sm4.c
   $(OPENSSL_PATH)/crypto/stack/stack.c
+  $(OPENSSL_PATH)/crypto/s390x_arch.h
+  $(OPENSSL_PATH)/crypto/sparc_arch.h
   $(OPENSSL_PATH)/crypto/threads_none.c
   $(OPENSSL_PATH)/crypto/threads_pthread.c
   $(OPENSSL_PATH)/crypto/threads_win.c
@@ -419,7 +462,9 @@ [Sources]
   $(OPENSSL_PATH)/crypto/ui/ui_null.c
   $(OPENSSL_PATH)/crypto/ui/ui_openssl.c
   $(OPENSSL_PATH)/crypto/ui/ui_util.c
+  $(OPENSSL_PATH)/crypto/ui/ui_locl.h
   $(OPENSSL_PATH)/crypto/uid.c
+  $(OPENSSL_PATH)/crypto/vms_rms.h
   $(OPENSSL_PATH)/crypto/x509/by_dir.c
   $(OPENSSL_PATH)/crypto/x509/by_file.c
   $(OPENSSL_PATH)/crypto/x509/t_crl.c
@@ -456,6 +501,7 @@ [Sources]
   $(OPENSSL_PATH)/crypto/x509/x_req.c
   $(OPENSSL_PATH)/crypto/x509/x_x509.c
   $(OPENSSL_PATH)/crypto/x509/x_x509a.c
+  $(OPENSSL_PATH)/crypto/x509/x509_lcl.h
   $(OPENSSL_PATH)/crypto/x509v3/pcy_cache.c
   $(OPENSSL_PATH)/crypto/x509v3/pcy_data.c
   $(OPENSSL_PATH)/crypto/x509v3/pcy_lib.c
@@ -493,8 +539,13 @@ [Sources]
   $(OPENSSL_PATH)/crypto/x509v3/v3_tlsf.c
   $(OPENSSL_PATH)/crypto/x509v3/v3_utl.c
   $(OPENSSL_PATH)/crypto/x509v3/v3err.c
+  $(OPENSSL_PATH)/crypto/x509v3/pcy_int.h
+  $(OPENSSL_PATH)/crypto/x509v3/v3_admis.h
+  $(OPENSSL_PATH)/crypto/x509v3/standard_exts.h
+  $(OPENSSL_PATH)/crypto/x509v3/ext_dat.h
 # Autogenerated files list ends here
-
+  buildinf.h
+  rand_pool_noise.h
   ossl_store.c
   rand_pool.c
 
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [edk2-devel] [PATCH 1/1] CryptoPkg/OpensslLib: Add missing header files in INF file
  2019-08-13  8:50 [PATCH 1/1] CryptoPkg/OpensslLib: Add missing header files in INF file Zhang, Shenglei
@ 2019-08-15  8:40 ` Liming Gao
  2019-08-15  8:58 ` Wang, Jian J
       [not found] ` <15BB0CF36608D78D.28665@groups.io>
  2 siblings, 0 replies; 5+ messages in thread
From: Liming Gao @ 2019-08-15  8:40 UTC (permalink / raw)
  To: devel@edk2.groups.io, Zhang, Shenglei; +Cc: Wang, Jian J, Ye, Ting

Reviewed-by: Liming Gao <liming.gao@intel.com>

>-----Original Message-----
>From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
>Zhang, Shenglei
>Sent: Tuesday, August 13, 2019 4:50 PM
>To: devel@edk2.groups.io
>Cc: Wang, Jian J <jian.j.wang@intel.com>; Ye, Ting <ting.ye@intel.com>
>Subject: [edk2-devel] [PATCH 1/1] CryptoPkg/OpensslLib: Add missing header
>files in INF file
>
>The header files are used but missing in INF,which causes
>warning message when building them.
>https://bugzilla.tianocore.org/show_bug.cgi?id=2036
>
>Cc: Jian Wang <jian.j.wang@intel.com>
>Cc: Ting Ye <ting.ye@intel.com>
>Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
>---
> CryptoPkg/Library/OpensslLib/OpensslLib.inf   | 59 +++++++++++++++++++
> .../Library/OpensslLib/OpensslLibCrypto.inf   | 53 ++++++++++++++++-
> 2 files changed, 111 insertions(+), 1 deletion(-)
>
>diff --git a/CryptoPkg/Library/OpensslLib/OpensslLib.inf
>b/CryptoPkg/Library/OpensslLib/OpensslLib.inf
>index 5f36edeeef3c..7432321fd431 100644
>--- a/CryptoPkg/Library/OpensslLib/OpensslLib.inf
>+++ b/CryptoPkg/Library/OpensslLib/OpensslLib.inf
>@@ -22,6 +22,8 @@ [Defines]
> #
>
> [Sources]
>+  buildinf.h
>+  rand_pool_noise.h
>   $(OPENSSL_PATH)/e_os.h
> # Autogenerated files list starts here
>   $(OPENSSL_PATH)/crypto/aes/aes_cbc.c
>@@ -32,7 +34,9 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/aes/aes_misc.c
>   $(OPENSSL_PATH)/crypto/aes/aes_ofb.c
>   $(OPENSSL_PATH)/crypto/aes/aes_wrap.c
>+  $(OPENSSL_PATH)/crypto/aes/aes_locl.h
>   $(OPENSSL_PATH)/crypto/aria/aria.c
>+  $(OPENSSL_PATH)/crypto/arm_arch.h
>   $(OPENSSL_PATH)/crypto/asn1/a_bitstr.c
>   $(OPENSSL_PATH)/crypto/asn1/a_d2i_fp.c
>   $(OPENSSL_PATH)/crypto/asn1/a_digest.c
>@@ -97,12 +101,21 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/asn1/x_sig.c
>   $(OPENSSL_PATH)/crypto/asn1/x_spki.c
>   $(OPENSSL_PATH)/crypto/asn1/x_val.c
>+  $(OPENSSL_PATH)/crypto/asn1/standard_methods.h
>+  $(OPENSSL_PATH)/crypto/asn1/charmap.h
>+  $(OPENSSL_PATH)/crypto/asn1/tbl_standard.h
>+  $(OPENSSL_PATH)/crypto/asn1/asn1_item_list.h
>+  $(OPENSSL_PATH)/crypto/asn1/asn1_locl.h
>   $(OPENSSL_PATH)/crypto/async/arch/async_null.c
>   $(OPENSSL_PATH)/crypto/async/arch/async_posix.c
>   $(OPENSSL_PATH)/crypto/async/arch/async_win.c
>   $(OPENSSL_PATH)/crypto/async/async.c
>   $(OPENSSL_PATH)/crypto/async/async_err.c
>   $(OPENSSL_PATH)/crypto/async/async_wait.c
>+  $(OPENSSL_PATH)/crypto/async/arch/async_win.h
>+  $(OPENSSL_PATH)/crypto/async/async_locl.h
>+  $(OPENSSL_PATH)/crypto/async/arch/async_posix.h
>+  $(OPENSSL_PATH)/crypto/async/arch/async_null.h
>   $(OPENSSL_PATH)/crypto/bio/b_addr.c
>   $(OPENSSL_PATH)/crypto/bio/b_dump.c
>   $(OPENSSL_PATH)/crypto/bio/b_sock.c
>@@ -125,6 +138,7 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/bio/bss_mem.c
>   $(OPENSSL_PATH)/crypto/bio/bss_null.c
>   $(OPENSSL_PATH)/crypto/bio/bss_sock.c
>+  $(OPENSSL_PATH)/crypto/bio/bio_lcl.h
>   $(OPENSSL_PATH)/crypto/bn/bn_add.c
>   $(OPENSSL_PATH)/crypto/bn/bn_asm.c
>   $(OPENSSL_PATH)/crypto/bn/bn_blind.c
>@@ -156,6 +170,9 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/bn/bn_srp.c
>   $(OPENSSL_PATH)/crypto/bn/bn_word.c
>   $(OPENSSL_PATH)/crypto/bn/bn_x931p.c
>+  $(OPENSSL_PATH)/crypto/bn/rsaz_exp.h
>+  $(OPENSSL_PATH)/crypto/bn/bn_prime.h
>+  $(OPENSSL_PATH)/crypto/bn/bn_lcl.h
>   $(OPENSSL_PATH)/crypto/buffer/buf_err.c
>   $(OPENSSL_PATH)/crypto/buffer/buffer.c
>   $(OPENSSL_PATH)/crypto/cmac/cm_ameth.c
>@@ -164,6 +181,7 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/comp/c_zlib.c
>   $(OPENSSL_PATH)/crypto/comp/comp_err.c
>   $(OPENSSL_PATH)/crypto/comp/comp_lib.c
>+  $(OPENSSL_PATH)/crypto/comp/comp_lcl.h
>   $(OPENSSL_PATH)/crypto/conf/conf_api.c
>   $(OPENSSL_PATH)/crypto/conf/conf_def.c
>   $(OPENSSL_PATH)/crypto/conf/conf_err.c
>@@ -172,6 +190,8 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/conf/conf_mod.c
>   $(OPENSSL_PATH)/crypto/conf/conf_sap.c
>   $(OPENSSL_PATH)/crypto/conf/conf_ssl.c
>+  $(OPENSSL_PATH)/crypto/conf/conf_lcl.h
>+  $(OPENSSL_PATH)/crypto/conf/conf_def.h
>   $(OPENSSL_PATH)/crypto/cpt_err.c
>   $(OPENSSL_PATH)/crypto/cryptlib.c
>   $(OPENSSL_PATH)/crypto/ctype.c
>@@ -195,6 +215,8 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/des/set_key.c
>   $(OPENSSL_PATH)/crypto/des/str2key.c
>   $(OPENSSL_PATH)/crypto/des/xcbc_enc.c
>+  $(OPENSSL_PATH)/crypto/des/spr.h
>+  $(OPENSSL_PATH)/crypto/des/des_locl.h
>   $(OPENSSL_PATH)/crypto/dh/dh_ameth.c
>   $(OPENSSL_PATH)/crypto/dh/dh_asn1.c
>   $(OPENSSL_PATH)/crypto/dh/dh_check.c
>@@ -209,6 +231,7 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/dh/dh_prn.c
>   $(OPENSSL_PATH)/crypto/dh/dh_rfc5114.c
>   $(OPENSSL_PATH)/crypto/dh/dh_rfc7919.c
>+  $(OPENSSL_PATH)/crypto/dh/dh_locl.h
>   $(OPENSSL_PATH)/crypto/dso/dso_dl.c
>   $(OPENSSL_PATH)/crypto/dso/dso_dlfcn.c
>   $(OPENSSL_PATH)/crypto/dso/dso_err.c
>@@ -216,6 +239,7 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/dso/dso_openssl.c
>   $(OPENSSL_PATH)/crypto/dso/dso_vms.c
>   $(OPENSSL_PATH)/crypto/dso/dso_win32.c
>+  $(OPENSSL_PATH)/crypto/dso/dso_locl.h
>   $(OPENSSL_PATH)/crypto/ebcdic.c
>   $(OPENSSL_PATH)/crypto/err/err.c
>   $(OPENSSL_PATH)/crypto/err/err_prn.c
>@@ -280,11 +304,13 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/evp/pmeth_fn.c
>   $(OPENSSL_PATH)/crypto/evp/pmeth_gn.c
>   $(OPENSSL_PATH)/crypto/evp/pmeth_lib.c
>+  $(OPENSSL_PATH)/crypto/evp/evp_locl.h
>   $(OPENSSL_PATH)/crypto/ex_data.c
>   $(OPENSSL_PATH)/crypto/getenv.c
>   $(OPENSSL_PATH)/crypto/hmac/hm_ameth.c
>   $(OPENSSL_PATH)/crypto/hmac/hm_pmeth.c
>   $(OPENSSL_PATH)/crypto/hmac/hmac.c
>+  $(OPENSSL_PATH)/crypto/hmac/hmac_lcl.h
>   $(OPENSSL_PATH)/crypto/init.c
>   $(OPENSSL_PATH)/crypto/kdf/hkdf.c
>   $(OPENSSL_PATH)/crypto/kdf/kdf_err.c
>@@ -292,10 +318,13 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/kdf/tls1_prf.c
>   $(OPENSSL_PATH)/crypto/lhash/lh_stats.c
>   $(OPENSSL_PATH)/crypto/lhash/lhash.c
>+  $(OPENSSL_PATH)/crypto/lhash/lhash_lcl.h
>   $(OPENSSL_PATH)/crypto/md4/md4_dgst.c
>   $(OPENSSL_PATH)/crypto/md4/md4_one.c
>+  $(OPENSSL_PATH)/crypto/md4/md4_locl.h
>   $(OPENSSL_PATH)/crypto/md5/md5_dgst.c
>   $(OPENSSL_PATH)/crypto/md5/md5_one.c
>+  $(OPENSSL_PATH)/crypto/md5/md5_locl.h
>   $(OPENSSL_PATH)/crypto/mem.c
>   $(OPENSSL_PATH)/crypto/mem_clr.c
>   $(OPENSSL_PATH)/crypto/mem_dbg.c
>@@ -310,6 +339,7 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/modes/ofb128.c
>   $(OPENSSL_PATH)/crypto/modes/wrap128.c
>   $(OPENSSL_PATH)/crypto/modes/xts128.c
>+  $(OPENSSL_PATH)/crypto/modes/modes_lcl.h
>   $(OPENSSL_PATH)/crypto/o_dir.c
>   $(OPENSSL_PATH)/crypto/o_fips.c
>   $(OPENSSL_PATH)/crypto/o_fopen.c
>@@ -321,6 +351,9 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/objects/obj_err.c
>   $(OPENSSL_PATH)/crypto/objects/obj_lib.c
>   $(OPENSSL_PATH)/crypto/objects/obj_xref.c
>+  $(OPENSSL_PATH)/crypto/objects/obj_dat.h
>+  $(OPENSSL_PATH)/crypto/objects/obj_xref.h
>+  $(OPENSSL_PATH)/crypto/objects/obj_lcl.h
>   $(OPENSSL_PATH)/crypto/ocsp/ocsp_asn.c
>   $(OPENSSL_PATH)/crypto/ocsp/ocsp_cl.c
>   $(OPENSSL_PATH)/crypto/ocsp/ocsp_err.c
>@@ -331,6 +364,7 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/ocsp/ocsp_srv.c
>   $(OPENSSL_PATH)/crypto/ocsp/ocsp_vfy.c
>   $(OPENSSL_PATH)/crypto/ocsp/v3_ocsp.c
>+  $(OPENSSL_PATH)/crypto/ocsp/ocsp_lcl.h
>   $(OPENSSL_PATH)/crypto/pem/pem_all.c
>   $(OPENSSL_PATH)/crypto/pem/pem_err.c
>   $(OPENSSL_PATH)/crypto/pem/pem_info.c
>@@ -358,6 +392,7 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/pkcs12/p12_sbag.c
>   $(OPENSSL_PATH)/crypto/pkcs12/p12_utl.c
>   $(OPENSSL_PATH)/crypto/pkcs12/pk12err.c
>+  $(OPENSSL_PATH)/crypto/pkcs12/p12_lcl.h
>   $(OPENSSL_PATH)/crypto/pkcs7/bio_pk7.c
>   $(OPENSSL_PATH)/crypto/pkcs7/pk7_asn1.c
>   $(OPENSSL_PATH)/crypto/pkcs7/pk7_attr.c
>@@ -366,6 +401,7 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/pkcs7/pk7_mime.c
>   $(OPENSSL_PATH)/crypto/pkcs7/pk7_smime.c
>   $(OPENSSL_PATH)/crypto/pkcs7/pkcs7err.c
>+  $(OPENSSL_PATH)/crypto/ppc_arch.h
>   $(OPENSSL_PATH)/crypto/rand/drbg_ctr.c
>   $(OPENSSL_PATH)/crypto/rand/drbg_lib.c
>   $(OPENSSL_PATH)/crypto/rand/rand_egd.c
>@@ -374,8 +410,10 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/rand/rand_unix.c
>   $(OPENSSL_PATH)/crypto/rand/rand_vms.c
>   $(OPENSSL_PATH)/crypto/rand/rand_win.c
>+  $(OPENSSL_PATH)/crypto/rand/rand_lcl.h
>   $(OPENSSL_PATH)/crypto/rc4/rc4_enc.c
>   $(OPENSSL_PATH)/crypto/rc4/rc4_skey.c
>+  $(OPENSSL_PATH)/crypto/rc4/rc4_locl.h
>   $(OPENSSL_PATH)/crypto/rsa/rsa_ameth.c
>   $(OPENSSL_PATH)/crypto/rsa/rsa_asn1.c
>   $(OPENSSL_PATH)/crypto/rsa/rsa_chk.c
>@@ -398,18 +436,24 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/rsa/rsa_ssl.c
>   $(OPENSSL_PATH)/crypto/rsa/rsa_x931.c
>   $(OPENSSL_PATH)/crypto/rsa/rsa_x931g.c
>+  $(OPENSSL_PATH)/crypto/rsa/rsa_locl.h
>+  $(OPENSSL_PATH)/crypto/s390x_arch.h
>   $(OPENSSL_PATH)/crypto/sha/keccak1600.c
>   $(OPENSSL_PATH)/crypto/sha/sha1_one.c
>   $(OPENSSL_PATH)/crypto/sha/sha1dgst.c
>   $(OPENSSL_PATH)/crypto/sha/sha256.c
>   $(OPENSSL_PATH)/crypto/sha/sha512.c
>+  $(OPENSSL_PATH)/crypto/sha/sha_locl.h
>   $(OPENSSL_PATH)/crypto/siphash/siphash.c
>   $(OPENSSL_PATH)/crypto/siphash/siphash_ameth.c
>   $(OPENSSL_PATH)/crypto/siphash/siphash_pmeth.c
>+  $(OPENSSL_PATH)/crypto/siphash/siphash_local.h
>   $(OPENSSL_PATH)/crypto/sm3/m_sm3.c
>   $(OPENSSL_PATH)/crypto/sm3/sm3.c
>+  $(OPENSSL_PATH)/crypto/sm3/sm3_locl.h
>   $(OPENSSL_PATH)/crypto/sm4/sm4.c
>   $(OPENSSL_PATH)/crypto/stack/stack.c
>+  $(OPENSSL_PATH)/crypto/sparc_arch.h
>   $(OPENSSL_PATH)/crypto/threads_none.c
>   $(OPENSSL_PATH)/crypto/threads_pthread.c
>   $(OPENSSL_PATH)/crypto/threads_win.c
>@@ -419,6 +463,8 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/ui/ui_null.c
>   $(OPENSSL_PATH)/crypto/ui/ui_openssl.c
>   $(OPENSSL_PATH)/crypto/ui/ui_util.c
>+  $(OPENSSL_PATH)/crypto/ui/ui_locl.h
>+  $(OPENSSL_PATH)/crypto/vms_rms.h
>   $(OPENSSL_PATH)/crypto/uid.c
>   $(OPENSSL_PATH)/crypto/x509/by_dir.c
>   $(OPENSSL_PATH)/crypto/x509/by_file.c
>@@ -456,6 +502,7 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/x509/x_req.c
>   $(OPENSSL_PATH)/crypto/x509/x_x509.c
>   $(OPENSSL_PATH)/crypto/x509/x_x509a.c
>+  $(OPENSSL_PATH)/crypto/x509/x509_lcl.h
>   $(OPENSSL_PATH)/crypto/x509v3/pcy_cache.c
>   $(OPENSSL_PATH)/crypto/x509v3/pcy_data.c
>   $(OPENSSL_PATH)/crypto/x509v3/pcy_lib.c
>@@ -493,6 +540,11 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/x509v3/v3_tlsf.c
>   $(OPENSSL_PATH)/crypto/x509v3/v3_utl.c
>   $(OPENSSL_PATH)/crypto/x509v3/v3err.c
>+  $(OPENSSL_PATH)/crypto/x509v3/pcy_int.h
>+  $(OPENSSL_PATH)/crypto/x509v3/v3_admis.h
>+  $(OPENSSL_PATH)/crypto/x509v3/standard_exts.h
>+  $(OPENSSL_PATH)/crypto/x509v3/ext_dat.h
>+  $(OPENSSL_PATH)/ms/uplink.h
>   $(OPENSSL_PATH)/ssl/bio_ssl.c
>   $(OPENSSL_PATH)/ssl/d1_lib.c
>   $(OPENSSL_PATH)/ssl/d1_msg.c
>@@ -537,6 +589,13 @@ [Sources]
>   $(OPENSSL_PATH)/ssl/t1_trce.c
>   $(OPENSSL_PATH)/ssl/tls13_enc.c
>   $(OPENSSL_PATH)/ssl/tls_srp.c
>+  $(OPENSSL_PATH)/ssl/record/record_locl.h
>+  $(OPENSSL_PATH)/ssl/statem/statem.h
>+  $(OPENSSL_PATH)/ssl/statem/statem_locl.h
>+  $(OPENSSL_PATH)/ssl/ssl_locl.h
>+  $(OPENSSL_PATH)/ssl/record/record.h
>+  $(OPENSSL_PATH)/ssl/ssl_cert_table.h
>+  $(OPENSSL_PATH)/ssl/packet_locl.h
> # Autogenerated files list ends here
>
>   ossl_store.c
>diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
>b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
>index de05cac931d9..8134b45eda25 100644
>--- a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
>+++ b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
>@@ -23,6 +23,7 @@ [Defines]
>
> [Sources]
>   $(OPENSSL_PATH)/e_os.h
>+  $(OPENSSL_PATH)/ms/uplink.h
> # Autogenerated files list starts here
>   $(OPENSSL_PATH)/crypto/aes/aes_cbc.c
>   $(OPENSSL_PATH)/crypto/aes/aes_cfb.c
>@@ -32,7 +33,9 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/aes/aes_misc.c
>   $(OPENSSL_PATH)/crypto/aes/aes_ofb.c
>   $(OPENSSL_PATH)/crypto/aes/aes_wrap.c
>+  $(OPENSSL_PATH)/crypto/aes/aes_locl.h
>   $(OPENSSL_PATH)/crypto/aria/aria.c
>+  $(OPENSSL_PATH)/crypto/arm_arch.h
>   $(OPENSSL_PATH)/crypto/asn1/a_bitstr.c
>   $(OPENSSL_PATH)/crypto/asn1/a_d2i_fp.c
>   $(OPENSSL_PATH)/crypto/asn1/a_digest.c
>@@ -97,12 +100,21 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/asn1/x_sig.c
>   $(OPENSSL_PATH)/crypto/asn1/x_spki.c
>   $(OPENSSL_PATH)/crypto/asn1/x_val.c
>+  $(OPENSSL_PATH)/crypto/asn1/standard_methods.h
>+  $(OPENSSL_PATH)/crypto/asn1/charmap.h
>+  $(OPENSSL_PATH)/crypto/asn1/tbl_standard.h
>+  $(OPENSSL_PATH)/crypto/asn1/asn1_item_list.h
>+  $(OPENSSL_PATH)/crypto/asn1/asn1_locl.h
>   $(OPENSSL_PATH)/crypto/async/arch/async_null.c
>   $(OPENSSL_PATH)/crypto/async/arch/async_posix.c
>   $(OPENSSL_PATH)/crypto/async/arch/async_win.c
>+  $(OPENSSL_PATH)/crypto/async/arch/async_posix.h
>+  $(OPENSSL_PATH)/crypto/async/arch/async_null.h
>+  $(OPENSSL_PATH)/crypto/async/arch/async_win.h
>   $(OPENSSL_PATH)/crypto/async/async.c
>   $(OPENSSL_PATH)/crypto/async/async_err.c
>   $(OPENSSL_PATH)/crypto/async/async_wait.c
>+  $(OPENSSL_PATH)/crypto/async/async_locl.h
>   $(OPENSSL_PATH)/crypto/bio/b_addr.c
>   $(OPENSSL_PATH)/crypto/bio/b_dump.c
>   $(OPENSSL_PATH)/crypto/bio/b_sock.c
>@@ -125,6 +137,7 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/bio/bss_mem.c
>   $(OPENSSL_PATH)/crypto/bio/bss_null.c
>   $(OPENSSL_PATH)/crypto/bio/bss_sock.c
>+  $(OPENSSL_PATH)/crypto/bio/bio_lcl.h
>   $(OPENSSL_PATH)/crypto/bn/bn_add.c
>   $(OPENSSL_PATH)/crypto/bn/bn_asm.c
>   $(OPENSSL_PATH)/crypto/bn/bn_blind.c
>@@ -156,6 +169,9 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/bn/bn_srp.c
>   $(OPENSSL_PATH)/crypto/bn/bn_word.c
>   $(OPENSSL_PATH)/crypto/bn/bn_x931p.c
>+  $(OPENSSL_PATH)/crypto/bn/rsaz_exp.h
>+  $(OPENSSL_PATH)/crypto/bn/bn_prime.h
>+  $(OPENSSL_PATH)/crypto/bn/bn_lcl.h
>   $(OPENSSL_PATH)/crypto/buffer/buf_err.c
>   $(OPENSSL_PATH)/crypto/buffer/buffer.c
>   $(OPENSSL_PATH)/crypto/cmac/cm_ameth.c
>@@ -164,6 +180,7 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/comp/c_zlib.c
>   $(OPENSSL_PATH)/crypto/comp/comp_err.c
>   $(OPENSSL_PATH)/crypto/comp/comp_lib.c
>+  $(OPENSSL_PATH)/crypto/comp/comp_lcl.h
>   $(OPENSSL_PATH)/crypto/conf/conf_api.c
>   $(OPENSSL_PATH)/crypto/conf/conf_def.c
>   $(OPENSSL_PATH)/crypto/conf/conf_err.c
>@@ -172,6 +189,8 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/conf/conf_mod.c
>   $(OPENSSL_PATH)/crypto/conf/conf_sap.c
>   $(OPENSSL_PATH)/crypto/conf/conf_ssl.c
>+  $(OPENSSL_PATH)/crypto/conf/conf_lcl.h
>+  $(OPENSSL_PATH)/crypto/conf/conf_def.h
>   $(OPENSSL_PATH)/crypto/cpt_err.c
>   $(OPENSSL_PATH)/crypto/cryptlib.c
>   $(OPENSSL_PATH)/crypto/ctype.c
>@@ -195,6 +214,8 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/des/set_key.c
>   $(OPENSSL_PATH)/crypto/des/str2key.c
>   $(OPENSSL_PATH)/crypto/des/xcbc_enc.c
>+  $(OPENSSL_PATH)/crypto/des/spr.h
>+  $(OPENSSL_PATH)/crypto/des/des_locl.h
>   $(OPENSSL_PATH)/crypto/dh/dh_ameth.c
>   $(OPENSSL_PATH)/crypto/dh/dh_asn1.c
>   $(OPENSSL_PATH)/crypto/dh/dh_check.c
>@@ -209,6 +230,7 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/dh/dh_prn.c
>   $(OPENSSL_PATH)/crypto/dh/dh_rfc5114.c
>   $(OPENSSL_PATH)/crypto/dh/dh_rfc7919.c
>+  $(OPENSSL_PATH)/crypto/dh/dh_locl.h
>   $(OPENSSL_PATH)/crypto/dso/dso_dl.c
>   $(OPENSSL_PATH)/crypto/dso/dso_dlfcn.c
>   $(OPENSSL_PATH)/crypto/dso/dso_err.c
>@@ -216,6 +238,7 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/dso/dso_openssl.c
>   $(OPENSSL_PATH)/crypto/dso/dso_vms.c
>   $(OPENSSL_PATH)/crypto/dso/dso_win32.c
>+  $(OPENSSL_PATH)/crypto/dso/dso_locl.h
>   $(OPENSSL_PATH)/crypto/ebcdic.c
>   $(OPENSSL_PATH)/crypto/err/err.c
>   $(OPENSSL_PATH)/crypto/err/err_prn.c
>@@ -257,6 +280,7 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/evp/evp_pkey.c
>   $(OPENSSL_PATH)/crypto/evp/m_md2.c
>   $(OPENSSL_PATH)/crypto/evp/m_md4.c
>+  $(OPENSSL_PATH)/crypto/md4/md4_locl.h
>   $(OPENSSL_PATH)/crypto/evp/m_md5.c
>   $(OPENSSL_PATH)/crypto/evp/m_md5_sha1.c
>   $(OPENSSL_PATH)/crypto/evp/m_mdc2.c
>@@ -280,11 +304,13 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/evp/pmeth_fn.c
>   $(OPENSSL_PATH)/crypto/evp/pmeth_gn.c
>   $(OPENSSL_PATH)/crypto/evp/pmeth_lib.c
>+  $(OPENSSL_PATH)/crypto/evp/evp_locl.h
>   $(OPENSSL_PATH)/crypto/ex_data.c
>   $(OPENSSL_PATH)/crypto/getenv.c
>   $(OPENSSL_PATH)/crypto/hmac/hm_ameth.c
>   $(OPENSSL_PATH)/crypto/hmac/hm_pmeth.c
>   $(OPENSSL_PATH)/crypto/hmac/hmac.c
>+  $(OPENSSL_PATH)/crypto/hmac/hmac_lcl.h
>   $(OPENSSL_PATH)/crypto/init.c
>   $(OPENSSL_PATH)/crypto/kdf/hkdf.c
>   $(OPENSSL_PATH)/crypto/kdf/kdf_err.c
>@@ -292,10 +318,12 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/kdf/tls1_prf.c
>   $(OPENSSL_PATH)/crypto/lhash/lh_stats.c
>   $(OPENSSL_PATH)/crypto/lhash/lhash.c
>+  $(OPENSSL_PATH)/crypto/lhash/lhash_lcl.h
>   $(OPENSSL_PATH)/crypto/md4/md4_dgst.c
>   $(OPENSSL_PATH)/crypto/md4/md4_one.c
>   $(OPENSSL_PATH)/crypto/md5/md5_dgst.c
>   $(OPENSSL_PATH)/crypto/md5/md5_one.c
>+  $(OPENSSL_PATH)/crypto/md5/md5_locl.h
>   $(OPENSSL_PATH)/crypto/mem.c
>   $(OPENSSL_PATH)/crypto/mem_clr.c
>   $(OPENSSL_PATH)/crypto/mem_dbg.c
>@@ -310,6 +338,7 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/modes/ofb128.c
>   $(OPENSSL_PATH)/crypto/modes/wrap128.c
>   $(OPENSSL_PATH)/crypto/modes/xts128.c
>+  $(OPENSSL_PATH)/crypto/modes/modes_lcl.h
>   $(OPENSSL_PATH)/crypto/o_dir.c
>   $(OPENSSL_PATH)/crypto/o_fips.c
>   $(OPENSSL_PATH)/crypto/o_fopen.c
>@@ -321,6 +350,9 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/objects/obj_err.c
>   $(OPENSSL_PATH)/crypto/objects/obj_lib.c
>   $(OPENSSL_PATH)/crypto/objects/obj_xref.c
>+  $(OPENSSL_PATH)/crypto/objects/obj_dat.h
>+  $(OPENSSL_PATH)/crypto/objects/obj_xref.h
>+  $(OPENSSL_PATH)/crypto/objects/obj_lcl.h
>   $(OPENSSL_PATH)/crypto/ocsp/ocsp_asn.c
>   $(OPENSSL_PATH)/crypto/ocsp/ocsp_cl.c
>   $(OPENSSL_PATH)/crypto/ocsp/ocsp_err.c
>@@ -331,6 +363,7 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/ocsp/ocsp_srv.c
>   $(OPENSSL_PATH)/crypto/ocsp/ocsp_vfy.c
>   $(OPENSSL_PATH)/crypto/ocsp/v3_ocsp.c
>+  $(OPENSSL_PATH)/crypto/ocsp/ocsp_lcl.h
>   $(OPENSSL_PATH)/crypto/pem/pem_all.c
>   $(OPENSSL_PATH)/crypto/pem/pem_err.c
>   $(OPENSSL_PATH)/crypto/pem/pem_info.c
>@@ -366,6 +399,8 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/pkcs7/pk7_mime.c
>   $(OPENSSL_PATH)/crypto/pkcs7/pk7_smime.c
>   $(OPENSSL_PATH)/crypto/pkcs7/pkcs7err.c
>+  $(OPENSSL_PATH)/crypto/pkcs12/p12_lcl.h
>+  $(OPENSSL_PATH)/crypto/ppc_arch.h
>   $(OPENSSL_PATH)/crypto/rand/drbg_ctr.c
>   $(OPENSSL_PATH)/crypto/rand/drbg_lib.c
>   $(OPENSSL_PATH)/crypto/rand/rand_egd.c
>@@ -374,8 +409,10 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/rand/rand_unix.c
>   $(OPENSSL_PATH)/crypto/rand/rand_vms.c
>   $(OPENSSL_PATH)/crypto/rand/rand_win.c
>+  $(OPENSSL_PATH)/crypto/rand/rand_lcl.h
>   $(OPENSSL_PATH)/crypto/rc4/rc4_enc.c
>   $(OPENSSL_PATH)/crypto/rc4/rc4_skey.c
>+  $(OPENSSL_PATH)/crypto/rc4/rc4_locl.h
>   $(OPENSSL_PATH)/crypto/rsa/rsa_ameth.c
>   $(OPENSSL_PATH)/crypto/rsa/rsa_asn1.c
>   $(OPENSSL_PATH)/crypto/rsa/rsa_chk.c
>@@ -398,18 +435,24 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/rsa/rsa_ssl.c
>   $(OPENSSL_PATH)/crypto/rsa/rsa_x931.c
>   $(OPENSSL_PATH)/crypto/rsa/rsa_x931g.c
>+  $(OPENSSL_PATH)/crypto/rsa/rsa_locl.h
>   $(OPENSSL_PATH)/crypto/sha/keccak1600.c
>   $(OPENSSL_PATH)/crypto/sha/sha1_one.c
>   $(OPENSSL_PATH)/crypto/sha/sha1dgst.c
>   $(OPENSSL_PATH)/crypto/sha/sha256.c
>   $(OPENSSL_PATH)/crypto/sha/sha512.c
>+  $(OPENSSL_PATH)/crypto/sha/sha_locl.h
>   $(OPENSSL_PATH)/crypto/siphash/siphash.c
>   $(OPENSSL_PATH)/crypto/siphash/siphash_ameth.c
>   $(OPENSSL_PATH)/crypto/siphash/siphash_pmeth.c
>+  $(OPENSSL_PATH)/crypto/siphash/siphash_local.h
>   $(OPENSSL_PATH)/crypto/sm3/m_sm3.c
>   $(OPENSSL_PATH)/crypto/sm3/sm3.c
>+  $(OPENSSL_PATH)/crypto/sm3/sm3_locl.h
>   $(OPENSSL_PATH)/crypto/sm4/sm4.c
>   $(OPENSSL_PATH)/crypto/stack/stack.c
>+  $(OPENSSL_PATH)/crypto/s390x_arch.h
>+  $(OPENSSL_PATH)/crypto/sparc_arch.h
>   $(OPENSSL_PATH)/crypto/threads_none.c
>   $(OPENSSL_PATH)/crypto/threads_pthread.c
>   $(OPENSSL_PATH)/crypto/threads_win.c
>@@ -419,7 +462,9 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/ui/ui_null.c
>   $(OPENSSL_PATH)/crypto/ui/ui_openssl.c
>   $(OPENSSL_PATH)/crypto/ui/ui_util.c
>+  $(OPENSSL_PATH)/crypto/ui/ui_locl.h
>   $(OPENSSL_PATH)/crypto/uid.c
>+  $(OPENSSL_PATH)/crypto/vms_rms.h
>   $(OPENSSL_PATH)/crypto/x509/by_dir.c
>   $(OPENSSL_PATH)/crypto/x509/by_file.c
>   $(OPENSSL_PATH)/crypto/x509/t_crl.c
>@@ -456,6 +501,7 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/x509/x_req.c
>   $(OPENSSL_PATH)/crypto/x509/x_x509.c
>   $(OPENSSL_PATH)/crypto/x509/x_x509a.c
>+  $(OPENSSL_PATH)/crypto/x509/x509_lcl.h
>   $(OPENSSL_PATH)/crypto/x509v3/pcy_cache.c
>   $(OPENSSL_PATH)/crypto/x509v3/pcy_data.c
>   $(OPENSSL_PATH)/crypto/x509v3/pcy_lib.c
>@@ -493,8 +539,13 @@ [Sources]
>   $(OPENSSL_PATH)/crypto/x509v3/v3_tlsf.c
>   $(OPENSSL_PATH)/crypto/x509v3/v3_utl.c
>   $(OPENSSL_PATH)/crypto/x509v3/v3err.c
>+  $(OPENSSL_PATH)/crypto/x509v3/pcy_int.h
>+  $(OPENSSL_PATH)/crypto/x509v3/v3_admis.h
>+  $(OPENSSL_PATH)/crypto/x509v3/standard_exts.h
>+  $(OPENSSL_PATH)/crypto/x509v3/ext_dat.h
> # Autogenerated files list ends here
>-
>+  buildinf.h
>+  rand_pool_noise.h
>   ossl_store.c
>   rand_pool.c
>
>--
>2.18.0.windows.1
>
>
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] CryptoPkg/OpensslLib: Add missing header files in INF file
  2019-08-13  8:50 [PATCH 1/1] CryptoPkg/OpensslLib: Add missing header files in INF file Zhang, Shenglei
  2019-08-15  8:40 ` [edk2-devel] " Liming Gao
@ 2019-08-15  8:58 ` Wang, Jian J
       [not found] ` <15BB0CF36608D78D.28665@groups.io>
  2 siblings, 0 replies; 5+ messages in thread
From: Wang, Jian J @ 2019-08-15  8:58 UTC (permalink / raw)
  To: Zhang, Shenglei, devel@edk2.groups.io; +Cc: Ye, Ting


Reviewed-by: Jian J Wang <jian.j.wang@intel.com>

> -----Original Message-----
> From: Zhang, Shenglei
> Sent: Tuesday, August 13, 2019 4:50 PM
> To: devel@edk2.groups.io
> Cc: Wang, Jian J <jian.j.wang@intel.com>; Ye, Ting <ting.ye@intel.com>
> Subject: [PATCH 1/1] CryptoPkg/OpensslLib: Add missing header files in INF
> file
> 
> The header files are used but missing in INF,which causes
> warning message when building them.
> https://bugzilla.tianocore.org/show_bug.cgi?id=2036
> 
> Cc: Jian Wang <jian.j.wang@intel.com>
> Cc: Ting Ye <ting.ye@intel.com>
> Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
> ---
>  CryptoPkg/Library/OpensslLib/OpensslLib.inf   | 59
> +++++++++++++++++++
>  .../Library/OpensslLib/OpensslLibCrypto.inf   | 53 ++++++++++++++++-
>  2 files changed, 111 insertions(+), 1 deletion(-)
> 
> diff --git a/CryptoPkg/Library/OpensslLib/OpensslLib.inf
> b/CryptoPkg/Library/OpensslLib/OpensslLib.inf
> index 5f36edeeef3c..7432321fd431 100644
> --- a/CryptoPkg/Library/OpensslLib/OpensslLib.inf
> +++ b/CryptoPkg/Library/OpensslLib/OpensslLib.inf
> @@ -22,6 +22,8 @@ [Defines]
>  #
> 
>  [Sources]
> +  buildinf.h
> +  rand_pool_noise.h
>    $(OPENSSL_PATH)/e_os.h
>  # Autogenerated files list starts here
>    $(OPENSSL_PATH)/crypto/aes/aes_cbc.c
> @@ -32,7 +34,9 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/aes/aes_misc.c
>    $(OPENSSL_PATH)/crypto/aes/aes_ofb.c
>    $(OPENSSL_PATH)/crypto/aes/aes_wrap.c
> +  $(OPENSSL_PATH)/crypto/aes/aes_locl.h
>    $(OPENSSL_PATH)/crypto/aria/aria.c
> +  $(OPENSSL_PATH)/crypto/arm_arch.h
>    $(OPENSSL_PATH)/crypto/asn1/a_bitstr.c
>    $(OPENSSL_PATH)/crypto/asn1/a_d2i_fp.c
>    $(OPENSSL_PATH)/crypto/asn1/a_digest.c
> @@ -97,12 +101,21 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/asn1/x_sig.c
>    $(OPENSSL_PATH)/crypto/asn1/x_spki.c
>    $(OPENSSL_PATH)/crypto/asn1/x_val.c
> +  $(OPENSSL_PATH)/crypto/asn1/standard_methods.h
> +  $(OPENSSL_PATH)/crypto/asn1/charmap.h
> +  $(OPENSSL_PATH)/crypto/asn1/tbl_standard.h
> +  $(OPENSSL_PATH)/crypto/asn1/asn1_item_list.h
> +  $(OPENSSL_PATH)/crypto/asn1/asn1_locl.h
>    $(OPENSSL_PATH)/crypto/async/arch/async_null.c
>    $(OPENSSL_PATH)/crypto/async/arch/async_posix.c
>    $(OPENSSL_PATH)/crypto/async/arch/async_win.c
>    $(OPENSSL_PATH)/crypto/async/async.c
>    $(OPENSSL_PATH)/crypto/async/async_err.c
>    $(OPENSSL_PATH)/crypto/async/async_wait.c
> +  $(OPENSSL_PATH)/crypto/async/arch/async_win.h
> +  $(OPENSSL_PATH)/crypto/async/async_locl.h
> +  $(OPENSSL_PATH)/crypto/async/arch/async_posix.h
> +  $(OPENSSL_PATH)/crypto/async/arch/async_null.h
>    $(OPENSSL_PATH)/crypto/bio/b_addr.c
>    $(OPENSSL_PATH)/crypto/bio/b_dump.c
>    $(OPENSSL_PATH)/crypto/bio/b_sock.c
> @@ -125,6 +138,7 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/bio/bss_mem.c
>    $(OPENSSL_PATH)/crypto/bio/bss_null.c
>    $(OPENSSL_PATH)/crypto/bio/bss_sock.c
> +  $(OPENSSL_PATH)/crypto/bio/bio_lcl.h
>    $(OPENSSL_PATH)/crypto/bn/bn_add.c
>    $(OPENSSL_PATH)/crypto/bn/bn_asm.c
>    $(OPENSSL_PATH)/crypto/bn/bn_blind.c
> @@ -156,6 +170,9 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/bn/bn_srp.c
>    $(OPENSSL_PATH)/crypto/bn/bn_word.c
>    $(OPENSSL_PATH)/crypto/bn/bn_x931p.c
> +  $(OPENSSL_PATH)/crypto/bn/rsaz_exp.h
> +  $(OPENSSL_PATH)/crypto/bn/bn_prime.h
> +  $(OPENSSL_PATH)/crypto/bn/bn_lcl.h
>    $(OPENSSL_PATH)/crypto/buffer/buf_err.c
>    $(OPENSSL_PATH)/crypto/buffer/buffer.c
>    $(OPENSSL_PATH)/crypto/cmac/cm_ameth.c
> @@ -164,6 +181,7 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/comp/c_zlib.c
>    $(OPENSSL_PATH)/crypto/comp/comp_err.c
>    $(OPENSSL_PATH)/crypto/comp/comp_lib.c
> +  $(OPENSSL_PATH)/crypto/comp/comp_lcl.h
>    $(OPENSSL_PATH)/crypto/conf/conf_api.c
>    $(OPENSSL_PATH)/crypto/conf/conf_def.c
>    $(OPENSSL_PATH)/crypto/conf/conf_err.c
> @@ -172,6 +190,8 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/conf/conf_mod.c
>    $(OPENSSL_PATH)/crypto/conf/conf_sap.c
>    $(OPENSSL_PATH)/crypto/conf/conf_ssl.c
> +  $(OPENSSL_PATH)/crypto/conf/conf_lcl.h
> +  $(OPENSSL_PATH)/crypto/conf/conf_def.h
>    $(OPENSSL_PATH)/crypto/cpt_err.c
>    $(OPENSSL_PATH)/crypto/cryptlib.c
>    $(OPENSSL_PATH)/crypto/ctype.c
> @@ -195,6 +215,8 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/des/set_key.c
>    $(OPENSSL_PATH)/crypto/des/str2key.c
>    $(OPENSSL_PATH)/crypto/des/xcbc_enc.c
> +  $(OPENSSL_PATH)/crypto/des/spr.h
> +  $(OPENSSL_PATH)/crypto/des/des_locl.h
>    $(OPENSSL_PATH)/crypto/dh/dh_ameth.c
>    $(OPENSSL_PATH)/crypto/dh/dh_asn1.c
>    $(OPENSSL_PATH)/crypto/dh/dh_check.c
> @@ -209,6 +231,7 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/dh/dh_prn.c
>    $(OPENSSL_PATH)/crypto/dh/dh_rfc5114.c
>    $(OPENSSL_PATH)/crypto/dh/dh_rfc7919.c
> +  $(OPENSSL_PATH)/crypto/dh/dh_locl.h
>    $(OPENSSL_PATH)/crypto/dso/dso_dl.c
>    $(OPENSSL_PATH)/crypto/dso/dso_dlfcn.c
>    $(OPENSSL_PATH)/crypto/dso/dso_err.c
> @@ -216,6 +239,7 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/dso/dso_openssl.c
>    $(OPENSSL_PATH)/crypto/dso/dso_vms.c
>    $(OPENSSL_PATH)/crypto/dso/dso_win32.c
> +  $(OPENSSL_PATH)/crypto/dso/dso_locl.h
>    $(OPENSSL_PATH)/crypto/ebcdic.c
>    $(OPENSSL_PATH)/crypto/err/err.c
>    $(OPENSSL_PATH)/crypto/err/err_prn.c
> @@ -280,11 +304,13 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/evp/pmeth_fn.c
>    $(OPENSSL_PATH)/crypto/evp/pmeth_gn.c
>    $(OPENSSL_PATH)/crypto/evp/pmeth_lib.c
> +  $(OPENSSL_PATH)/crypto/evp/evp_locl.h
>    $(OPENSSL_PATH)/crypto/ex_data.c
>    $(OPENSSL_PATH)/crypto/getenv.c
>    $(OPENSSL_PATH)/crypto/hmac/hm_ameth.c
>    $(OPENSSL_PATH)/crypto/hmac/hm_pmeth.c
>    $(OPENSSL_PATH)/crypto/hmac/hmac.c
> +  $(OPENSSL_PATH)/crypto/hmac/hmac_lcl.h
>    $(OPENSSL_PATH)/crypto/init.c
>    $(OPENSSL_PATH)/crypto/kdf/hkdf.c
>    $(OPENSSL_PATH)/crypto/kdf/kdf_err.c
> @@ -292,10 +318,13 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/kdf/tls1_prf.c
>    $(OPENSSL_PATH)/crypto/lhash/lh_stats.c
>    $(OPENSSL_PATH)/crypto/lhash/lhash.c
> +  $(OPENSSL_PATH)/crypto/lhash/lhash_lcl.h
>    $(OPENSSL_PATH)/crypto/md4/md4_dgst.c
>    $(OPENSSL_PATH)/crypto/md4/md4_one.c
> +  $(OPENSSL_PATH)/crypto/md4/md4_locl.h
>    $(OPENSSL_PATH)/crypto/md5/md5_dgst.c
>    $(OPENSSL_PATH)/crypto/md5/md5_one.c
> +  $(OPENSSL_PATH)/crypto/md5/md5_locl.h
>    $(OPENSSL_PATH)/crypto/mem.c
>    $(OPENSSL_PATH)/crypto/mem_clr.c
>    $(OPENSSL_PATH)/crypto/mem_dbg.c
> @@ -310,6 +339,7 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/modes/ofb128.c
>    $(OPENSSL_PATH)/crypto/modes/wrap128.c
>    $(OPENSSL_PATH)/crypto/modes/xts128.c
> +  $(OPENSSL_PATH)/crypto/modes/modes_lcl.h
>    $(OPENSSL_PATH)/crypto/o_dir.c
>    $(OPENSSL_PATH)/crypto/o_fips.c
>    $(OPENSSL_PATH)/crypto/o_fopen.c
> @@ -321,6 +351,9 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/objects/obj_err.c
>    $(OPENSSL_PATH)/crypto/objects/obj_lib.c
>    $(OPENSSL_PATH)/crypto/objects/obj_xref.c
> +  $(OPENSSL_PATH)/crypto/objects/obj_dat.h
> +  $(OPENSSL_PATH)/crypto/objects/obj_xref.h
> +  $(OPENSSL_PATH)/crypto/objects/obj_lcl.h
>    $(OPENSSL_PATH)/crypto/ocsp/ocsp_asn.c
>    $(OPENSSL_PATH)/crypto/ocsp/ocsp_cl.c
>    $(OPENSSL_PATH)/crypto/ocsp/ocsp_err.c
> @@ -331,6 +364,7 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/ocsp/ocsp_srv.c
>    $(OPENSSL_PATH)/crypto/ocsp/ocsp_vfy.c
>    $(OPENSSL_PATH)/crypto/ocsp/v3_ocsp.c
> +  $(OPENSSL_PATH)/crypto/ocsp/ocsp_lcl.h
>    $(OPENSSL_PATH)/crypto/pem/pem_all.c
>    $(OPENSSL_PATH)/crypto/pem/pem_err.c
>    $(OPENSSL_PATH)/crypto/pem/pem_info.c
> @@ -358,6 +392,7 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/pkcs12/p12_sbag.c
>    $(OPENSSL_PATH)/crypto/pkcs12/p12_utl.c
>    $(OPENSSL_PATH)/crypto/pkcs12/pk12err.c
> +  $(OPENSSL_PATH)/crypto/pkcs12/p12_lcl.h
>    $(OPENSSL_PATH)/crypto/pkcs7/bio_pk7.c
>    $(OPENSSL_PATH)/crypto/pkcs7/pk7_asn1.c
>    $(OPENSSL_PATH)/crypto/pkcs7/pk7_attr.c
> @@ -366,6 +401,7 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/pkcs7/pk7_mime.c
>    $(OPENSSL_PATH)/crypto/pkcs7/pk7_smime.c
>    $(OPENSSL_PATH)/crypto/pkcs7/pkcs7err.c
> +  $(OPENSSL_PATH)/crypto/ppc_arch.h
>    $(OPENSSL_PATH)/crypto/rand/drbg_ctr.c
>    $(OPENSSL_PATH)/crypto/rand/drbg_lib.c
>    $(OPENSSL_PATH)/crypto/rand/rand_egd.c
> @@ -374,8 +410,10 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/rand/rand_unix.c
>    $(OPENSSL_PATH)/crypto/rand/rand_vms.c
>    $(OPENSSL_PATH)/crypto/rand/rand_win.c
> +  $(OPENSSL_PATH)/crypto/rand/rand_lcl.h
>    $(OPENSSL_PATH)/crypto/rc4/rc4_enc.c
>    $(OPENSSL_PATH)/crypto/rc4/rc4_skey.c
> +  $(OPENSSL_PATH)/crypto/rc4/rc4_locl.h
>    $(OPENSSL_PATH)/crypto/rsa/rsa_ameth.c
>    $(OPENSSL_PATH)/crypto/rsa/rsa_asn1.c
>    $(OPENSSL_PATH)/crypto/rsa/rsa_chk.c
> @@ -398,18 +436,24 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/rsa/rsa_ssl.c
>    $(OPENSSL_PATH)/crypto/rsa/rsa_x931.c
>    $(OPENSSL_PATH)/crypto/rsa/rsa_x931g.c
> +  $(OPENSSL_PATH)/crypto/rsa/rsa_locl.h
> +  $(OPENSSL_PATH)/crypto/s390x_arch.h
>    $(OPENSSL_PATH)/crypto/sha/keccak1600.c
>    $(OPENSSL_PATH)/crypto/sha/sha1_one.c
>    $(OPENSSL_PATH)/crypto/sha/sha1dgst.c
>    $(OPENSSL_PATH)/crypto/sha/sha256.c
>    $(OPENSSL_PATH)/crypto/sha/sha512.c
> +  $(OPENSSL_PATH)/crypto/sha/sha_locl.h
>    $(OPENSSL_PATH)/crypto/siphash/siphash.c
>    $(OPENSSL_PATH)/crypto/siphash/siphash_ameth.c
>    $(OPENSSL_PATH)/crypto/siphash/siphash_pmeth.c
> +  $(OPENSSL_PATH)/crypto/siphash/siphash_local.h
>    $(OPENSSL_PATH)/crypto/sm3/m_sm3.c
>    $(OPENSSL_PATH)/crypto/sm3/sm3.c
> +  $(OPENSSL_PATH)/crypto/sm3/sm3_locl.h
>    $(OPENSSL_PATH)/crypto/sm4/sm4.c
>    $(OPENSSL_PATH)/crypto/stack/stack.c
> +  $(OPENSSL_PATH)/crypto/sparc_arch.h
>    $(OPENSSL_PATH)/crypto/threads_none.c
>    $(OPENSSL_PATH)/crypto/threads_pthread.c
>    $(OPENSSL_PATH)/crypto/threads_win.c
> @@ -419,6 +463,8 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/ui/ui_null.c
>    $(OPENSSL_PATH)/crypto/ui/ui_openssl.c
>    $(OPENSSL_PATH)/crypto/ui/ui_util.c
> +  $(OPENSSL_PATH)/crypto/ui/ui_locl.h
> +  $(OPENSSL_PATH)/crypto/vms_rms.h
>    $(OPENSSL_PATH)/crypto/uid.c
>    $(OPENSSL_PATH)/crypto/x509/by_dir.c
>    $(OPENSSL_PATH)/crypto/x509/by_file.c
> @@ -456,6 +502,7 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/x509/x_req.c
>    $(OPENSSL_PATH)/crypto/x509/x_x509.c
>    $(OPENSSL_PATH)/crypto/x509/x_x509a.c
> +  $(OPENSSL_PATH)/crypto/x509/x509_lcl.h
>    $(OPENSSL_PATH)/crypto/x509v3/pcy_cache.c
>    $(OPENSSL_PATH)/crypto/x509v3/pcy_data.c
>    $(OPENSSL_PATH)/crypto/x509v3/pcy_lib.c
> @@ -493,6 +540,11 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/x509v3/v3_tlsf.c
>    $(OPENSSL_PATH)/crypto/x509v3/v3_utl.c
>    $(OPENSSL_PATH)/crypto/x509v3/v3err.c
> +  $(OPENSSL_PATH)/crypto/x509v3/pcy_int.h
> +  $(OPENSSL_PATH)/crypto/x509v3/v3_admis.h
> +  $(OPENSSL_PATH)/crypto/x509v3/standard_exts.h
> +  $(OPENSSL_PATH)/crypto/x509v3/ext_dat.h
> +  $(OPENSSL_PATH)/ms/uplink.h
>    $(OPENSSL_PATH)/ssl/bio_ssl.c
>    $(OPENSSL_PATH)/ssl/d1_lib.c
>    $(OPENSSL_PATH)/ssl/d1_msg.c
> @@ -537,6 +589,13 @@ [Sources]
>    $(OPENSSL_PATH)/ssl/t1_trce.c
>    $(OPENSSL_PATH)/ssl/tls13_enc.c
>    $(OPENSSL_PATH)/ssl/tls_srp.c
> +  $(OPENSSL_PATH)/ssl/record/record_locl.h
> +  $(OPENSSL_PATH)/ssl/statem/statem.h
> +  $(OPENSSL_PATH)/ssl/statem/statem_locl.h
> +  $(OPENSSL_PATH)/ssl/ssl_locl.h
> +  $(OPENSSL_PATH)/ssl/record/record.h
> +  $(OPENSSL_PATH)/ssl/ssl_cert_table.h
> +  $(OPENSSL_PATH)/ssl/packet_locl.h
>  # Autogenerated files list ends here
> 
>    ossl_store.c
> diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
> b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
> index de05cac931d9..8134b45eda25 100644
> --- a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
> +++ b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
> @@ -23,6 +23,7 @@ [Defines]
> 
>  [Sources]
>    $(OPENSSL_PATH)/e_os.h
> +  $(OPENSSL_PATH)/ms/uplink.h
>  # Autogenerated files list starts here
>    $(OPENSSL_PATH)/crypto/aes/aes_cbc.c
>    $(OPENSSL_PATH)/crypto/aes/aes_cfb.c
> @@ -32,7 +33,9 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/aes/aes_misc.c
>    $(OPENSSL_PATH)/crypto/aes/aes_ofb.c
>    $(OPENSSL_PATH)/crypto/aes/aes_wrap.c
> +  $(OPENSSL_PATH)/crypto/aes/aes_locl.h
>    $(OPENSSL_PATH)/crypto/aria/aria.c
> +  $(OPENSSL_PATH)/crypto/arm_arch.h
>    $(OPENSSL_PATH)/crypto/asn1/a_bitstr.c
>    $(OPENSSL_PATH)/crypto/asn1/a_d2i_fp.c
>    $(OPENSSL_PATH)/crypto/asn1/a_digest.c
> @@ -97,12 +100,21 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/asn1/x_sig.c
>    $(OPENSSL_PATH)/crypto/asn1/x_spki.c
>    $(OPENSSL_PATH)/crypto/asn1/x_val.c
> +  $(OPENSSL_PATH)/crypto/asn1/standard_methods.h
> +  $(OPENSSL_PATH)/crypto/asn1/charmap.h
> +  $(OPENSSL_PATH)/crypto/asn1/tbl_standard.h
> +  $(OPENSSL_PATH)/crypto/asn1/asn1_item_list.h
> +  $(OPENSSL_PATH)/crypto/asn1/asn1_locl.h
>    $(OPENSSL_PATH)/crypto/async/arch/async_null.c
>    $(OPENSSL_PATH)/crypto/async/arch/async_posix.c
>    $(OPENSSL_PATH)/crypto/async/arch/async_win.c
> +  $(OPENSSL_PATH)/crypto/async/arch/async_posix.h
> +  $(OPENSSL_PATH)/crypto/async/arch/async_null.h
> +  $(OPENSSL_PATH)/crypto/async/arch/async_win.h
>    $(OPENSSL_PATH)/crypto/async/async.c
>    $(OPENSSL_PATH)/crypto/async/async_err.c
>    $(OPENSSL_PATH)/crypto/async/async_wait.c
> +  $(OPENSSL_PATH)/crypto/async/async_locl.h
>    $(OPENSSL_PATH)/crypto/bio/b_addr.c
>    $(OPENSSL_PATH)/crypto/bio/b_dump.c
>    $(OPENSSL_PATH)/crypto/bio/b_sock.c
> @@ -125,6 +137,7 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/bio/bss_mem.c
>    $(OPENSSL_PATH)/crypto/bio/bss_null.c
>    $(OPENSSL_PATH)/crypto/bio/bss_sock.c
> +  $(OPENSSL_PATH)/crypto/bio/bio_lcl.h
>    $(OPENSSL_PATH)/crypto/bn/bn_add.c
>    $(OPENSSL_PATH)/crypto/bn/bn_asm.c
>    $(OPENSSL_PATH)/crypto/bn/bn_blind.c
> @@ -156,6 +169,9 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/bn/bn_srp.c
>    $(OPENSSL_PATH)/crypto/bn/bn_word.c
>    $(OPENSSL_PATH)/crypto/bn/bn_x931p.c
> +  $(OPENSSL_PATH)/crypto/bn/rsaz_exp.h
> +  $(OPENSSL_PATH)/crypto/bn/bn_prime.h
> +  $(OPENSSL_PATH)/crypto/bn/bn_lcl.h
>    $(OPENSSL_PATH)/crypto/buffer/buf_err.c
>    $(OPENSSL_PATH)/crypto/buffer/buffer.c
>    $(OPENSSL_PATH)/crypto/cmac/cm_ameth.c
> @@ -164,6 +180,7 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/comp/c_zlib.c
>    $(OPENSSL_PATH)/crypto/comp/comp_err.c
>    $(OPENSSL_PATH)/crypto/comp/comp_lib.c
> +  $(OPENSSL_PATH)/crypto/comp/comp_lcl.h
>    $(OPENSSL_PATH)/crypto/conf/conf_api.c
>    $(OPENSSL_PATH)/crypto/conf/conf_def.c
>    $(OPENSSL_PATH)/crypto/conf/conf_err.c
> @@ -172,6 +189,8 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/conf/conf_mod.c
>    $(OPENSSL_PATH)/crypto/conf/conf_sap.c
>    $(OPENSSL_PATH)/crypto/conf/conf_ssl.c
> +  $(OPENSSL_PATH)/crypto/conf/conf_lcl.h
> +  $(OPENSSL_PATH)/crypto/conf/conf_def.h
>    $(OPENSSL_PATH)/crypto/cpt_err.c
>    $(OPENSSL_PATH)/crypto/cryptlib.c
>    $(OPENSSL_PATH)/crypto/ctype.c
> @@ -195,6 +214,8 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/des/set_key.c
>    $(OPENSSL_PATH)/crypto/des/str2key.c
>    $(OPENSSL_PATH)/crypto/des/xcbc_enc.c
> +  $(OPENSSL_PATH)/crypto/des/spr.h
> +  $(OPENSSL_PATH)/crypto/des/des_locl.h
>    $(OPENSSL_PATH)/crypto/dh/dh_ameth.c
>    $(OPENSSL_PATH)/crypto/dh/dh_asn1.c
>    $(OPENSSL_PATH)/crypto/dh/dh_check.c
> @@ -209,6 +230,7 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/dh/dh_prn.c
>    $(OPENSSL_PATH)/crypto/dh/dh_rfc5114.c
>    $(OPENSSL_PATH)/crypto/dh/dh_rfc7919.c
> +  $(OPENSSL_PATH)/crypto/dh/dh_locl.h
>    $(OPENSSL_PATH)/crypto/dso/dso_dl.c
>    $(OPENSSL_PATH)/crypto/dso/dso_dlfcn.c
>    $(OPENSSL_PATH)/crypto/dso/dso_err.c
> @@ -216,6 +238,7 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/dso/dso_openssl.c
>    $(OPENSSL_PATH)/crypto/dso/dso_vms.c
>    $(OPENSSL_PATH)/crypto/dso/dso_win32.c
> +  $(OPENSSL_PATH)/crypto/dso/dso_locl.h
>    $(OPENSSL_PATH)/crypto/ebcdic.c
>    $(OPENSSL_PATH)/crypto/err/err.c
>    $(OPENSSL_PATH)/crypto/err/err_prn.c
> @@ -257,6 +280,7 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/evp/evp_pkey.c
>    $(OPENSSL_PATH)/crypto/evp/m_md2.c
>    $(OPENSSL_PATH)/crypto/evp/m_md4.c
> +  $(OPENSSL_PATH)/crypto/md4/md4_locl.h
>    $(OPENSSL_PATH)/crypto/evp/m_md5.c
>    $(OPENSSL_PATH)/crypto/evp/m_md5_sha1.c
>    $(OPENSSL_PATH)/crypto/evp/m_mdc2.c
> @@ -280,11 +304,13 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/evp/pmeth_fn.c
>    $(OPENSSL_PATH)/crypto/evp/pmeth_gn.c
>    $(OPENSSL_PATH)/crypto/evp/pmeth_lib.c
> +  $(OPENSSL_PATH)/crypto/evp/evp_locl.h
>    $(OPENSSL_PATH)/crypto/ex_data.c
>    $(OPENSSL_PATH)/crypto/getenv.c
>    $(OPENSSL_PATH)/crypto/hmac/hm_ameth.c
>    $(OPENSSL_PATH)/crypto/hmac/hm_pmeth.c
>    $(OPENSSL_PATH)/crypto/hmac/hmac.c
> +  $(OPENSSL_PATH)/crypto/hmac/hmac_lcl.h
>    $(OPENSSL_PATH)/crypto/init.c
>    $(OPENSSL_PATH)/crypto/kdf/hkdf.c
>    $(OPENSSL_PATH)/crypto/kdf/kdf_err.c
> @@ -292,10 +318,12 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/kdf/tls1_prf.c
>    $(OPENSSL_PATH)/crypto/lhash/lh_stats.c
>    $(OPENSSL_PATH)/crypto/lhash/lhash.c
> +  $(OPENSSL_PATH)/crypto/lhash/lhash_lcl.h
>    $(OPENSSL_PATH)/crypto/md4/md4_dgst.c
>    $(OPENSSL_PATH)/crypto/md4/md4_one.c
>    $(OPENSSL_PATH)/crypto/md5/md5_dgst.c
>    $(OPENSSL_PATH)/crypto/md5/md5_one.c
> +  $(OPENSSL_PATH)/crypto/md5/md5_locl.h
>    $(OPENSSL_PATH)/crypto/mem.c
>    $(OPENSSL_PATH)/crypto/mem_clr.c
>    $(OPENSSL_PATH)/crypto/mem_dbg.c
> @@ -310,6 +338,7 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/modes/ofb128.c
>    $(OPENSSL_PATH)/crypto/modes/wrap128.c
>    $(OPENSSL_PATH)/crypto/modes/xts128.c
> +  $(OPENSSL_PATH)/crypto/modes/modes_lcl.h
>    $(OPENSSL_PATH)/crypto/o_dir.c
>    $(OPENSSL_PATH)/crypto/o_fips.c
>    $(OPENSSL_PATH)/crypto/o_fopen.c
> @@ -321,6 +350,9 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/objects/obj_err.c
>    $(OPENSSL_PATH)/crypto/objects/obj_lib.c
>    $(OPENSSL_PATH)/crypto/objects/obj_xref.c
> +  $(OPENSSL_PATH)/crypto/objects/obj_dat.h
> +  $(OPENSSL_PATH)/crypto/objects/obj_xref.h
> +  $(OPENSSL_PATH)/crypto/objects/obj_lcl.h
>    $(OPENSSL_PATH)/crypto/ocsp/ocsp_asn.c
>    $(OPENSSL_PATH)/crypto/ocsp/ocsp_cl.c
>    $(OPENSSL_PATH)/crypto/ocsp/ocsp_err.c
> @@ -331,6 +363,7 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/ocsp/ocsp_srv.c
>    $(OPENSSL_PATH)/crypto/ocsp/ocsp_vfy.c
>    $(OPENSSL_PATH)/crypto/ocsp/v3_ocsp.c
> +  $(OPENSSL_PATH)/crypto/ocsp/ocsp_lcl.h
>    $(OPENSSL_PATH)/crypto/pem/pem_all.c
>    $(OPENSSL_PATH)/crypto/pem/pem_err.c
>    $(OPENSSL_PATH)/crypto/pem/pem_info.c
> @@ -366,6 +399,8 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/pkcs7/pk7_mime.c
>    $(OPENSSL_PATH)/crypto/pkcs7/pk7_smime.c
>    $(OPENSSL_PATH)/crypto/pkcs7/pkcs7err.c
> +  $(OPENSSL_PATH)/crypto/pkcs12/p12_lcl.h
> +  $(OPENSSL_PATH)/crypto/ppc_arch.h
>    $(OPENSSL_PATH)/crypto/rand/drbg_ctr.c
>    $(OPENSSL_PATH)/crypto/rand/drbg_lib.c
>    $(OPENSSL_PATH)/crypto/rand/rand_egd.c
> @@ -374,8 +409,10 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/rand/rand_unix.c
>    $(OPENSSL_PATH)/crypto/rand/rand_vms.c
>    $(OPENSSL_PATH)/crypto/rand/rand_win.c
> +  $(OPENSSL_PATH)/crypto/rand/rand_lcl.h
>    $(OPENSSL_PATH)/crypto/rc4/rc4_enc.c
>    $(OPENSSL_PATH)/crypto/rc4/rc4_skey.c
> +  $(OPENSSL_PATH)/crypto/rc4/rc4_locl.h
>    $(OPENSSL_PATH)/crypto/rsa/rsa_ameth.c
>    $(OPENSSL_PATH)/crypto/rsa/rsa_asn1.c
>    $(OPENSSL_PATH)/crypto/rsa/rsa_chk.c
> @@ -398,18 +435,24 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/rsa/rsa_ssl.c
>    $(OPENSSL_PATH)/crypto/rsa/rsa_x931.c
>    $(OPENSSL_PATH)/crypto/rsa/rsa_x931g.c
> +  $(OPENSSL_PATH)/crypto/rsa/rsa_locl.h
>    $(OPENSSL_PATH)/crypto/sha/keccak1600.c
>    $(OPENSSL_PATH)/crypto/sha/sha1_one.c
>    $(OPENSSL_PATH)/crypto/sha/sha1dgst.c
>    $(OPENSSL_PATH)/crypto/sha/sha256.c
>    $(OPENSSL_PATH)/crypto/sha/sha512.c
> +  $(OPENSSL_PATH)/crypto/sha/sha_locl.h
>    $(OPENSSL_PATH)/crypto/siphash/siphash.c
>    $(OPENSSL_PATH)/crypto/siphash/siphash_ameth.c
>    $(OPENSSL_PATH)/crypto/siphash/siphash_pmeth.c
> +  $(OPENSSL_PATH)/crypto/siphash/siphash_local.h
>    $(OPENSSL_PATH)/crypto/sm3/m_sm3.c
>    $(OPENSSL_PATH)/crypto/sm3/sm3.c
> +  $(OPENSSL_PATH)/crypto/sm3/sm3_locl.h
>    $(OPENSSL_PATH)/crypto/sm4/sm4.c
>    $(OPENSSL_PATH)/crypto/stack/stack.c
> +  $(OPENSSL_PATH)/crypto/s390x_arch.h
> +  $(OPENSSL_PATH)/crypto/sparc_arch.h
>    $(OPENSSL_PATH)/crypto/threads_none.c
>    $(OPENSSL_PATH)/crypto/threads_pthread.c
>    $(OPENSSL_PATH)/crypto/threads_win.c
> @@ -419,7 +462,9 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/ui/ui_null.c
>    $(OPENSSL_PATH)/crypto/ui/ui_openssl.c
>    $(OPENSSL_PATH)/crypto/ui/ui_util.c
> +  $(OPENSSL_PATH)/crypto/ui/ui_locl.h
>    $(OPENSSL_PATH)/crypto/uid.c
> +  $(OPENSSL_PATH)/crypto/vms_rms.h
>    $(OPENSSL_PATH)/crypto/x509/by_dir.c
>    $(OPENSSL_PATH)/crypto/x509/by_file.c
>    $(OPENSSL_PATH)/crypto/x509/t_crl.c
> @@ -456,6 +501,7 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/x509/x_req.c
>    $(OPENSSL_PATH)/crypto/x509/x_x509.c
>    $(OPENSSL_PATH)/crypto/x509/x_x509a.c
> +  $(OPENSSL_PATH)/crypto/x509/x509_lcl.h
>    $(OPENSSL_PATH)/crypto/x509v3/pcy_cache.c
>    $(OPENSSL_PATH)/crypto/x509v3/pcy_data.c
>    $(OPENSSL_PATH)/crypto/x509v3/pcy_lib.c
> @@ -493,8 +539,13 @@ [Sources]
>    $(OPENSSL_PATH)/crypto/x509v3/v3_tlsf.c
>    $(OPENSSL_PATH)/crypto/x509v3/v3_utl.c
>    $(OPENSSL_PATH)/crypto/x509v3/v3err.c
> +  $(OPENSSL_PATH)/crypto/x509v3/pcy_int.h
> +  $(OPENSSL_PATH)/crypto/x509v3/v3_admis.h
> +  $(OPENSSL_PATH)/crypto/x509v3/standard_exts.h
> +  $(OPENSSL_PATH)/crypto/x509v3/ext_dat.h
>  # Autogenerated files list ends here
> -
> +  buildinf.h
> +  rand_pool_noise.h
>    ossl_store.c
>    rand_pool.c
> 
> --
> 2.18.0.windows.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [edk2-devel] [PATCH 1/1] CryptoPkg/OpensslLib: Add missing header files in INF file
       [not found] ` <15BB0CF36608D78D.28665@groups.io>
@ 2019-08-16  2:14   ` Wang, Jian J
  2019-08-16  3:58   ` Wang, Jian J
  1 sibling, 0 replies; 5+ messages in thread
From: Wang, Jian J @ 2019-08-16  2:14 UTC (permalink / raw)
  To: devel@edk2.groups.io, Wang, Jian J, Zhang, Shenglei; +Cc: Ye, Ting

Shenglei,

Sorry that I forgot to mention that these two inf files are generated by process_files.pl
in the same folder. Please file another BZ to update this perl script to add those header
files into inf file.

Regards,
Jian


> -----Original Message-----
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> Wang, Jian J
> Sent: Thursday, August 15, 2019 4:59 PM
> To: Zhang, Shenglei <shenglei.zhang@intel.com>; devel@edk2.groups.io
> Cc: Ye, Ting <ting.ye@intel.com>
> Subject: Re: [edk2-devel] [PATCH 1/1] CryptoPkg/OpensslLib: Add missing
> header files in INF file
> 
> 
> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
> 
> > -----Original Message-----
> > From: Zhang, Shenglei
> > Sent: Tuesday, August 13, 2019 4:50 PM
> > To: devel@edk2.groups.io
> > Cc: Wang, Jian J <jian.j.wang@intel.com>; Ye, Ting <ting.ye@intel.com>
> > Subject: [PATCH 1/1] CryptoPkg/OpensslLib: Add missing header files in
> INF
> > file
> >
> > The header files are used but missing in INF,which causes
> > warning message when building them.
> > https://bugzilla.tianocore.org/show_bug.cgi?id=2036
> >
> > Cc: Jian Wang <jian.j.wang@intel.com>
> > Cc: Ting Ye <ting.ye@intel.com>
> > Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
> > ---
> >  CryptoPkg/Library/OpensslLib/OpensslLib.inf   | 59
> > +++++++++++++++++++
> >  .../Library/OpensslLib/OpensslLibCrypto.inf   | 53 ++++++++++++++++-
> >  2 files changed, 111 insertions(+), 1 deletion(-)
> >
> > diff --git a/CryptoPkg/Library/OpensslLib/OpensslLib.inf
> > b/CryptoPkg/Library/OpensslLib/OpensslLib.inf
> > index 5f36edeeef3c..7432321fd431 100644
> > --- a/CryptoPkg/Library/OpensslLib/OpensslLib.inf
> > +++ b/CryptoPkg/Library/OpensslLib/OpensslLib.inf
> > @@ -22,6 +22,8 @@ [Defines]
> >  #
> >
> >  [Sources]
> > +  buildinf.h
> > +  rand_pool_noise.h
> >    $(OPENSSL_PATH)/e_os.h
> >  # Autogenerated files list starts here
> >    $(OPENSSL_PATH)/crypto/aes/aes_cbc.c
> > @@ -32,7 +34,9 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/aes/aes_misc.c
> >    $(OPENSSL_PATH)/crypto/aes/aes_ofb.c
> >    $(OPENSSL_PATH)/crypto/aes/aes_wrap.c
> > +  $(OPENSSL_PATH)/crypto/aes/aes_locl.h
> >    $(OPENSSL_PATH)/crypto/aria/aria.c
> > +  $(OPENSSL_PATH)/crypto/arm_arch.h
> >    $(OPENSSL_PATH)/crypto/asn1/a_bitstr.c
> >    $(OPENSSL_PATH)/crypto/asn1/a_d2i_fp.c
> >    $(OPENSSL_PATH)/crypto/asn1/a_digest.c
> > @@ -97,12 +101,21 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/asn1/x_sig.c
> >    $(OPENSSL_PATH)/crypto/asn1/x_spki.c
> >    $(OPENSSL_PATH)/crypto/asn1/x_val.c
> > +  $(OPENSSL_PATH)/crypto/asn1/standard_methods.h
> > +  $(OPENSSL_PATH)/crypto/asn1/charmap.h
> > +  $(OPENSSL_PATH)/crypto/asn1/tbl_standard.h
> > +  $(OPENSSL_PATH)/crypto/asn1/asn1_item_list.h
> > +  $(OPENSSL_PATH)/crypto/asn1/asn1_locl.h
> >    $(OPENSSL_PATH)/crypto/async/arch/async_null.c
> >    $(OPENSSL_PATH)/crypto/async/arch/async_posix.c
> >    $(OPENSSL_PATH)/crypto/async/arch/async_win.c
> >    $(OPENSSL_PATH)/crypto/async/async.c
> >    $(OPENSSL_PATH)/crypto/async/async_err.c
> >    $(OPENSSL_PATH)/crypto/async/async_wait.c
> > +  $(OPENSSL_PATH)/crypto/async/arch/async_win.h
> > +  $(OPENSSL_PATH)/crypto/async/async_locl.h
> > +  $(OPENSSL_PATH)/crypto/async/arch/async_posix.h
> > +  $(OPENSSL_PATH)/crypto/async/arch/async_null.h
> >    $(OPENSSL_PATH)/crypto/bio/b_addr.c
> >    $(OPENSSL_PATH)/crypto/bio/b_dump.c
> >    $(OPENSSL_PATH)/crypto/bio/b_sock.c
> > @@ -125,6 +138,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/bio/bss_mem.c
> >    $(OPENSSL_PATH)/crypto/bio/bss_null.c
> >    $(OPENSSL_PATH)/crypto/bio/bss_sock.c
> > +  $(OPENSSL_PATH)/crypto/bio/bio_lcl.h
> >    $(OPENSSL_PATH)/crypto/bn/bn_add.c
> >    $(OPENSSL_PATH)/crypto/bn/bn_asm.c
> >    $(OPENSSL_PATH)/crypto/bn/bn_blind.c
> > @@ -156,6 +170,9 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/bn/bn_srp.c
> >    $(OPENSSL_PATH)/crypto/bn/bn_word.c
> >    $(OPENSSL_PATH)/crypto/bn/bn_x931p.c
> > +  $(OPENSSL_PATH)/crypto/bn/rsaz_exp.h
> > +  $(OPENSSL_PATH)/crypto/bn/bn_prime.h
> > +  $(OPENSSL_PATH)/crypto/bn/bn_lcl.h
> >    $(OPENSSL_PATH)/crypto/buffer/buf_err.c
> >    $(OPENSSL_PATH)/crypto/buffer/buffer.c
> >    $(OPENSSL_PATH)/crypto/cmac/cm_ameth.c
> > @@ -164,6 +181,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/comp/c_zlib.c
> >    $(OPENSSL_PATH)/crypto/comp/comp_err.c
> >    $(OPENSSL_PATH)/crypto/comp/comp_lib.c
> > +  $(OPENSSL_PATH)/crypto/comp/comp_lcl.h
> >    $(OPENSSL_PATH)/crypto/conf/conf_api.c
> >    $(OPENSSL_PATH)/crypto/conf/conf_def.c
> >    $(OPENSSL_PATH)/crypto/conf/conf_err.c
> > @@ -172,6 +190,8 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/conf/conf_mod.c
> >    $(OPENSSL_PATH)/crypto/conf/conf_sap.c
> >    $(OPENSSL_PATH)/crypto/conf/conf_ssl.c
> > +  $(OPENSSL_PATH)/crypto/conf/conf_lcl.h
> > +  $(OPENSSL_PATH)/crypto/conf/conf_def.h
> >    $(OPENSSL_PATH)/crypto/cpt_err.c
> >    $(OPENSSL_PATH)/crypto/cryptlib.c
> >    $(OPENSSL_PATH)/crypto/ctype.c
> > @@ -195,6 +215,8 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/des/set_key.c
> >    $(OPENSSL_PATH)/crypto/des/str2key.c
> >    $(OPENSSL_PATH)/crypto/des/xcbc_enc.c
> > +  $(OPENSSL_PATH)/crypto/des/spr.h
> > +  $(OPENSSL_PATH)/crypto/des/des_locl.h
> >    $(OPENSSL_PATH)/crypto/dh/dh_ameth.c
> >    $(OPENSSL_PATH)/crypto/dh/dh_asn1.c
> >    $(OPENSSL_PATH)/crypto/dh/dh_check.c
> > @@ -209,6 +231,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/dh/dh_prn.c
> >    $(OPENSSL_PATH)/crypto/dh/dh_rfc5114.c
> >    $(OPENSSL_PATH)/crypto/dh/dh_rfc7919.c
> > +  $(OPENSSL_PATH)/crypto/dh/dh_locl.h
> >    $(OPENSSL_PATH)/crypto/dso/dso_dl.c
> >    $(OPENSSL_PATH)/crypto/dso/dso_dlfcn.c
> >    $(OPENSSL_PATH)/crypto/dso/dso_err.c
> > @@ -216,6 +239,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/dso/dso_openssl.c
> >    $(OPENSSL_PATH)/crypto/dso/dso_vms.c
> >    $(OPENSSL_PATH)/crypto/dso/dso_win32.c
> > +  $(OPENSSL_PATH)/crypto/dso/dso_locl.h
> >    $(OPENSSL_PATH)/crypto/ebcdic.c
> >    $(OPENSSL_PATH)/crypto/err/err.c
> >    $(OPENSSL_PATH)/crypto/err/err_prn.c
> > @@ -280,11 +304,13 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/evp/pmeth_fn.c
> >    $(OPENSSL_PATH)/crypto/evp/pmeth_gn.c
> >    $(OPENSSL_PATH)/crypto/evp/pmeth_lib.c
> > +  $(OPENSSL_PATH)/crypto/evp/evp_locl.h
> >    $(OPENSSL_PATH)/crypto/ex_data.c
> >    $(OPENSSL_PATH)/crypto/getenv.c
> >    $(OPENSSL_PATH)/crypto/hmac/hm_ameth.c
> >    $(OPENSSL_PATH)/crypto/hmac/hm_pmeth.c
> >    $(OPENSSL_PATH)/crypto/hmac/hmac.c
> > +  $(OPENSSL_PATH)/crypto/hmac/hmac_lcl.h
> >    $(OPENSSL_PATH)/crypto/init.c
> >    $(OPENSSL_PATH)/crypto/kdf/hkdf.c
> >    $(OPENSSL_PATH)/crypto/kdf/kdf_err.c
> > @@ -292,10 +318,13 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/kdf/tls1_prf.c
> >    $(OPENSSL_PATH)/crypto/lhash/lh_stats.c
> >    $(OPENSSL_PATH)/crypto/lhash/lhash.c
> > +  $(OPENSSL_PATH)/crypto/lhash/lhash_lcl.h
> >    $(OPENSSL_PATH)/crypto/md4/md4_dgst.c
> >    $(OPENSSL_PATH)/crypto/md4/md4_one.c
> > +  $(OPENSSL_PATH)/crypto/md4/md4_locl.h
> >    $(OPENSSL_PATH)/crypto/md5/md5_dgst.c
> >    $(OPENSSL_PATH)/crypto/md5/md5_one.c
> > +  $(OPENSSL_PATH)/crypto/md5/md5_locl.h
> >    $(OPENSSL_PATH)/crypto/mem.c
> >    $(OPENSSL_PATH)/crypto/mem_clr.c
> >    $(OPENSSL_PATH)/crypto/mem_dbg.c
> > @@ -310,6 +339,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/modes/ofb128.c
> >    $(OPENSSL_PATH)/crypto/modes/wrap128.c
> >    $(OPENSSL_PATH)/crypto/modes/xts128.c
> > +  $(OPENSSL_PATH)/crypto/modes/modes_lcl.h
> >    $(OPENSSL_PATH)/crypto/o_dir.c
> >    $(OPENSSL_PATH)/crypto/o_fips.c
> >    $(OPENSSL_PATH)/crypto/o_fopen.c
> > @@ -321,6 +351,9 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/objects/obj_err.c
> >    $(OPENSSL_PATH)/crypto/objects/obj_lib.c
> >    $(OPENSSL_PATH)/crypto/objects/obj_xref.c
> > +  $(OPENSSL_PATH)/crypto/objects/obj_dat.h
> > +  $(OPENSSL_PATH)/crypto/objects/obj_xref.h
> > +  $(OPENSSL_PATH)/crypto/objects/obj_lcl.h
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_asn.c
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_cl.c
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_err.c
> > @@ -331,6 +364,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_srv.c
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_vfy.c
> >    $(OPENSSL_PATH)/crypto/ocsp/v3_ocsp.c
> > +  $(OPENSSL_PATH)/crypto/ocsp/ocsp_lcl.h
> >    $(OPENSSL_PATH)/crypto/pem/pem_all.c
> >    $(OPENSSL_PATH)/crypto/pem/pem_err.c
> >    $(OPENSSL_PATH)/crypto/pem/pem_info.c
> > @@ -358,6 +392,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/pkcs12/p12_sbag.c
> >    $(OPENSSL_PATH)/crypto/pkcs12/p12_utl.c
> >    $(OPENSSL_PATH)/crypto/pkcs12/pk12err.c
> > +  $(OPENSSL_PATH)/crypto/pkcs12/p12_lcl.h
> >    $(OPENSSL_PATH)/crypto/pkcs7/bio_pk7.c
> >    $(OPENSSL_PATH)/crypto/pkcs7/pk7_asn1.c
> >    $(OPENSSL_PATH)/crypto/pkcs7/pk7_attr.c
> > @@ -366,6 +401,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/pkcs7/pk7_mime.c
> >    $(OPENSSL_PATH)/crypto/pkcs7/pk7_smime.c
> >    $(OPENSSL_PATH)/crypto/pkcs7/pkcs7err.c
> > +  $(OPENSSL_PATH)/crypto/ppc_arch.h
> >    $(OPENSSL_PATH)/crypto/rand/drbg_ctr.c
> >    $(OPENSSL_PATH)/crypto/rand/drbg_lib.c
> >    $(OPENSSL_PATH)/crypto/rand/rand_egd.c
> > @@ -374,8 +410,10 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/rand/rand_unix.c
> >    $(OPENSSL_PATH)/crypto/rand/rand_vms.c
> >    $(OPENSSL_PATH)/crypto/rand/rand_win.c
> > +  $(OPENSSL_PATH)/crypto/rand/rand_lcl.h
> >    $(OPENSSL_PATH)/crypto/rc4/rc4_enc.c
> >    $(OPENSSL_PATH)/crypto/rc4/rc4_skey.c
> > +  $(OPENSSL_PATH)/crypto/rc4/rc4_locl.h
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_ameth.c
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_asn1.c
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_chk.c
> > @@ -398,18 +436,24 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_ssl.c
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_x931.c
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_x931g.c
> > +  $(OPENSSL_PATH)/crypto/rsa/rsa_locl.h
> > +  $(OPENSSL_PATH)/crypto/s390x_arch.h
> >    $(OPENSSL_PATH)/crypto/sha/keccak1600.c
> >    $(OPENSSL_PATH)/crypto/sha/sha1_one.c
> >    $(OPENSSL_PATH)/crypto/sha/sha1dgst.c
> >    $(OPENSSL_PATH)/crypto/sha/sha256.c
> >    $(OPENSSL_PATH)/crypto/sha/sha512.c
> > +  $(OPENSSL_PATH)/crypto/sha/sha_locl.h
> >    $(OPENSSL_PATH)/crypto/siphash/siphash.c
> >    $(OPENSSL_PATH)/crypto/siphash/siphash_ameth.c
> >    $(OPENSSL_PATH)/crypto/siphash/siphash_pmeth.c
> > +  $(OPENSSL_PATH)/crypto/siphash/siphash_local.h
> >    $(OPENSSL_PATH)/crypto/sm3/m_sm3.c
> >    $(OPENSSL_PATH)/crypto/sm3/sm3.c
> > +  $(OPENSSL_PATH)/crypto/sm3/sm3_locl.h
> >    $(OPENSSL_PATH)/crypto/sm4/sm4.c
> >    $(OPENSSL_PATH)/crypto/stack/stack.c
> > +  $(OPENSSL_PATH)/crypto/sparc_arch.h
> >    $(OPENSSL_PATH)/crypto/threads_none.c
> >    $(OPENSSL_PATH)/crypto/threads_pthread.c
> >    $(OPENSSL_PATH)/crypto/threads_win.c
> > @@ -419,6 +463,8 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/ui/ui_null.c
> >    $(OPENSSL_PATH)/crypto/ui/ui_openssl.c
> >    $(OPENSSL_PATH)/crypto/ui/ui_util.c
> > +  $(OPENSSL_PATH)/crypto/ui/ui_locl.h
> > +  $(OPENSSL_PATH)/crypto/vms_rms.h
> >    $(OPENSSL_PATH)/crypto/uid.c
> >    $(OPENSSL_PATH)/crypto/x509/by_dir.c
> >    $(OPENSSL_PATH)/crypto/x509/by_file.c
> > @@ -456,6 +502,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/x509/x_req.c
> >    $(OPENSSL_PATH)/crypto/x509/x_x509.c
> >    $(OPENSSL_PATH)/crypto/x509/x_x509a.c
> > +  $(OPENSSL_PATH)/crypto/x509/x509_lcl.h
> >    $(OPENSSL_PATH)/crypto/x509v3/pcy_cache.c
> >    $(OPENSSL_PATH)/crypto/x509v3/pcy_data.c
> >    $(OPENSSL_PATH)/crypto/x509v3/pcy_lib.c
> > @@ -493,6 +540,11 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/x509v3/v3_tlsf.c
> >    $(OPENSSL_PATH)/crypto/x509v3/v3_utl.c
> >    $(OPENSSL_PATH)/crypto/x509v3/v3err.c
> > +  $(OPENSSL_PATH)/crypto/x509v3/pcy_int.h
> > +  $(OPENSSL_PATH)/crypto/x509v3/v3_admis.h
> > +  $(OPENSSL_PATH)/crypto/x509v3/standard_exts.h
> > +  $(OPENSSL_PATH)/crypto/x509v3/ext_dat.h
> > +  $(OPENSSL_PATH)/ms/uplink.h
> >    $(OPENSSL_PATH)/ssl/bio_ssl.c
> >    $(OPENSSL_PATH)/ssl/d1_lib.c
> >    $(OPENSSL_PATH)/ssl/d1_msg.c
> > @@ -537,6 +589,13 @@ [Sources]
> >    $(OPENSSL_PATH)/ssl/t1_trce.c
> >    $(OPENSSL_PATH)/ssl/tls13_enc.c
> >    $(OPENSSL_PATH)/ssl/tls_srp.c
> > +  $(OPENSSL_PATH)/ssl/record/record_locl.h
> > +  $(OPENSSL_PATH)/ssl/statem/statem.h
> > +  $(OPENSSL_PATH)/ssl/statem/statem_locl.h
> > +  $(OPENSSL_PATH)/ssl/ssl_locl.h
> > +  $(OPENSSL_PATH)/ssl/record/record.h
> > +  $(OPENSSL_PATH)/ssl/ssl_cert_table.h
> > +  $(OPENSSL_PATH)/ssl/packet_locl.h
> >  # Autogenerated files list ends here
> >
> >    ossl_store.c
> > diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
> > b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
> > index de05cac931d9..8134b45eda25 100644
> > --- a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
> > +++ b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
> > @@ -23,6 +23,7 @@ [Defines]
> >
> >  [Sources]
> >    $(OPENSSL_PATH)/e_os.h
> > +  $(OPENSSL_PATH)/ms/uplink.h
> >  # Autogenerated files list starts here
> >    $(OPENSSL_PATH)/crypto/aes/aes_cbc.c
> >    $(OPENSSL_PATH)/crypto/aes/aes_cfb.c
> > @@ -32,7 +33,9 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/aes/aes_misc.c
> >    $(OPENSSL_PATH)/crypto/aes/aes_ofb.c
> >    $(OPENSSL_PATH)/crypto/aes/aes_wrap.c
> > +  $(OPENSSL_PATH)/crypto/aes/aes_locl.h
> >    $(OPENSSL_PATH)/crypto/aria/aria.c
> > +  $(OPENSSL_PATH)/crypto/arm_arch.h
> >    $(OPENSSL_PATH)/crypto/asn1/a_bitstr.c
> >    $(OPENSSL_PATH)/crypto/asn1/a_d2i_fp.c
> >    $(OPENSSL_PATH)/crypto/asn1/a_digest.c
> > @@ -97,12 +100,21 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/asn1/x_sig.c
> >    $(OPENSSL_PATH)/crypto/asn1/x_spki.c
> >    $(OPENSSL_PATH)/crypto/asn1/x_val.c
> > +  $(OPENSSL_PATH)/crypto/asn1/standard_methods.h
> > +  $(OPENSSL_PATH)/crypto/asn1/charmap.h
> > +  $(OPENSSL_PATH)/crypto/asn1/tbl_standard.h
> > +  $(OPENSSL_PATH)/crypto/asn1/asn1_item_list.h
> > +  $(OPENSSL_PATH)/crypto/asn1/asn1_locl.h
> >    $(OPENSSL_PATH)/crypto/async/arch/async_null.c
> >    $(OPENSSL_PATH)/crypto/async/arch/async_posix.c
> >    $(OPENSSL_PATH)/crypto/async/arch/async_win.c
> > +  $(OPENSSL_PATH)/crypto/async/arch/async_posix.h
> > +  $(OPENSSL_PATH)/crypto/async/arch/async_null.h
> > +  $(OPENSSL_PATH)/crypto/async/arch/async_win.h
> >    $(OPENSSL_PATH)/crypto/async/async.c
> >    $(OPENSSL_PATH)/crypto/async/async_err.c
> >    $(OPENSSL_PATH)/crypto/async/async_wait.c
> > +  $(OPENSSL_PATH)/crypto/async/async_locl.h
> >    $(OPENSSL_PATH)/crypto/bio/b_addr.c
> >    $(OPENSSL_PATH)/crypto/bio/b_dump.c
> >    $(OPENSSL_PATH)/crypto/bio/b_sock.c
> > @@ -125,6 +137,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/bio/bss_mem.c
> >    $(OPENSSL_PATH)/crypto/bio/bss_null.c
> >    $(OPENSSL_PATH)/crypto/bio/bss_sock.c
> > +  $(OPENSSL_PATH)/crypto/bio/bio_lcl.h
> >    $(OPENSSL_PATH)/crypto/bn/bn_add.c
> >    $(OPENSSL_PATH)/crypto/bn/bn_asm.c
> >    $(OPENSSL_PATH)/crypto/bn/bn_blind.c
> > @@ -156,6 +169,9 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/bn/bn_srp.c
> >    $(OPENSSL_PATH)/crypto/bn/bn_word.c
> >    $(OPENSSL_PATH)/crypto/bn/bn_x931p.c
> > +  $(OPENSSL_PATH)/crypto/bn/rsaz_exp.h
> > +  $(OPENSSL_PATH)/crypto/bn/bn_prime.h
> > +  $(OPENSSL_PATH)/crypto/bn/bn_lcl.h
> >    $(OPENSSL_PATH)/crypto/buffer/buf_err.c
> >    $(OPENSSL_PATH)/crypto/buffer/buffer.c
> >    $(OPENSSL_PATH)/crypto/cmac/cm_ameth.c
> > @@ -164,6 +180,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/comp/c_zlib.c
> >    $(OPENSSL_PATH)/crypto/comp/comp_err.c
> >    $(OPENSSL_PATH)/crypto/comp/comp_lib.c
> > +  $(OPENSSL_PATH)/crypto/comp/comp_lcl.h
> >    $(OPENSSL_PATH)/crypto/conf/conf_api.c
> >    $(OPENSSL_PATH)/crypto/conf/conf_def.c
> >    $(OPENSSL_PATH)/crypto/conf/conf_err.c
> > @@ -172,6 +189,8 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/conf/conf_mod.c
> >    $(OPENSSL_PATH)/crypto/conf/conf_sap.c
> >    $(OPENSSL_PATH)/crypto/conf/conf_ssl.c
> > +  $(OPENSSL_PATH)/crypto/conf/conf_lcl.h
> > +  $(OPENSSL_PATH)/crypto/conf/conf_def.h
> >    $(OPENSSL_PATH)/crypto/cpt_err.c
> >    $(OPENSSL_PATH)/crypto/cryptlib.c
> >    $(OPENSSL_PATH)/crypto/ctype.c
> > @@ -195,6 +214,8 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/des/set_key.c
> >    $(OPENSSL_PATH)/crypto/des/str2key.c
> >    $(OPENSSL_PATH)/crypto/des/xcbc_enc.c
> > +  $(OPENSSL_PATH)/crypto/des/spr.h
> > +  $(OPENSSL_PATH)/crypto/des/des_locl.h
> >    $(OPENSSL_PATH)/crypto/dh/dh_ameth.c
> >    $(OPENSSL_PATH)/crypto/dh/dh_asn1.c
> >    $(OPENSSL_PATH)/crypto/dh/dh_check.c
> > @@ -209,6 +230,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/dh/dh_prn.c
> >    $(OPENSSL_PATH)/crypto/dh/dh_rfc5114.c
> >    $(OPENSSL_PATH)/crypto/dh/dh_rfc7919.c
> > +  $(OPENSSL_PATH)/crypto/dh/dh_locl.h
> >    $(OPENSSL_PATH)/crypto/dso/dso_dl.c
> >    $(OPENSSL_PATH)/crypto/dso/dso_dlfcn.c
> >    $(OPENSSL_PATH)/crypto/dso/dso_err.c
> > @@ -216,6 +238,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/dso/dso_openssl.c
> >    $(OPENSSL_PATH)/crypto/dso/dso_vms.c
> >    $(OPENSSL_PATH)/crypto/dso/dso_win32.c
> > +  $(OPENSSL_PATH)/crypto/dso/dso_locl.h
> >    $(OPENSSL_PATH)/crypto/ebcdic.c
> >    $(OPENSSL_PATH)/crypto/err/err.c
> >    $(OPENSSL_PATH)/crypto/err/err_prn.c
> > @@ -257,6 +280,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/evp/evp_pkey.c
> >    $(OPENSSL_PATH)/crypto/evp/m_md2.c
> >    $(OPENSSL_PATH)/crypto/evp/m_md4.c
> > +  $(OPENSSL_PATH)/crypto/md4/md4_locl.h
> >    $(OPENSSL_PATH)/crypto/evp/m_md5.c
> >    $(OPENSSL_PATH)/crypto/evp/m_md5_sha1.c
> >    $(OPENSSL_PATH)/crypto/evp/m_mdc2.c
> > @@ -280,11 +304,13 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/evp/pmeth_fn.c
> >    $(OPENSSL_PATH)/crypto/evp/pmeth_gn.c
> >    $(OPENSSL_PATH)/crypto/evp/pmeth_lib.c
> > +  $(OPENSSL_PATH)/crypto/evp/evp_locl.h
> >    $(OPENSSL_PATH)/crypto/ex_data.c
> >    $(OPENSSL_PATH)/crypto/getenv.c
> >    $(OPENSSL_PATH)/crypto/hmac/hm_ameth.c
> >    $(OPENSSL_PATH)/crypto/hmac/hm_pmeth.c
> >    $(OPENSSL_PATH)/crypto/hmac/hmac.c
> > +  $(OPENSSL_PATH)/crypto/hmac/hmac_lcl.h
> >    $(OPENSSL_PATH)/crypto/init.c
> >    $(OPENSSL_PATH)/crypto/kdf/hkdf.c
> >    $(OPENSSL_PATH)/crypto/kdf/kdf_err.c
> > @@ -292,10 +318,12 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/kdf/tls1_prf.c
> >    $(OPENSSL_PATH)/crypto/lhash/lh_stats.c
> >    $(OPENSSL_PATH)/crypto/lhash/lhash.c
> > +  $(OPENSSL_PATH)/crypto/lhash/lhash_lcl.h
> >    $(OPENSSL_PATH)/crypto/md4/md4_dgst.c
> >    $(OPENSSL_PATH)/crypto/md4/md4_one.c
> >    $(OPENSSL_PATH)/crypto/md5/md5_dgst.c
> >    $(OPENSSL_PATH)/crypto/md5/md5_one.c
> > +  $(OPENSSL_PATH)/crypto/md5/md5_locl.h
> >    $(OPENSSL_PATH)/crypto/mem.c
> >    $(OPENSSL_PATH)/crypto/mem_clr.c
> >    $(OPENSSL_PATH)/crypto/mem_dbg.c
> > @@ -310,6 +338,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/modes/ofb128.c
> >    $(OPENSSL_PATH)/crypto/modes/wrap128.c
> >    $(OPENSSL_PATH)/crypto/modes/xts128.c
> > +  $(OPENSSL_PATH)/crypto/modes/modes_lcl.h
> >    $(OPENSSL_PATH)/crypto/o_dir.c
> >    $(OPENSSL_PATH)/crypto/o_fips.c
> >    $(OPENSSL_PATH)/crypto/o_fopen.c
> > @@ -321,6 +350,9 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/objects/obj_err.c
> >    $(OPENSSL_PATH)/crypto/objects/obj_lib.c
> >    $(OPENSSL_PATH)/crypto/objects/obj_xref.c
> > +  $(OPENSSL_PATH)/crypto/objects/obj_dat.h
> > +  $(OPENSSL_PATH)/crypto/objects/obj_xref.h
> > +  $(OPENSSL_PATH)/crypto/objects/obj_lcl.h
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_asn.c
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_cl.c
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_err.c
> > @@ -331,6 +363,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_srv.c
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_vfy.c
> >    $(OPENSSL_PATH)/crypto/ocsp/v3_ocsp.c
> > +  $(OPENSSL_PATH)/crypto/ocsp/ocsp_lcl.h
> >    $(OPENSSL_PATH)/crypto/pem/pem_all.c
> >    $(OPENSSL_PATH)/crypto/pem/pem_err.c
> >    $(OPENSSL_PATH)/crypto/pem/pem_info.c
> > @@ -366,6 +399,8 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/pkcs7/pk7_mime.c
> >    $(OPENSSL_PATH)/crypto/pkcs7/pk7_smime.c
> >    $(OPENSSL_PATH)/crypto/pkcs7/pkcs7err.c
> > +  $(OPENSSL_PATH)/crypto/pkcs12/p12_lcl.h
> > +  $(OPENSSL_PATH)/crypto/ppc_arch.h
> >    $(OPENSSL_PATH)/crypto/rand/drbg_ctr.c
> >    $(OPENSSL_PATH)/crypto/rand/drbg_lib.c
> >    $(OPENSSL_PATH)/crypto/rand/rand_egd.c
> > @@ -374,8 +409,10 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/rand/rand_unix.c
> >    $(OPENSSL_PATH)/crypto/rand/rand_vms.c
> >    $(OPENSSL_PATH)/crypto/rand/rand_win.c
> > +  $(OPENSSL_PATH)/crypto/rand/rand_lcl.h
> >    $(OPENSSL_PATH)/crypto/rc4/rc4_enc.c
> >    $(OPENSSL_PATH)/crypto/rc4/rc4_skey.c
> > +  $(OPENSSL_PATH)/crypto/rc4/rc4_locl.h
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_ameth.c
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_asn1.c
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_chk.c
> > @@ -398,18 +435,24 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_ssl.c
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_x931.c
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_x931g.c
> > +  $(OPENSSL_PATH)/crypto/rsa/rsa_locl.h
> >    $(OPENSSL_PATH)/crypto/sha/keccak1600.c
> >    $(OPENSSL_PATH)/crypto/sha/sha1_one.c
> >    $(OPENSSL_PATH)/crypto/sha/sha1dgst.c
> >    $(OPENSSL_PATH)/crypto/sha/sha256.c
> >    $(OPENSSL_PATH)/crypto/sha/sha512.c
> > +  $(OPENSSL_PATH)/crypto/sha/sha_locl.h
> >    $(OPENSSL_PATH)/crypto/siphash/siphash.c
> >    $(OPENSSL_PATH)/crypto/siphash/siphash_ameth.c
> >    $(OPENSSL_PATH)/crypto/siphash/siphash_pmeth.c
> > +  $(OPENSSL_PATH)/crypto/siphash/siphash_local.h
> >    $(OPENSSL_PATH)/crypto/sm3/m_sm3.c
> >    $(OPENSSL_PATH)/crypto/sm3/sm3.c
> > +  $(OPENSSL_PATH)/crypto/sm3/sm3_locl.h
> >    $(OPENSSL_PATH)/crypto/sm4/sm4.c
> >    $(OPENSSL_PATH)/crypto/stack/stack.c
> > +  $(OPENSSL_PATH)/crypto/s390x_arch.h
> > +  $(OPENSSL_PATH)/crypto/sparc_arch.h
> >    $(OPENSSL_PATH)/crypto/threads_none.c
> >    $(OPENSSL_PATH)/crypto/threads_pthread.c
> >    $(OPENSSL_PATH)/crypto/threads_win.c
> > @@ -419,7 +462,9 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/ui/ui_null.c
> >    $(OPENSSL_PATH)/crypto/ui/ui_openssl.c
> >    $(OPENSSL_PATH)/crypto/ui/ui_util.c
> > +  $(OPENSSL_PATH)/crypto/ui/ui_locl.h
> >    $(OPENSSL_PATH)/crypto/uid.c
> > +  $(OPENSSL_PATH)/crypto/vms_rms.h
> >    $(OPENSSL_PATH)/crypto/x509/by_dir.c
> >    $(OPENSSL_PATH)/crypto/x509/by_file.c
> >    $(OPENSSL_PATH)/crypto/x509/t_crl.c
> > @@ -456,6 +501,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/x509/x_req.c
> >    $(OPENSSL_PATH)/crypto/x509/x_x509.c
> >    $(OPENSSL_PATH)/crypto/x509/x_x509a.c
> > +  $(OPENSSL_PATH)/crypto/x509/x509_lcl.h
> >    $(OPENSSL_PATH)/crypto/x509v3/pcy_cache.c
> >    $(OPENSSL_PATH)/crypto/x509v3/pcy_data.c
> >    $(OPENSSL_PATH)/crypto/x509v3/pcy_lib.c
> > @@ -493,8 +539,13 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/x509v3/v3_tlsf.c
> >    $(OPENSSL_PATH)/crypto/x509v3/v3_utl.c
> >    $(OPENSSL_PATH)/crypto/x509v3/v3err.c
> > +  $(OPENSSL_PATH)/crypto/x509v3/pcy_int.h
> > +  $(OPENSSL_PATH)/crypto/x509v3/v3_admis.h
> > +  $(OPENSSL_PATH)/crypto/x509v3/standard_exts.h
> > +  $(OPENSSL_PATH)/crypto/x509v3/ext_dat.h
> >  # Autogenerated files list ends here
> > -
> > +  buildinf.h
> > +  rand_pool_noise.h
> >    ossl_store.c
> >    rand_pool.c
> >
> > --
> > 2.18.0.windows.1
> 
> 
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [edk2-devel] [PATCH 1/1] CryptoPkg/OpensslLib: Add missing header files in INF file
       [not found] ` <15BB0CF36608D78D.28665@groups.io>
  2019-08-16  2:14   ` [edk2-devel] " Wang, Jian J
@ 2019-08-16  3:58   ` Wang, Jian J
  1 sibling, 0 replies; 5+ messages in thread
From: Wang, Jian J @ 2019-08-16  3:58 UTC (permalink / raw)
  To: devel@edk2.groups.io, Wang, Jian J, Zhang, Shenglei; +Cc: Ye, Ting

Pushed at 8906f076de35b222a7d62bcf6ed1a4a2498a5791

Regards,
Jian


> -----Original Message-----
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> Wang, Jian J
> Sent: Thursday, August 15, 2019 4:59 PM
> To: Zhang, Shenglei <shenglei.zhang@intel.com>; devel@edk2.groups.io
> Cc: Ye, Ting <ting.ye@intel.com>
> Subject: Re: [edk2-devel] [PATCH 1/1] CryptoPkg/OpensslLib: Add missing
> header files in INF file
> 
> 
> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
> 
> > -----Original Message-----
> > From: Zhang, Shenglei
> > Sent: Tuesday, August 13, 2019 4:50 PM
> > To: devel@edk2.groups.io
> > Cc: Wang, Jian J <jian.j.wang@intel.com>; Ye, Ting <ting.ye@intel.com>
> > Subject: [PATCH 1/1] CryptoPkg/OpensslLib: Add missing header files in
> INF
> > file
> >
> > The header files are used but missing in INF,which causes
> > warning message when building them.
> > https://bugzilla.tianocore.org/show_bug.cgi?id=2036
> >
> > Cc: Jian Wang <jian.j.wang@intel.com>
> > Cc: Ting Ye <ting.ye@intel.com>
> > Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
> > ---
> >  CryptoPkg/Library/OpensslLib/OpensslLib.inf   | 59
> > +++++++++++++++++++
> >  .../Library/OpensslLib/OpensslLibCrypto.inf   | 53 ++++++++++++++++-
> >  2 files changed, 111 insertions(+), 1 deletion(-)
> >
> > diff --git a/CryptoPkg/Library/OpensslLib/OpensslLib.inf
> > b/CryptoPkg/Library/OpensslLib/OpensslLib.inf
> > index 5f36edeeef3c..7432321fd431 100644
> > --- a/CryptoPkg/Library/OpensslLib/OpensslLib.inf
> > +++ b/CryptoPkg/Library/OpensslLib/OpensslLib.inf
> > @@ -22,6 +22,8 @@ [Defines]
> >  #
> >
> >  [Sources]
> > +  buildinf.h
> > +  rand_pool_noise.h
> >    $(OPENSSL_PATH)/e_os.h
> >  # Autogenerated files list starts here
> >    $(OPENSSL_PATH)/crypto/aes/aes_cbc.c
> > @@ -32,7 +34,9 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/aes/aes_misc.c
> >    $(OPENSSL_PATH)/crypto/aes/aes_ofb.c
> >    $(OPENSSL_PATH)/crypto/aes/aes_wrap.c
> > +  $(OPENSSL_PATH)/crypto/aes/aes_locl.h
> >    $(OPENSSL_PATH)/crypto/aria/aria.c
> > +  $(OPENSSL_PATH)/crypto/arm_arch.h
> >    $(OPENSSL_PATH)/crypto/asn1/a_bitstr.c
> >    $(OPENSSL_PATH)/crypto/asn1/a_d2i_fp.c
> >    $(OPENSSL_PATH)/crypto/asn1/a_digest.c
> > @@ -97,12 +101,21 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/asn1/x_sig.c
> >    $(OPENSSL_PATH)/crypto/asn1/x_spki.c
> >    $(OPENSSL_PATH)/crypto/asn1/x_val.c
> > +  $(OPENSSL_PATH)/crypto/asn1/standard_methods.h
> > +  $(OPENSSL_PATH)/crypto/asn1/charmap.h
> > +  $(OPENSSL_PATH)/crypto/asn1/tbl_standard.h
> > +  $(OPENSSL_PATH)/crypto/asn1/asn1_item_list.h
> > +  $(OPENSSL_PATH)/crypto/asn1/asn1_locl.h
> >    $(OPENSSL_PATH)/crypto/async/arch/async_null.c
> >    $(OPENSSL_PATH)/crypto/async/arch/async_posix.c
> >    $(OPENSSL_PATH)/crypto/async/arch/async_win.c
> >    $(OPENSSL_PATH)/crypto/async/async.c
> >    $(OPENSSL_PATH)/crypto/async/async_err.c
> >    $(OPENSSL_PATH)/crypto/async/async_wait.c
> > +  $(OPENSSL_PATH)/crypto/async/arch/async_win.h
> > +  $(OPENSSL_PATH)/crypto/async/async_locl.h
> > +  $(OPENSSL_PATH)/crypto/async/arch/async_posix.h
> > +  $(OPENSSL_PATH)/crypto/async/arch/async_null.h
> >    $(OPENSSL_PATH)/crypto/bio/b_addr.c
> >    $(OPENSSL_PATH)/crypto/bio/b_dump.c
> >    $(OPENSSL_PATH)/crypto/bio/b_sock.c
> > @@ -125,6 +138,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/bio/bss_mem.c
> >    $(OPENSSL_PATH)/crypto/bio/bss_null.c
> >    $(OPENSSL_PATH)/crypto/bio/bss_sock.c
> > +  $(OPENSSL_PATH)/crypto/bio/bio_lcl.h
> >    $(OPENSSL_PATH)/crypto/bn/bn_add.c
> >    $(OPENSSL_PATH)/crypto/bn/bn_asm.c
> >    $(OPENSSL_PATH)/crypto/bn/bn_blind.c
> > @@ -156,6 +170,9 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/bn/bn_srp.c
> >    $(OPENSSL_PATH)/crypto/bn/bn_word.c
> >    $(OPENSSL_PATH)/crypto/bn/bn_x931p.c
> > +  $(OPENSSL_PATH)/crypto/bn/rsaz_exp.h
> > +  $(OPENSSL_PATH)/crypto/bn/bn_prime.h
> > +  $(OPENSSL_PATH)/crypto/bn/bn_lcl.h
> >    $(OPENSSL_PATH)/crypto/buffer/buf_err.c
> >    $(OPENSSL_PATH)/crypto/buffer/buffer.c
> >    $(OPENSSL_PATH)/crypto/cmac/cm_ameth.c
> > @@ -164,6 +181,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/comp/c_zlib.c
> >    $(OPENSSL_PATH)/crypto/comp/comp_err.c
> >    $(OPENSSL_PATH)/crypto/comp/comp_lib.c
> > +  $(OPENSSL_PATH)/crypto/comp/comp_lcl.h
> >    $(OPENSSL_PATH)/crypto/conf/conf_api.c
> >    $(OPENSSL_PATH)/crypto/conf/conf_def.c
> >    $(OPENSSL_PATH)/crypto/conf/conf_err.c
> > @@ -172,6 +190,8 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/conf/conf_mod.c
> >    $(OPENSSL_PATH)/crypto/conf/conf_sap.c
> >    $(OPENSSL_PATH)/crypto/conf/conf_ssl.c
> > +  $(OPENSSL_PATH)/crypto/conf/conf_lcl.h
> > +  $(OPENSSL_PATH)/crypto/conf/conf_def.h
> >    $(OPENSSL_PATH)/crypto/cpt_err.c
> >    $(OPENSSL_PATH)/crypto/cryptlib.c
> >    $(OPENSSL_PATH)/crypto/ctype.c
> > @@ -195,6 +215,8 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/des/set_key.c
> >    $(OPENSSL_PATH)/crypto/des/str2key.c
> >    $(OPENSSL_PATH)/crypto/des/xcbc_enc.c
> > +  $(OPENSSL_PATH)/crypto/des/spr.h
> > +  $(OPENSSL_PATH)/crypto/des/des_locl.h
> >    $(OPENSSL_PATH)/crypto/dh/dh_ameth.c
> >    $(OPENSSL_PATH)/crypto/dh/dh_asn1.c
> >    $(OPENSSL_PATH)/crypto/dh/dh_check.c
> > @@ -209,6 +231,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/dh/dh_prn.c
> >    $(OPENSSL_PATH)/crypto/dh/dh_rfc5114.c
> >    $(OPENSSL_PATH)/crypto/dh/dh_rfc7919.c
> > +  $(OPENSSL_PATH)/crypto/dh/dh_locl.h
> >    $(OPENSSL_PATH)/crypto/dso/dso_dl.c
> >    $(OPENSSL_PATH)/crypto/dso/dso_dlfcn.c
> >    $(OPENSSL_PATH)/crypto/dso/dso_err.c
> > @@ -216,6 +239,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/dso/dso_openssl.c
> >    $(OPENSSL_PATH)/crypto/dso/dso_vms.c
> >    $(OPENSSL_PATH)/crypto/dso/dso_win32.c
> > +  $(OPENSSL_PATH)/crypto/dso/dso_locl.h
> >    $(OPENSSL_PATH)/crypto/ebcdic.c
> >    $(OPENSSL_PATH)/crypto/err/err.c
> >    $(OPENSSL_PATH)/crypto/err/err_prn.c
> > @@ -280,11 +304,13 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/evp/pmeth_fn.c
> >    $(OPENSSL_PATH)/crypto/evp/pmeth_gn.c
> >    $(OPENSSL_PATH)/crypto/evp/pmeth_lib.c
> > +  $(OPENSSL_PATH)/crypto/evp/evp_locl.h
> >    $(OPENSSL_PATH)/crypto/ex_data.c
> >    $(OPENSSL_PATH)/crypto/getenv.c
> >    $(OPENSSL_PATH)/crypto/hmac/hm_ameth.c
> >    $(OPENSSL_PATH)/crypto/hmac/hm_pmeth.c
> >    $(OPENSSL_PATH)/crypto/hmac/hmac.c
> > +  $(OPENSSL_PATH)/crypto/hmac/hmac_lcl.h
> >    $(OPENSSL_PATH)/crypto/init.c
> >    $(OPENSSL_PATH)/crypto/kdf/hkdf.c
> >    $(OPENSSL_PATH)/crypto/kdf/kdf_err.c
> > @@ -292,10 +318,13 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/kdf/tls1_prf.c
> >    $(OPENSSL_PATH)/crypto/lhash/lh_stats.c
> >    $(OPENSSL_PATH)/crypto/lhash/lhash.c
> > +  $(OPENSSL_PATH)/crypto/lhash/lhash_lcl.h
> >    $(OPENSSL_PATH)/crypto/md4/md4_dgst.c
> >    $(OPENSSL_PATH)/crypto/md4/md4_one.c
> > +  $(OPENSSL_PATH)/crypto/md4/md4_locl.h
> >    $(OPENSSL_PATH)/crypto/md5/md5_dgst.c
> >    $(OPENSSL_PATH)/crypto/md5/md5_one.c
> > +  $(OPENSSL_PATH)/crypto/md5/md5_locl.h
> >    $(OPENSSL_PATH)/crypto/mem.c
> >    $(OPENSSL_PATH)/crypto/mem_clr.c
> >    $(OPENSSL_PATH)/crypto/mem_dbg.c
> > @@ -310,6 +339,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/modes/ofb128.c
> >    $(OPENSSL_PATH)/crypto/modes/wrap128.c
> >    $(OPENSSL_PATH)/crypto/modes/xts128.c
> > +  $(OPENSSL_PATH)/crypto/modes/modes_lcl.h
> >    $(OPENSSL_PATH)/crypto/o_dir.c
> >    $(OPENSSL_PATH)/crypto/o_fips.c
> >    $(OPENSSL_PATH)/crypto/o_fopen.c
> > @@ -321,6 +351,9 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/objects/obj_err.c
> >    $(OPENSSL_PATH)/crypto/objects/obj_lib.c
> >    $(OPENSSL_PATH)/crypto/objects/obj_xref.c
> > +  $(OPENSSL_PATH)/crypto/objects/obj_dat.h
> > +  $(OPENSSL_PATH)/crypto/objects/obj_xref.h
> > +  $(OPENSSL_PATH)/crypto/objects/obj_lcl.h
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_asn.c
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_cl.c
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_err.c
> > @@ -331,6 +364,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_srv.c
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_vfy.c
> >    $(OPENSSL_PATH)/crypto/ocsp/v3_ocsp.c
> > +  $(OPENSSL_PATH)/crypto/ocsp/ocsp_lcl.h
> >    $(OPENSSL_PATH)/crypto/pem/pem_all.c
> >    $(OPENSSL_PATH)/crypto/pem/pem_err.c
> >    $(OPENSSL_PATH)/crypto/pem/pem_info.c
> > @@ -358,6 +392,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/pkcs12/p12_sbag.c
> >    $(OPENSSL_PATH)/crypto/pkcs12/p12_utl.c
> >    $(OPENSSL_PATH)/crypto/pkcs12/pk12err.c
> > +  $(OPENSSL_PATH)/crypto/pkcs12/p12_lcl.h
> >    $(OPENSSL_PATH)/crypto/pkcs7/bio_pk7.c
> >    $(OPENSSL_PATH)/crypto/pkcs7/pk7_asn1.c
> >    $(OPENSSL_PATH)/crypto/pkcs7/pk7_attr.c
> > @@ -366,6 +401,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/pkcs7/pk7_mime.c
> >    $(OPENSSL_PATH)/crypto/pkcs7/pk7_smime.c
> >    $(OPENSSL_PATH)/crypto/pkcs7/pkcs7err.c
> > +  $(OPENSSL_PATH)/crypto/ppc_arch.h
> >    $(OPENSSL_PATH)/crypto/rand/drbg_ctr.c
> >    $(OPENSSL_PATH)/crypto/rand/drbg_lib.c
> >    $(OPENSSL_PATH)/crypto/rand/rand_egd.c
> > @@ -374,8 +410,10 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/rand/rand_unix.c
> >    $(OPENSSL_PATH)/crypto/rand/rand_vms.c
> >    $(OPENSSL_PATH)/crypto/rand/rand_win.c
> > +  $(OPENSSL_PATH)/crypto/rand/rand_lcl.h
> >    $(OPENSSL_PATH)/crypto/rc4/rc4_enc.c
> >    $(OPENSSL_PATH)/crypto/rc4/rc4_skey.c
> > +  $(OPENSSL_PATH)/crypto/rc4/rc4_locl.h
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_ameth.c
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_asn1.c
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_chk.c
> > @@ -398,18 +436,24 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_ssl.c
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_x931.c
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_x931g.c
> > +  $(OPENSSL_PATH)/crypto/rsa/rsa_locl.h
> > +  $(OPENSSL_PATH)/crypto/s390x_arch.h
> >    $(OPENSSL_PATH)/crypto/sha/keccak1600.c
> >    $(OPENSSL_PATH)/crypto/sha/sha1_one.c
> >    $(OPENSSL_PATH)/crypto/sha/sha1dgst.c
> >    $(OPENSSL_PATH)/crypto/sha/sha256.c
> >    $(OPENSSL_PATH)/crypto/sha/sha512.c
> > +  $(OPENSSL_PATH)/crypto/sha/sha_locl.h
> >    $(OPENSSL_PATH)/crypto/siphash/siphash.c
> >    $(OPENSSL_PATH)/crypto/siphash/siphash_ameth.c
> >    $(OPENSSL_PATH)/crypto/siphash/siphash_pmeth.c
> > +  $(OPENSSL_PATH)/crypto/siphash/siphash_local.h
> >    $(OPENSSL_PATH)/crypto/sm3/m_sm3.c
> >    $(OPENSSL_PATH)/crypto/sm3/sm3.c
> > +  $(OPENSSL_PATH)/crypto/sm3/sm3_locl.h
> >    $(OPENSSL_PATH)/crypto/sm4/sm4.c
> >    $(OPENSSL_PATH)/crypto/stack/stack.c
> > +  $(OPENSSL_PATH)/crypto/sparc_arch.h
> >    $(OPENSSL_PATH)/crypto/threads_none.c
> >    $(OPENSSL_PATH)/crypto/threads_pthread.c
> >    $(OPENSSL_PATH)/crypto/threads_win.c
> > @@ -419,6 +463,8 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/ui/ui_null.c
> >    $(OPENSSL_PATH)/crypto/ui/ui_openssl.c
> >    $(OPENSSL_PATH)/crypto/ui/ui_util.c
> > +  $(OPENSSL_PATH)/crypto/ui/ui_locl.h
> > +  $(OPENSSL_PATH)/crypto/vms_rms.h
> >    $(OPENSSL_PATH)/crypto/uid.c
> >    $(OPENSSL_PATH)/crypto/x509/by_dir.c
> >    $(OPENSSL_PATH)/crypto/x509/by_file.c
> > @@ -456,6 +502,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/x509/x_req.c
> >    $(OPENSSL_PATH)/crypto/x509/x_x509.c
> >    $(OPENSSL_PATH)/crypto/x509/x_x509a.c
> > +  $(OPENSSL_PATH)/crypto/x509/x509_lcl.h
> >    $(OPENSSL_PATH)/crypto/x509v3/pcy_cache.c
> >    $(OPENSSL_PATH)/crypto/x509v3/pcy_data.c
> >    $(OPENSSL_PATH)/crypto/x509v3/pcy_lib.c
> > @@ -493,6 +540,11 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/x509v3/v3_tlsf.c
> >    $(OPENSSL_PATH)/crypto/x509v3/v3_utl.c
> >    $(OPENSSL_PATH)/crypto/x509v3/v3err.c
> > +  $(OPENSSL_PATH)/crypto/x509v3/pcy_int.h
> > +  $(OPENSSL_PATH)/crypto/x509v3/v3_admis.h
> > +  $(OPENSSL_PATH)/crypto/x509v3/standard_exts.h
> > +  $(OPENSSL_PATH)/crypto/x509v3/ext_dat.h
> > +  $(OPENSSL_PATH)/ms/uplink.h
> >    $(OPENSSL_PATH)/ssl/bio_ssl.c
> >    $(OPENSSL_PATH)/ssl/d1_lib.c
> >    $(OPENSSL_PATH)/ssl/d1_msg.c
> > @@ -537,6 +589,13 @@ [Sources]
> >    $(OPENSSL_PATH)/ssl/t1_trce.c
> >    $(OPENSSL_PATH)/ssl/tls13_enc.c
> >    $(OPENSSL_PATH)/ssl/tls_srp.c
> > +  $(OPENSSL_PATH)/ssl/record/record_locl.h
> > +  $(OPENSSL_PATH)/ssl/statem/statem.h
> > +  $(OPENSSL_PATH)/ssl/statem/statem_locl.h
> > +  $(OPENSSL_PATH)/ssl/ssl_locl.h
> > +  $(OPENSSL_PATH)/ssl/record/record.h
> > +  $(OPENSSL_PATH)/ssl/ssl_cert_table.h
> > +  $(OPENSSL_PATH)/ssl/packet_locl.h
> >  # Autogenerated files list ends here
> >
> >    ossl_store.c
> > diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
> > b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
> > index de05cac931d9..8134b45eda25 100644
> > --- a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
> > +++ b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
> > @@ -23,6 +23,7 @@ [Defines]
> >
> >  [Sources]
> >    $(OPENSSL_PATH)/e_os.h
> > +  $(OPENSSL_PATH)/ms/uplink.h
> >  # Autogenerated files list starts here
> >    $(OPENSSL_PATH)/crypto/aes/aes_cbc.c
> >    $(OPENSSL_PATH)/crypto/aes/aes_cfb.c
> > @@ -32,7 +33,9 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/aes/aes_misc.c
> >    $(OPENSSL_PATH)/crypto/aes/aes_ofb.c
> >    $(OPENSSL_PATH)/crypto/aes/aes_wrap.c
> > +  $(OPENSSL_PATH)/crypto/aes/aes_locl.h
> >    $(OPENSSL_PATH)/crypto/aria/aria.c
> > +  $(OPENSSL_PATH)/crypto/arm_arch.h
> >    $(OPENSSL_PATH)/crypto/asn1/a_bitstr.c
> >    $(OPENSSL_PATH)/crypto/asn1/a_d2i_fp.c
> >    $(OPENSSL_PATH)/crypto/asn1/a_digest.c
> > @@ -97,12 +100,21 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/asn1/x_sig.c
> >    $(OPENSSL_PATH)/crypto/asn1/x_spki.c
> >    $(OPENSSL_PATH)/crypto/asn1/x_val.c
> > +  $(OPENSSL_PATH)/crypto/asn1/standard_methods.h
> > +  $(OPENSSL_PATH)/crypto/asn1/charmap.h
> > +  $(OPENSSL_PATH)/crypto/asn1/tbl_standard.h
> > +  $(OPENSSL_PATH)/crypto/asn1/asn1_item_list.h
> > +  $(OPENSSL_PATH)/crypto/asn1/asn1_locl.h
> >    $(OPENSSL_PATH)/crypto/async/arch/async_null.c
> >    $(OPENSSL_PATH)/crypto/async/arch/async_posix.c
> >    $(OPENSSL_PATH)/crypto/async/arch/async_win.c
> > +  $(OPENSSL_PATH)/crypto/async/arch/async_posix.h
> > +  $(OPENSSL_PATH)/crypto/async/arch/async_null.h
> > +  $(OPENSSL_PATH)/crypto/async/arch/async_win.h
> >    $(OPENSSL_PATH)/crypto/async/async.c
> >    $(OPENSSL_PATH)/crypto/async/async_err.c
> >    $(OPENSSL_PATH)/crypto/async/async_wait.c
> > +  $(OPENSSL_PATH)/crypto/async/async_locl.h
> >    $(OPENSSL_PATH)/crypto/bio/b_addr.c
> >    $(OPENSSL_PATH)/crypto/bio/b_dump.c
> >    $(OPENSSL_PATH)/crypto/bio/b_sock.c
> > @@ -125,6 +137,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/bio/bss_mem.c
> >    $(OPENSSL_PATH)/crypto/bio/bss_null.c
> >    $(OPENSSL_PATH)/crypto/bio/bss_sock.c
> > +  $(OPENSSL_PATH)/crypto/bio/bio_lcl.h
> >    $(OPENSSL_PATH)/crypto/bn/bn_add.c
> >    $(OPENSSL_PATH)/crypto/bn/bn_asm.c
> >    $(OPENSSL_PATH)/crypto/bn/bn_blind.c
> > @@ -156,6 +169,9 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/bn/bn_srp.c
> >    $(OPENSSL_PATH)/crypto/bn/bn_word.c
> >    $(OPENSSL_PATH)/crypto/bn/bn_x931p.c
> > +  $(OPENSSL_PATH)/crypto/bn/rsaz_exp.h
> > +  $(OPENSSL_PATH)/crypto/bn/bn_prime.h
> > +  $(OPENSSL_PATH)/crypto/bn/bn_lcl.h
> >    $(OPENSSL_PATH)/crypto/buffer/buf_err.c
> >    $(OPENSSL_PATH)/crypto/buffer/buffer.c
> >    $(OPENSSL_PATH)/crypto/cmac/cm_ameth.c
> > @@ -164,6 +180,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/comp/c_zlib.c
> >    $(OPENSSL_PATH)/crypto/comp/comp_err.c
> >    $(OPENSSL_PATH)/crypto/comp/comp_lib.c
> > +  $(OPENSSL_PATH)/crypto/comp/comp_lcl.h
> >    $(OPENSSL_PATH)/crypto/conf/conf_api.c
> >    $(OPENSSL_PATH)/crypto/conf/conf_def.c
> >    $(OPENSSL_PATH)/crypto/conf/conf_err.c
> > @@ -172,6 +189,8 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/conf/conf_mod.c
> >    $(OPENSSL_PATH)/crypto/conf/conf_sap.c
> >    $(OPENSSL_PATH)/crypto/conf/conf_ssl.c
> > +  $(OPENSSL_PATH)/crypto/conf/conf_lcl.h
> > +  $(OPENSSL_PATH)/crypto/conf/conf_def.h
> >    $(OPENSSL_PATH)/crypto/cpt_err.c
> >    $(OPENSSL_PATH)/crypto/cryptlib.c
> >    $(OPENSSL_PATH)/crypto/ctype.c
> > @@ -195,6 +214,8 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/des/set_key.c
> >    $(OPENSSL_PATH)/crypto/des/str2key.c
> >    $(OPENSSL_PATH)/crypto/des/xcbc_enc.c
> > +  $(OPENSSL_PATH)/crypto/des/spr.h
> > +  $(OPENSSL_PATH)/crypto/des/des_locl.h
> >    $(OPENSSL_PATH)/crypto/dh/dh_ameth.c
> >    $(OPENSSL_PATH)/crypto/dh/dh_asn1.c
> >    $(OPENSSL_PATH)/crypto/dh/dh_check.c
> > @@ -209,6 +230,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/dh/dh_prn.c
> >    $(OPENSSL_PATH)/crypto/dh/dh_rfc5114.c
> >    $(OPENSSL_PATH)/crypto/dh/dh_rfc7919.c
> > +  $(OPENSSL_PATH)/crypto/dh/dh_locl.h
> >    $(OPENSSL_PATH)/crypto/dso/dso_dl.c
> >    $(OPENSSL_PATH)/crypto/dso/dso_dlfcn.c
> >    $(OPENSSL_PATH)/crypto/dso/dso_err.c
> > @@ -216,6 +238,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/dso/dso_openssl.c
> >    $(OPENSSL_PATH)/crypto/dso/dso_vms.c
> >    $(OPENSSL_PATH)/crypto/dso/dso_win32.c
> > +  $(OPENSSL_PATH)/crypto/dso/dso_locl.h
> >    $(OPENSSL_PATH)/crypto/ebcdic.c
> >    $(OPENSSL_PATH)/crypto/err/err.c
> >    $(OPENSSL_PATH)/crypto/err/err_prn.c
> > @@ -257,6 +280,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/evp/evp_pkey.c
> >    $(OPENSSL_PATH)/crypto/evp/m_md2.c
> >    $(OPENSSL_PATH)/crypto/evp/m_md4.c
> > +  $(OPENSSL_PATH)/crypto/md4/md4_locl.h
> >    $(OPENSSL_PATH)/crypto/evp/m_md5.c
> >    $(OPENSSL_PATH)/crypto/evp/m_md5_sha1.c
> >    $(OPENSSL_PATH)/crypto/evp/m_mdc2.c
> > @@ -280,11 +304,13 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/evp/pmeth_fn.c
> >    $(OPENSSL_PATH)/crypto/evp/pmeth_gn.c
> >    $(OPENSSL_PATH)/crypto/evp/pmeth_lib.c
> > +  $(OPENSSL_PATH)/crypto/evp/evp_locl.h
> >    $(OPENSSL_PATH)/crypto/ex_data.c
> >    $(OPENSSL_PATH)/crypto/getenv.c
> >    $(OPENSSL_PATH)/crypto/hmac/hm_ameth.c
> >    $(OPENSSL_PATH)/crypto/hmac/hm_pmeth.c
> >    $(OPENSSL_PATH)/crypto/hmac/hmac.c
> > +  $(OPENSSL_PATH)/crypto/hmac/hmac_lcl.h
> >    $(OPENSSL_PATH)/crypto/init.c
> >    $(OPENSSL_PATH)/crypto/kdf/hkdf.c
> >    $(OPENSSL_PATH)/crypto/kdf/kdf_err.c
> > @@ -292,10 +318,12 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/kdf/tls1_prf.c
> >    $(OPENSSL_PATH)/crypto/lhash/lh_stats.c
> >    $(OPENSSL_PATH)/crypto/lhash/lhash.c
> > +  $(OPENSSL_PATH)/crypto/lhash/lhash_lcl.h
> >    $(OPENSSL_PATH)/crypto/md4/md4_dgst.c
> >    $(OPENSSL_PATH)/crypto/md4/md4_one.c
> >    $(OPENSSL_PATH)/crypto/md5/md5_dgst.c
> >    $(OPENSSL_PATH)/crypto/md5/md5_one.c
> > +  $(OPENSSL_PATH)/crypto/md5/md5_locl.h
> >    $(OPENSSL_PATH)/crypto/mem.c
> >    $(OPENSSL_PATH)/crypto/mem_clr.c
> >    $(OPENSSL_PATH)/crypto/mem_dbg.c
> > @@ -310,6 +338,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/modes/ofb128.c
> >    $(OPENSSL_PATH)/crypto/modes/wrap128.c
> >    $(OPENSSL_PATH)/crypto/modes/xts128.c
> > +  $(OPENSSL_PATH)/crypto/modes/modes_lcl.h
> >    $(OPENSSL_PATH)/crypto/o_dir.c
> >    $(OPENSSL_PATH)/crypto/o_fips.c
> >    $(OPENSSL_PATH)/crypto/o_fopen.c
> > @@ -321,6 +350,9 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/objects/obj_err.c
> >    $(OPENSSL_PATH)/crypto/objects/obj_lib.c
> >    $(OPENSSL_PATH)/crypto/objects/obj_xref.c
> > +  $(OPENSSL_PATH)/crypto/objects/obj_dat.h
> > +  $(OPENSSL_PATH)/crypto/objects/obj_xref.h
> > +  $(OPENSSL_PATH)/crypto/objects/obj_lcl.h
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_asn.c
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_cl.c
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_err.c
> > @@ -331,6 +363,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_srv.c
> >    $(OPENSSL_PATH)/crypto/ocsp/ocsp_vfy.c
> >    $(OPENSSL_PATH)/crypto/ocsp/v3_ocsp.c
> > +  $(OPENSSL_PATH)/crypto/ocsp/ocsp_lcl.h
> >    $(OPENSSL_PATH)/crypto/pem/pem_all.c
> >    $(OPENSSL_PATH)/crypto/pem/pem_err.c
> >    $(OPENSSL_PATH)/crypto/pem/pem_info.c
> > @@ -366,6 +399,8 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/pkcs7/pk7_mime.c
> >    $(OPENSSL_PATH)/crypto/pkcs7/pk7_smime.c
> >    $(OPENSSL_PATH)/crypto/pkcs7/pkcs7err.c
> > +  $(OPENSSL_PATH)/crypto/pkcs12/p12_lcl.h
> > +  $(OPENSSL_PATH)/crypto/ppc_arch.h
> >    $(OPENSSL_PATH)/crypto/rand/drbg_ctr.c
> >    $(OPENSSL_PATH)/crypto/rand/drbg_lib.c
> >    $(OPENSSL_PATH)/crypto/rand/rand_egd.c
> > @@ -374,8 +409,10 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/rand/rand_unix.c
> >    $(OPENSSL_PATH)/crypto/rand/rand_vms.c
> >    $(OPENSSL_PATH)/crypto/rand/rand_win.c
> > +  $(OPENSSL_PATH)/crypto/rand/rand_lcl.h
> >    $(OPENSSL_PATH)/crypto/rc4/rc4_enc.c
> >    $(OPENSSL_PATH)/crypto/rc4/rc4_skey.c
> > +  $(OPENSSL_PATH)/crypto/rc4/rc4_locl.h
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_ameth.c
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_asn1.c
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_chk.c
> > @@ -398,18 +435,24 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_ssl.c
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_x931.c
> >    $(OPENSSL_PATH)/crypto/rsa/rsa_x931g.c
> > +  $(OPENSSL_PATH)/crypto/rsa/rsa_locl.h
> >    $(OPENSSL_PATH)/crypto/sha/keccak1600.c
> >    $(OPENSSL_PATH)/crypto/sha/sha1_one.c
> >    $(OPENSSL_PATH)/crypto/sha/sha1dgst.c
> >    $(OPENSSL_PATH)/crypto/sha/sha256.c
> >    $(OPENSSL_PATH)/crypto/sha/sha512.c
> > +  $(OPENSSL_PATH)/crypto/sha/sha_locl.h
> >    $(OPENSSL_PATH)/crypto/siphash/siphash.c
> >    $(OPENSSL_PATH)/crypto/siphash/siphash_ameth.c
> >    $(OPENSSL_PATH)/crypto/siphash/siphash_pmeth.c
> > +  $(OPENSSL_PATH)/crypto/siphash/siphash_local.h
> >    $(OPENSSL_PATH)/crypto/sm3/m_sm3.c
> >    $(OPENSSL_PATH)/crypto/sm3/sm3.c
> > +  $(OPENSSL_PATH)/crypto/sm3/sm3_locl.h
> >    $(OPENSSL_PATH)/crypto/sm4/sm4.c
> >    $(OPENSSL_PATH)/crypto/stack/stack.c
> > +  $(OPENSSL_PATH)/crypto/s390x_arch.h
> > +  $(OPENSSL_PATH)/crypto/sparc_arch.h
> >    $(OPENSSL_PATH)/crypto/threads_none.c
> >    $(OPENSSL_PATH)/crypto/threads_pthread.c
> >    $(OPENSSL_PATH)/crypto/threads_win.c
> > @@ -419,7 +462,9 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/ui/ui_null.c
> >    $(OPENSSL_PATH)/crypto/ui/ui_openssl.c
> >    $(OPENSSL_PATH)/crypto/ui/ui_util.c
> > +  $(OPENSSL_PATH)/crypto/ui/ui_locl.h
> >    $(OPENSSL_PATH)/crypto/uid.c
> > +  $(OPENSSL_PATH)/crypto/vms_rms.h
> >    $(OPENSSL_PATH)/crypto/x509/by_dir.c
> >    $(OPENSSL_PATH)/crypto/x509/by_file.c
> >    $(OPENSSL_PATH)/crypto/x509/t_crl.c
> > @@ -456,6 +501,7 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/x509/x_req.c
> >    $(OPENSSL_PATH)/crypto/x509/x_x509.c
> >    $(OPENSSL_PATH)/crypto/x509/x_x509a.c
> > +  $(OPENSSL_PATH)/crypto/x509/x509_lcl.h
> >    $(OPENSSL_PATH)/crypto/x509v3/pcy_cache.c
> >    $(OPENSSL_PATH)/crypto/x509v3/pcy_data.c
> >    $(OPENSSL_PATH)/crypto/x509v3/pcy_lib.c
> > @@ -493,8 +539,13 @@ [Sources]
> >    $(OPENSSL_PATH)/crypto/x509v3/v3_tlsf.c
> >    $(OPENSSL_PATH)/crypto/x509v3/v3_utl.c
> >    $(OPENSSL_PATH)/crypto/x509v3/v3err.c
> > +  $(OPENSSL_PATH)/crypto/x509v3/pcy_int.h
> > +  $(OPENSSL_PATH)/crypto/x509v3/v3_admis.h
> > +  $(OPENSSL_PATH)/crypto/x509v3/standard_exts.h
> > +  $(OPENSSL_PATH)/crypto/x509v3/ext_dat.h
> >  # Autogenerated files list ends here
> > -
> > +  buildinf.h
> > +  rand_pool_noise.h
> >    ossl_store.c
> >    rand_pool.c
> >
> > --
> > 2.18.0.windows.1
> 
> 
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-08-16  3:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-13  8:50 [PATCH 1/1] CryptoPkg/OpensslLib: Add missing header files in INF file Zhang, Shenglei
2019-08-15  8:40 ` [edk2-devel] " Liming Gao
2019-08-15  8:58 ` Wang, Jian J
     [not found] ` <15BB0CF36608D78D.28665@groups.io>
2019-08-16  2:14   ` [edk2-devel] " Wang, Jian J
2019-08-16  3:58   ` Wang, Jian J

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox