From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C9256819EA for ; Tue, 13 Dec 2016 23:34:26 -0800 (PST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP; 13 Dec 2016 23:34:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,345,1477983600"; d="scan'208";a="1098918488" Received: from jiaxinwu-mobl2.ccr.corp.intel.com ([10.239.196.26]) by fmsmga002.fm.intel.com with ESMTP; 13 Dec 2016 23:34:23 -0800 From: Jiaxin Wu To: edk2-devel@lists.01.org Cc: Long Qin , Ye Ting , Fu Siyuan , Zhang Lubo , Liming Gao , Ni Ruiyu , Michael D Kinney , Zimmer Vincent , Li Ruth , Thomas Palmer , Wu Jiaxin Date: Wed, 14 Dec 2016 15:34:09 +0800 Message-Id: <1481700859-76060-1-git-send-email-jiaxin.wu@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 MIME-Version: 1.0 Subject: [Patch 00/10] Sync staging/HTTPS-TLS feature into edk2 master X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2016 07:34:26 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The series patches are used to sync the edk2-staging/HTTPS-TLS feature into edk2 master. Detailed feature description can be found @ https://github.com/tianocore/edk2-staging/tree/HTTPS-TLS, including feature timeline, support scope and verifications. Cc: Long Qin Cc: Ye Ting Cc: Fu Siyuan Cc: Zhang Lubo Cc: Liming Gao Cc: Ni Ruiyu Cc: Michael D Kinney Cc: Zimmer Vincent Cc: Li Ruth Cc: Thomas Palmer Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin Jiaxin Wu (10): MdePkg: Add TLS related protocol definition MdePkg: Add a header to standardize TLS definitions CryptoPkg: Enable ssl build in OpensslLib directly CryptoPkg: Add new TlsLib library NetworkPkg/TlsDxe: TlsDxe driver implementation over OpenSSL NetworkPkg/TlsAuthConfigDxe: Provide the UI to support TLS auth configuration NetworkPkg/HttpDxe: HTTPS support over IPv4 and IPv6 NetworkPkg/NetworkPkg.dsc: Enable TlsDxe and TlsAuthConfigDxe module Nt32Pkg/Nt32Pkg.dsc: Remove the flag for OpensslLib and BaseCryptLib Nt32Pkg: Enable HTTPS boot feature for Nt32 platform CryptoPkg/CryptoPkg.dec | 4 + CryptoPkg/CryptoPkg.dsc | 1 + CryptoPkg/Include/Library/TlsLib.h | 785 +++++++++ CryptoPkg/Include/OpenSslSupport.h | 11 +- .../Library/BaseCryptLib/SysCall/CrtWrapper.c | 10 + CryptoPkg/Library/OpensslLib/Install.cmd | 1 + CryptoPkg/Library/OpensslLib/Install.sh | 1 + CryptoPkg/Library/OpensslLib/OpensslLib.inf | 52 +- CryptoPkg/Library/OpensslLib/process_files.sh | 7 +- CryptoPkg/Library/TlsLib/InternalTlsLib.h | 35 + CryptoPkg/Library/TlsLib/TlsConfig.c | 1055 +++++++++++ CryptoPkg/Library/TlsLib/TlsInit.c | 291 ++++ CryptoPkg/Library/TlsLib/TlsLib.inf | 49 + CryptoPkg/Library/TlsLib/TlsLib.uni | 19 + CryptoPkg/Library/TlsLib/TlsProcess.c | 461 +++++ MdePkg/Include/IndustryStandard/Tls1.h | 93 + MdePkg/Include/Protocol/Tls.h | 460 +++++ MdePkg/Include/Protocol/TlsConfig.h | 132 ++ MdePkg/MdePkg.dec | 9 + NetworkPkg/HttpDxe/HttpDriver.h | 10 +- NetworkPkg/HttpDxe/HttpDxe.inf | 12 +- NetworkPkg/HttpDxe/HttpImpl.c | 252 ++- NetworkPkg/HttpDxe/HttpProto.c | 464 +++-- NetworkPkg/HttpDxe/HttpProto.h | 65 +- NetworkPkg/HttpDxe/HttpsSupport.c | 1692 ++++++++++++++++++ NetworkPkg/HttpDxe/HttpsSupport.h | 260 +++ NetworkPkg/Include/Guid/TlsAuthConfigHii.h | 25 + NetworkPkg/Include/Guid/TlsAuthentication.h | 29 + NetworkPkg/NetworkPkg.dec | 7 + NetworkPkg/NetworkPkg.dsc | 4 + NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.c | 135 ++ NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf | 73 + NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.uni | 21 + .../TlsAuthConfigDxe/TlsAuthConfigDxeExtra.uni | 19 + .../TlsAuthConfigDxe/TlsAuthConfigDxeStrings.uni | 39 + NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.c | 1841 ++++++++++++++++++++ NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.h | 282 +++ NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigNvData.h | 49 + NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigVfr.vfr | 152 ++ NetworkPkg/TlsDxe/TlsConfigProtocol.c | 152 ++ NetworkPkg/TlsDxe/TlsDriver.c | 498 ++++++ NetworkPkg/TlsDxe/TlsDriver.h | 237 +++ NetworkPkg/TlsDxe/TlsDxe.inf | 65 + NetworkPkg/TlsDxe/TlsDxe.uni | 25 + NetworkPkg/TlsDxe/TlsDxeExtra.uni | 18 + NetworkPkg/TlsDxe/TlsImpl.c | 270 +++ NetworkPkg/TlsDxe/TlsImpl.h | 315 ++++ NetworkPkg/TlsDxe/TlsProtocol.c | 632 +++++++ Nt32Pkg/Nt32Pkg.dsc | 25 +- Nt32Pkg/Nt32Pkg.fdf | 4 + 50 files changed, 10978 insertions(+), 170 deletions(-) create mode 100644 CryptoPkg/Include/Library/TlsLib.h create mode 100644 CryptoPkg/Library/TlsLib/InternalTlsLib.h create mode 100644 CryptoPkg/Library/TlsLib/TlsConfig.c create mode 100644 CryptoPkg/Library/TlsLib/TlsInit.c create mode 100644 CryptoPkg/Library/TlsLib/TlsLib.inf create mode 100644 CryptoPkg/Library/TlsLib/TlsLib.uni create mode 100644 CryptoPkg/Library/TlsLib/TlsProcess.c create mode 100644 MdePkg/Include/IndustryStandard/Tls1.h create mode 100644 MdePkg/Include/Protocol/Tls.h create mode 100644 MdePkg/Include/Protocol/TlsConfig.h create mode 100644 NetworkPkg/HttpDxe/HttpsSupport.c create mode 100644 NetworkPkg/HttpDxe/HttpsSupport.h create mode 100644 NetworkPkg/Include/Guid/TlsAuthConfigHii.h create mode 100644 NetworkPkg/Include/Guid/TlsAuthentication.h create mode 100644 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.c create mode 100644 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf create mode 100644 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.uni create mode 100644 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxeExtra.uni create mode 100644 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxeStrings.uni create mode 100644 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.c create mode 100644 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.h create mode 100644 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigNvData.h create mode 100644 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigVfr.vfr create mode 100644 NetworkPkg/TlsDxe/TlsConfigProtocol.c create mode 100644 NetworkPkg/TlsDxe/TlsDriver.c create mode 100644 NetworkPkg/TlsDxe/TlsDriver.h create mode 100644 NetworkPkg/TlsDxe/TlsDxe.inf create mode 100644 NetworkPkg/TlsDxe/TlsDxe.uni create mode 100644 NetworkPkg/TlsDxe/TlsDxeExtra.uni create mode 100644 NetworkPkg/TlsDxe/TlsImpl.c create mode 100644 NetworkPkg/TlsDxe/TlsImpl.h create mode 100644 NetworkPkg/TlsDxe/TlsProtocol.c -- 1.9.5.msysgit.1