[edk2] [Patch 0/2] Fix potential ASSERT if NetIp4IsUnicast is called

2017-03-20 Thread Jiaxin Wu
Wu Jiaxin <jiaxin...@intel.com> Jiaxin Wu (2): MdeModulePkg/Network: Fix potential ASSERT if NetIp4IsUnicast is called NetworkPkg: Fix potential ASSERT if NetIp4IsUnicast is called MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Nv.c| 9 ++--- MdeModulePkg/Universal/

[edk2] [Patch 2/2] NetworkPkg: Fix potential ASSERT if NetIp4IsUnicast is called

2017-03-20 Thread Jiaxin Wu
Cc: Hegde Nagaraj P Cc: Subramanian Sriram Cc: Zhang Lubo Cc: Ye Ting Cc: Fu Siyuan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin

[edk2] [Patch 1/2] MdeModulePkg/Network: Fix potential ASSERT if NetIp4IsUnicast is called

2017-03-20 Thread Jiaxin Wu
Cc: Hegde Nagaraj P Cc: Subramanian Sriram Cc: Zhang Lubo Cc: Ye Ting Cc: Fu Siyuan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin

[edk2] [PATCH v2] ShellPkg/tftp: Add one option for tftp command to specify windowsize

2017-03-16 Thread Jiaxin Wu
v2: * Refine the constants definitions. Define -w option for tftp shell command to specify the TFTP windowsize option. That will benefit the big file download for tftp server. Cc: Ye Ting Cc: Fu Siyuan Cc: Carsey Jaben

[edk2] [Patch 2/2] ShellPkg/tftp: Add one option for tftp command to specify windowsize

2017-03-16 Thread Jiaxin Wu
Define -w option for tftp shell command to specify the TFTP windowsize option. That will benefit the big file download for tftp server. Cc: Ye Ting Cc: Fu Siyuan Cc: Carsey Jaben Contributed-under: TianoCore Contribution Agreement

[edk2] [Patch 0/2] windowsize option support

2017-03-16 Thread Jiaxin Wu
n <jaben.car...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin...@intel.com> Jiaxin Wu (2): MdeModulePke/Mtftp4Dxe: Add windowsize option support ShellPkg/tftp: Add one option for tftp command to specify windowsize .../Universal/Networ

[edk2] [Patch 1/2] MdeModulePke/Mtftp4Dxe: Add windowsize option support

2017-03-16 Thread Jiaxin Wu
This patch is to support the tftp windowsize option that allows the client and server to negotiate a window size of consecutive blocks to send as an alternative for replacing the single-block lockstep schema. Cc: Ye Ting Cc: Fu Siyuan Contributed-under:

[edk2] [PATCH v2] MdeModulePkg/Ip4Dxe: Add Ip/Netmask pair check for Ip4Config2

2017-03-15 Thread Jiaxin Wu
v2: * Add the check in Ip4Config2SetDefaultIf to avoid the DHCP configuration case. Ip4config2 doesn't check the validity of Ip/Netmask pair, which leads to the invalid combination of Ip and Netmask setting. This patch is to resolve the issue. Cc: Hegde Nagaraj P Cc:

[edk2] [Patch] MdeModulePkg/Ip4Dxe: Add Ip/Netmask pair check for Ip4Config2

2017-03-15 Thread Jiaxin Wu
Ip4config2 manual address setting doesn't check the validity of Ip/Netmask pair, which leads to the invalid combination of Ip and Netmask setting. This patch is to resolve this issue. Cc: Hegde Nagaraj P Cc: Subramanian Sriram Cc: Ye Ting

[edk2] [Patch] MdePkg/UefiDevicePathLib: Fix the wrong MAC address length

2017-03-09 Thread Jiaxin Wu
Network interface type should be checked before the conversion between text device path node and MAC device path. Otherwise, the MAC text string can't be converted to the representation of a device node, which leads to the series failure of network HII configuration(e.g. IP, VLAN, HTTP Boot

[edk2] [Patch] NetworkPkg/Dhcp6Dxe: Handle the Nil UUID case

2017-03-02 Thread Jiaxin Wu
Nil UUID is a special case with all zeros value. This patch is to handle this case to avoid the invalid DUID. Cc: Naveen Santhapur Cc: Ye Ting Cc: Fu Siyuan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu

[edk2] [Patch 0/2] Ignore duplicated DNS address check

2017-02-22 Thread Jiaxin Wu
.@hpe.com> Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin...@intel.com> Jiaxin Wu (2): MdeModulePkg/Ip4Dxe: Ignore duplicated DNS address check NetworkPkg/Ip6Dxe:

[edk2] [Patch 2/2] NetworkPkg/Ip6Dxe: Ignore duplicated DNS address check

2017-02-22 Thread Jiaxin Wu
Having duplicated DNS server IPs specified is not an ideal configuration, but not an error condition. This patch is to remove the duplicated DNS address check to allow the same DNS address setting in SetData(). Cc: Hegde Nagaraj P Cc: Subramanian Sriram

[edk2] [Patch 1/2] MdeModulePkg/Ip4Dxe: Ignore duplicated DNS address check

2017-02-22 Thread Jiaxin Wu
Having duplicated DNS server IPs specified is not an ideal configuration, but not an error condition. This patch is to remove the duplicated DNS address check to allow the same DNS address setting in SetData(). Cc: Hegde Nagaraj P Cc: Subramanian Sriram

[edk2] [Patch] NetworkPkg/HttpBootDxe: Declare the functions as EFIAPI to pass the GCC build

2017-02-15 Thread Jiaxin Wu
Cc: Laszlo Ersek Cc: Gerd Hoffmann Cc: Ye Ting Cc: Fu Siyuan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin --- NetworkPkg/HttpBootDxe/HttpBootSupport.c | 2 ++

[edk2] [Patch] NetworkPkg/HttpBootDxe: Update to check specified media type

2017-02-14 Thread Jiaxin Wu
IANA has approved below new media type for EFI http(s) boot usage: application/vnd.efi.img application/vnd.efi.iso HTTP boot driver should be updated to check the above media type from Content-Type header field. Cc: Ye Ting Cc: Fu Siyuan

[edk2] [Patch] NetworkPkg/HttpBootDxe: Request HTTP token notify as a DPC at TPL_CALLBACK

2017-02-14 Thread Jiaxin Wu
This patch is to update the HTTP token notify as a DPC at TPL_CALLBACK to align with UEFI Spec. Cc: Hegde Nagaraj P Cc: Ye Ting Cc: Fu Siyuan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin

[edk2] [Patch] NetworkPkg/NetworkPkg.uni: Define the prompt and help information for PcdAllowHttpConnections

2017-02-07 Thread Jiaxin Wu
Cc: Ye Ting Cc: Fu Siyuan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin --- NetworkPkg/NetworkPkg.uni | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

[edk2] [Patch] MdeModulePkg/DxeHttpLib: Correct the return status for the HTTP Port/ContentLength

2017-02-07 Thread Jiaxin Wu
Replace AsciiStrDecimalToUintn with AsciiStrDecimalToUintnS to return the correct status for the HTTP Port/ContentLength. Cc: Ye Ting Cc: Fu Siyuan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin ---

[edk2] [PATCH 3/3] OvmfPkg: Allow HTTP connections if HTTP Boot enabled

2017-01-18 Thread Jiaxin Wu
Overwrite the value of PcdAllowHttpConnections to allow HTTP connections if HTTP Boot enabled (-D HTTP_BOOT_ENABLE). Cc: Laszlo Ersek Cc: Justen Jordan L Cc: Gary Lin Cc: Ye Ting Cc: Fu Siyuan

[edk2] [PATCH v3 1/3] NetworkPkg: Add PCD to enable the HTTP connections switch

2017-01-18 Thread Jiaxin Wu
v3: * Correct the commits grammar v2: * Rename the PCD to PcdAllowHttpConnections. * Refine the PCD descriptions. If the value of PcdAllowHttpConnections is TRUE, HTTP connections are allowed. Both the "https://; and "http://; URI schemes are permitted. Otherwise, HTTP connections are denied.

[edk2] [PATCH v3 0/3] Enable the HTTP connections switch

2017-01-18 Thread Jiaxin Wu
com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin...@intel.com> Jiaxin Wu (3): NetworkPkg: Add PCD to enable the HTTP connections switch Nt32Pkg.dsc: Add flag to control HTTP connections OvmfPkg: Allow HTTP connections if HTTP Boot enabled Net

[edk2] [PATCH v3 2/3] Nt32Pkg.dsc: Add flag to control HTTP connections

2017-01-18 Thread Jiaxin Wu
v3: * Correct the commits grammar v2: * Rename the flag. This flag is to overwrite the value of PcdAllowHttpConnections, then the platform can make a decision whether to allow HTTP connections or not. Cc: Ye Ting Cc: Fu Siyuan Cc: Ruiyu Ni

[edk2] [PATCH v2 0/2] Enable the HTTP connections switch

2017-01-16 Thread Jiaxin Wu
anoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin...@intel.com> Jiaxin Wu (2): NetworkPkg: Add PCD to enable the HTTP connections switch Nt32Pkg.dsc: Add flag to control HTTP connections NetworkPkg/HttpBootDxe/HttpBootClient.c | 20

[edk2] [PATCH v2 2/2] Nt32Pkg.dsc: Add flag to control HTTP connections

2017-01-16 Thread Jiaxin Wu
v2: * Rename the flag. This flag is used to overwrite the PcdAllowHttpConnections value, then the platform can make a decision whether to allow HTTP connections or not. Cc: Ye Ting Cc: Fu Siyuan Cc: Ruiyu Ni Cc: Laszlo Ersek

[edk2] [PATCH v2 1/2] NetworkPkg: Add PCD to enable the HTTP connections switch

2017-01-16 Thread Jiaxin Wu
v2: * Rename the PCD to PcdAllowHttpConnections. * Refine the PCD descriptions. If the value of PcdAllowHttpConnections is TRUE, HTTP connections is allowed. Both the "https://; and "http://; URI schemes are permitted. Otherwise, HTTP connections is denied. Only the "https://; URI scheme is

[edk2] [PATCH v2] OvmfPkg: Remove the flag control for the CryptoPkg libraries

2017-01-16 Thread Jiaxin Wu
v2: * Remove the flag for NetworkPkg/IScsiDxe This patch is to remove the 'SECURE_BOOT_ENABLE' flag control for the CryptoPkg librarie. Not only the secure boot feature requires the CryptoPkg libraries (e.g, OpensslLib, BaseCryptLib), but also ISCSI, IpSec and HTTPS/TLS features. Those modules

[edk2] [Patch] OvmfPkg: Remove the flag control for the CryptoPkg libraries

2017-01-15 Thread Jiaxin Wu
This patch is to remove the 'SECURE_BOOT_ENABLE' flag control for the CryptoPkg librarie. Not only the secure boot feature requires the CryptoPkg libraries (e.g, OpensslLib, BaseCryptLib), but also ISCSI, IpSec and HTTPS/TLS features. Those modules can be always included since no build

[edk2] [Patch 1/2] NetworkPkg: Add PCD to enable the HTTP switch

2017-01-12 Thread Jiaxin Wu
If the value of PcdHttpEnable is TRUE, HTTP is enabled. Both the "http://; and "https://; schemes are acceptable. Otherwise, HTTP is disabled. The "http://; scheme will be denied. Cc: Ye Ting Cc: Fu Siyuan Contributed-under: TianoCore Contribution

[edk2] [Patch 2/2] Nt32Pkg.dsc: Add HTTP_ENABLE flag

2017-01-12 Thread Jiaxin Wu
This flag is used to overwrite the PcdHttpEnable value, then the platform can make a decision whether to enable HTTP. Cc: Ye Ting Cc: Fu Siyuan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu

[edk2] [Patch 0/2] Enable the HTTP switch

2017-01-12 Thread Jiaxin Wu
uiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin...@intel.com> Jiaxin Wu (2): NetworkPkg: Add PCD to enable the HTTP switch Nt32Pkg.dsc: Add HTTP_ENABLE flag NetworkPkg/HttpBootDxe/HttpBootClient.c | 20 +++- Networ

[edk2] [Patch 2/2] CryptoPkg/TlsLib: Refine the coding style.

2017-01-04 Thread Jiaxin Wu
Cc: Ye Ting Cc: Fu Siyuan Cc: Long Qin Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin --- CryptoPkg/Library/TlsLib/TlsConfig.c | 4 ++-- CryptoPkg/Library/TlsLib/TlsProcess.c |

[edk2] [Patch 1/2] MdePkg, NetworkPkg: Refine the coding style.

2017-01-04 Thread Jiaxin Wu
Cc: Ye Ting Cc: Fu Siyuan Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin --- MdePkg/Include/IndustryStandard/Tls1.h | 10 +-

[edk2] [Patch 0/2] Refine the coding style.

2017-01-04 Thread Jiaxin Wu
Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Cc: Long Qin <qin.l...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin...@intel.com> Jiaxin Wu (2): MdePkg,

[edk2] [Patch 2/2] NetworkPkg/Ip6Dxe: Fix the potential NULL pointer free

2017-01-02 Thread Jiaxin Wu
Ip6ConfigSetDnsServer may cause ASSERT if the invalid DNS server address received. The issue is triggered by the NULL pointer(Tmp) free. Cc: Ye Ting Cc: Fu Siyuan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin

[edk2] [Patch 0/2] Fix the potential NULL pointer free

2017-01-02 Thread Jiaxin Wu
0 Signed-off-by: Wu Jiaxin <jiaxin...@intel.com> Jiaxin Wu (2): MdeModulePkg/Ip4Dxe: Fix the potential NULL pointer free NetworkPkg/Ip6Dxe: Fix the potential NULL pointer free MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c | 10 +++--- NetworkPkg/Ip6D

[edk2] [Patch 1/2] MdeModulePkg/Ip4Dxe: Fix the potential NULL pointer free

2017-01-02 Thread Jiaxin Wu
Ip4Config2SetDnsServer may cause ASSERT if the invalid DNS server address received. The issue is triggered by the NULL pointer(Tmp) free. Cc: Ye Ting Cc: Fu Siyuan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin

[edk2] [Patch] NetworkPkg/NetworkPkg.dsc: Move TLS modules to the supported components

2016-12-28 Thread Jiaxin Wu
Cc: Ye Ting Cc: Fu Siyuan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin --- NetworkPkg/NetworkPkg.dsc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[edk2] [Patch] NetworkPkg: Fix potentially uninitialized local variable

2016-12-25 Thread Jiaxin Wu
Cc: Ye Ting Cc: Fu Siyuan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin --- NetworkPkg/HttpDxe/HttpProto.c | 2 ++ NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.c | 2 +- 2 files

[edk2] [Patch] Nt32Pkg/Nt32Pkg.dsc: Change TLS_ENABLE flag to FALSE by default

2016-12-23 Thread Jiaxin Wu
TLS feature highly depends on the OpenSSL building. To avoid the default Nt32 platform build failure, we should change the default value of TLS_ENABLE to FALSE. The notes are also provided for Secure Boot and TLS features. Cc: Ni Ruiyu Cc: Ye Ting Cc:

[edk2] [Patch] NetworkPkg/HttpDxe: Fix the potential NULL dereference

2016-12-22 Thread Jiaxin Wu
Cc: Ye Ting Cc: Fu Siyuan Cc: Wu Hao A Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin --- NetworkPkg/HttpDxe/HttpImpl.c | 4 ++- NetworkPkg/HttpDxe/HttpProto.c| 6 +++-

[edk2] [PATCH v3 05/10] NetworkPkg/TlsDxe: TlsDxe driver implementation over OpenSSL

2016-12-15 Thread Jiaxin Wu
v3: * Typo fix and code refine. * Rename the internal macros and function: TLS_INSTANCE_FROM_PROTOCOL_THIS -> TLS_INSTANCE_FROM_PROTOCOL TLS_INSTANCE_FROM_CONFIGURATION_THIS -> TLS_INSTANCE_FROM_CONFIGURATION TlsEcryptPacket -> TlsEncryptPacket v2: * Refine the TlsEcryptPacket/TlsDecryptPacket

[edk2] [PATCH v2 04/10] CryptoPkg: Add new TlsLib library

2016-12-15 Thread Jiaxin Wu
v2: * Code refine and Typo fix: TlsHandeAlert -> TlsHandleAlert This patch is used to add new TlsLib library, which is wrapped over OpenSSL. The implementation provides TLS library functions for EFI TLS protocol and EFI TLS Configuration Protocol. Cc: Ye Ting Cc: Long Qin

[edk2] [PATCH v2 05/10] NetworkPkg/TlsDxe: TlsDxe driver implementation over OpenSSL

2016-12-14 Thread Jiaxin Wu
v2: * Refine the TlsEcryptPacket/TlsDecryptPacket function according the community feedback. This patch is the implementation of EFI TLS Service Binding Protocol, EFI TLS Protocol and EFI TLS Configuration Protocol Interfaces. Cc: Ye Ting Cc: Fu Siyuan

[edk2] [PATCH v2 10/10] Nt32Pkg: Enable HTTPS boot feature for Nt32 platform

2016-12-14 Thread Jiaxin Wu
v2: * Rename flag: HTTPS_BOOT_ENABLE -> TLS_ENABLE This path is used to enable HTTPS boot feature for Nt32 platform. Cc: Long Qin Cc: Ni Ruiyu Cc: Ye Ting Cc: Fu Siyuan Cc: Zhang Lubo Cc:

[edk2] [Patch 09/10] Nt32Pkg/Nt32Pkg.dsc: Remove the flag for OpensslLib and BaseCryptLib

2016-12-13 Thread Jiaxin Wu
This patch is used to remove the 'SECURE_BOOT_ENABLE' flag for OpensslLib and BaseCryptLib modules. Cc: Long Qin Cc: Ni Ruiyu Cc: Ye Ting Cc: Fu Siyuan Cc: Zhang Lubo Cc: Thomas Palmer

[edk2] [Patch 10/10] Nt32Pkg: Enable HTTPS boot feature for Nt32 platform

2016-12-13 Thread Jiaxin Wu
This path is used to enable HTTPS boot feature for Nt32 platform. Cc: Long Qin Cc: Ni Ruiyu Cc: Ye Ting Cc: Fu Siyuan Cc: Zhang Lubo Cc: Thomas Palmer

[edk2] [Patch 05/10] NetworkPkg/TlsDxe: TlsDxe driver implementation over OpenSSL

2016-12-13 Thread Jiaxin Wu
This patch is the implementation of EFI TLS Service Binding Protocol, EFI TLS Protocol and EFI TLS Configuration Protocol Interfaces. Cc: Ye Ting Cc: Fu Siyuan Cc: Zhang Lubo Cc: Long Qin Cc: Thomas Palmer

[edk2] [Patch 07/10] NetworkPkg/HttpDxe: HTTPS support over IPv4 and IPv6

2016-12-13 Thread Jiaxin Wu
This patch is used to enable HTTPS feature. HttpDxe driver will consume TlsDxe driver. It can both support http and https feature, that’s depended on the information of URL, the HTTP instance can be able to determine whether to use http or https. Cc: Ye Ting Cc: Fu Siyuan

[edk2] [Patch 03/10] CryptoPkg: Enable ssl build in OpensslLib directly

2016-12-13 Thread Jiaxin Wu
This patch is used to enable ssl build in OpensslLib module directly. Cc: Wu Jiaxin Cc: Ye Ting Cc: Long Qin Cc: Fu Siyuan Cc: Zhang Lubo Cc: Thomas Palmer

[edk2] [Patch 08/10] NetworkPkg/NetworkPkg.dsc: Enable TlsDxe and TlsAuthConfigDxe module

2016-12-13 Thread Jiaxin Wu
Cc: Ye Ting Cc: Fu Siyuan Cc: Zhang Lubo Cc: Long Qin Cc: Thomas Palmer Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin ---

[edk2] [Patch 04/10] CryptoPkg: Add new TlsLib library

2016-12-13 Thread Jiaxin Wu
This patch is used to add new TlsLib library, which is wrapped over OpenSSL. The implementation provides TLS library functions for EFI TLS protocol and EFI TLS Configuration Protocol. Cc: Ye Ting Cc: Long Qin Cc: Fu Siyuan Cc: Zhang

[edk2] [Patch 02/10] MdePkg: Add a header to standardize TLS definitions

2016-12-13 Thread Jiaxin Wu
This path is used to standardize TLS definitions from related RFCs. Including TLS Cipher Suites, TLS Version, TLS Content Type and TLS Record Header, etc. Cc: Long Qin Cc: Ye Ting Cc: Fu Siyuan Cc: Zhang Lubo

[edk2] [Patch 00/10] Sync staging/HTTPS-TLS feature into edk2 master

2016-12-13 Thread Jiaxin Wu
intel.com> Cc: Li Ruth <ruth...@intel.com> Cc: Thomas Palmer <thomas.pal...@hpe.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin...@intel.com> Jiaxin Wu (10): MdePkg: Add TLS related protocol definition MdePkg: Add a h

[edk2] [Patch 06/10] NetworkPkg/TlsAuthConfigDxe: Provide the UI to support TLS auth configuration

2016-12-13 Thread Jiaxin Wu
This patch provides the UI to support TLS auth configuration. * EFI_SIGNATURE_LIST format is used for 'TlsCaCertificate' variable. So, TLS supports multiple certificate configuration. * The variable attribute is BS with NV, which only target at preventing runtime phase attack. Cc: Ye Ting

[edk2] [Patch 01/10] MdePkg: Add TLS related protocol definition

2016-12-13 Thread Jiaxin Wu
This patch is used to add Tls.h and TlsConfig.h header files to define EFI TLS Configuration Protocol, EFI TLS Service Binding Protocol and EFI TLS Configuration Protocol. Cc: Long Qin Cc: Ye Ting Cc: Fu Siyuan Cc: Zhang Lubo

[edk2] [Patch] NetworkPkg/DnsDxe: Fixed the assert issue in DnsDxe

2016-12-07 Thread Jiaxin Wu
Fix the DnsDxe assert issue when the incorrect answer message received. Cc: Ye Ting Cc: Fu Siyuan Cc: Zhang Lubo Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin ---

[edk2] [Patch] NetworkPkg/IpSecDxe: correct one comment and remove the unused buf

2016-11-29 Thread Jiaxin Wu
Cc: Fu Siyuan <siyuan...@intel.com> Cc: Ye Ting <ting...@intel.com> Cc: Zhang Lubo <lubo.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- NetworkPkg/IpSecDxe/Ikev2/Payload.c | 18 +

[edk2] [Patch] MdeModulePkg/NetLib: Handle an invalid IPv6 address case

2016-11-24 Thread Jiaxin Wu
Handle an invalid IPv6 address in NetLibAsciiStrToIp6(), like '2000:::1com'. Cc: Zhang Lubo <lubo.zh...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Cc: Ye Ting <ting...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu &l

[edk2] [staging/HTTPS-TLS][PATCH] Readme.MD: Add the feature support scope

2016-11-24 Thread Jiaxin Wu
This patch is used to add the feature support scope to indicate the feature completeness criteria, and some contents are also updated/refined, e.g. Timeline and Feature Verification section. Cc: Palmer Thomas Cc: Ye Ting Cc: Fu Siyuan

[edk2] [Patch] Readme.MD: Add the feature support scope

2016-11-24 Thread Jiaxin Wu
This patch is used to add the feature support scope to indicate the feature completeness criteria, and some contents are also updated/refined, e.g. Timeline and Feature Verification section. Cc: Palmer Thomas Cc: Ye Ting Cc: Fu Siyuan

[edk2] [Patch] MdeModulePkg/DxeNetLib: Allow the IPv4/prefix case when AsciiStrToIp4

2016-11-17 Thread Jiaxin Wu
This patch is used to allow the IPv4 with prefix case. Cc: Fu Siyuan <siyuan...@intel.com> Cc: Ye Ting <ting...@intel.com> Cc: Zhang Lubo <lubo.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> -

[edk2] [PATCH v2 1/2] MdeModulePkg/Ip4Dxe: Add wrong/invalid subnet check

2016-11-10 Thread Jiaxin Wu
tel.com> Cc: Fu Siyuan <siyuan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c | 10 +++--- MdeModulePkg/Universal/Network/Ip4Dxe/Ip4If.c | 8

[edk2] [PATCH v2 0/2] MdeModulePkg/Ip4Dxe: Issue fix for Ip4Dxe

2016-11-10 Thread Jiaxin Wu
Cc: Santhapur Naveen <nave...@amiindia.co.in> Cc: Laszlo Ersek <ler...@redhat.com> Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> Jiaxin Wu (

[edk2] [PATCH v2 2/2] MdeModulePkg/Ip4Dxe: Correct the return status

2016-11-10 Thread Jiaxin Wu
Cc: Fu Siyuan <siyuan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/MdeModulePkg/Universa

[edk2] [Patch] MdeModulePkg: Add wrong/invalid subnet check

2016-11-10 Thread Jiaxin Wu
: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c | 18 +++--- MdeModulePkg/Universal/Network/Ip4Dxe/Ip4If.c | 8 +--- 2 files changed, 16 insertions(+), 10 deletions(-) diff

[edk2] [Patch 0/2] Fix the wrong Timer event check

2016-10-28 Thread Jiaxin Wu
Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Cc: Zhang Lubo <lubo.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> Jiaxin Wu (2): MdeModulePkg: Fix the wrong Timer event

[edk2] [Patch 1/2] MdeModulePkg: Fix the wrong Timer event check

2016-10-28 Thread Jiaxin Wu
Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Cc: Zhang Lubo <lubo.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Impl.c | 4

[edk2] [Patch 2/2] NetworkPkg: Fix the wrong Timer event check

2016-10-28 Thread Jiaxin Wu
Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Cc: Zhang Lubo <lubo.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- NetworkPkg/DnsDxe/DnsImpl.c | 4 ++-- 1 file changed, 2 in

[edk2] [Patch] NetworkPkg: Coding style refine for IpSecDxe

2016-10-19 Thread Jiaxin Wu
Cc: Bi Dandan <dandan...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- NetworkPkg/IpSecDxe/IkeCommon.c | 10 +- NetworkPkg/IpSecDxe/IkeCommon.h | 10 +- 2

[edk2] [Patch 2/2] NetworkPkg: Clean the previous address since the policy changed

2016-09-21 Thread Jiaxin Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c | 59 +++ 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/NetworkPkg/Ip6Dxe/Ip6ConfigImp

[edk2] [Patch 1/2] MdeModulePkg: Clean the previous address since the policy changed

2016-09-21 Thread Jiaxin Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- .../Universal/Network/Ip4Dxe/Ip4Config2Impl.c | 62 +++--- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/MdeModulePkg/Universal/Network/Ip

[edk2] [Patch 0/2] Clean the previous address since the policy changed

2016-09-21 Thread Jiaxin Wu
Cc: Hegde Nagaraj P <nagaraj-p.he...@hpe.com> Cc: Subramanian Sriram <srira...@hpe.com> Cc: Ye Ting <ting...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> Jiaxin Wu (2): MdeModulePkg: Clean the previous

[edk2] [Patch] NetworkPkg: Correct the DNS token return status by RCODE

2016-09-14 Thread Jiaxin Wu
reement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- NetworkPkg/DnsDxe/DnsImpl.c | 104 +--- 1 file changed, 40 insertions(+), 64 deletions(-) diff --git a/NetworkPkg/DnsDxe/DnsImpl.c b/NetworkPkg/DnsDxe/DnsImpl.c index cfaa4c7..3f3b756 100644

[edk2] [PATCH v2] NetworkPkg/DnsDxe: Handle CNAME type responded from the name server

2016-09-06 Thread Jiaxin Wu
: Hegde Nagaraj P <nagaraj-p.he...@hpe.com> Cc: Fu Siyuan <siyuan...@intel.com> Cc: Ye Ting <ting...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- NetworkPkg/DnsDxe/DnsImpl.c | 81

[edk2] [Patch] NetworkPkg/DnsDxe: Handle CNAME type responded from the name server

2016-09-05 Thread Jiaxin Wu
e Ting <ting...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- NetworkPkg/DnsDxe/DnsImpl.c | 60 ++--- 1 file changed, 35 insertions(+), 25 deletions(-) diff --git a/NetworkPkg/DnsDx

[edk2] [PATCH v2 0/2] NetworkPkg/IpSecDxe: IKE functionality issue fix

2016-08-18 Thread Jiaxin Wu
*v2: update the commit log and refine the code comments. Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Cc: Zhang Lubo <lubo.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> Jia

[edk2] [PATCH v2 1/2] NetworkPkg/IpSecDxe: Fix UEFI IKE Initial Exchange failure

2016-08-18 Thread Jiaxin Wu
eed to retry the IKE_SA_INIT. Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Cc: Zhang Lubo <lubo.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- NetworkPkg/IpSecDxe/Ikev2/Sa.c | 5

[edk2] [PATCH v2 2/2] NetworkPkg/IpSecDxe: Fix wrong IKE header "FLAG" update

2016-08-18 Thread Jiaxin Wu
on failure. This patch is used to correct the updates of IKE header "FLAG" according the RFC4306 section 3.1. Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Cc: Zhang Lubo <lubo.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-

[edk2] [Patch] MdeModulePkg: Support classless IP for DHCPv4 TransmitReceive()

2016-08-17 Thread Jiaxin Wu
ing subnet mask. Cc: Santhapur Naveen <nave...@amiindia.co.in> Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- .../Universal/Network/Dhcp4D

[edk2] [staging/HTTPS-TLS][PATCH 0/2] Readme.MD and TlsAuthConfigDxe update

2016-08-16 Thread Jiaxin Wu
Cc: Palmer Thomas <thomas.pal...@hpe.com> Cc: Long Qin <qin.l...@intel.com> Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> Jiaxin Wu (2):

[edk2] [staging/HTTPS-TLS][PATCH 1/2] Readme.MD: Clarify the feature support scope

2016-08-16 Thread Jiaxin Wu
Cc: Palmer Thomas <thomas.pal...@hpe.com> Cc: Long Qin <qin.l...@intel.com> Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- Readme.MD |

[edk2] [staging/HTTPS-TLS][PATCH 2/2] NetworkPkg/TlsAuthConfigDxe: TlsCaCertificate variable attribute update

2016-08-16 Thread Jiaxin Wu
om> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.c | 2 +- NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git

[edk2] [Patch 0/2] NetworkPkg/IpSecDxe: IKE functionality issue fix

2016-08-14 Thread Jiaxin Wu
Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Cc: Zhang Lubo <lubo.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> Jiaxin Wu (2): NetworkPkg/IpSecDxe: Fix UEFI IKE Initial Excha

[edk2] [Patch 2/2] NetworkPkg/IpSecDxe: Fix wrong IKE header "FLAG" update

2016-08-14 Thread Jiaxin Wu
u Siyuan <siyuan...@intel.com> Cc: Zhang Lubo <lubo.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- NetworkPkg/IpSecDxe/Ikev2/ChildSa.c | 14 +++--- NetworkPkg/IpSecDxe/Ikev2/Exchange.c | 2 +- Network

[edk2] [Patch 1/2] NetworkPkg/IpSecDxe: Fix UEFI IKE Initial Exchange failure

2016-08-14 Thread Jiaxin Wu
eturned from Ikev2ParserNotifyCookiePayload(). Then the session will be broken. Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Cc: Zhang Lubo <lubo.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com>

[edk2] [Patch] MdeModulePkg: Fix potential failure if UseDefaultAddress configured

2016-08-14 Thread Jiaxin Wu
ess succeed, the up caller will never have the chance to get it's truly status. Cc: Cohen Eugene <eug...@hp.com> Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel

[edk2] [staging/HTTPS-TLS][PATCH] CryptoPkg: Multiple bugs fix in TlsLib

2016-07-19 Thread Jiaxin Wu
oCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- CryptoPkg/Include/Library/TlsLib.h | 2 +- CryptoPkg/Library/TlsLib/TlsLib.c | 26 +++--- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/CryptoPkg/Include/Library/TlsLib.h b/C

[edk2] [staging/HTTPS-TLS][PATCH 1/4] MdePkg: Add a header to standardize TLS definitions

2016-07-13 Thread Jiaxin Wu
Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin...@intel.com> Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- MdePkg/Include/IndustryStandard/Tls1.h | 93

[edk2] [staging/HTTPS-TLS][PATCH 4/4] NetworkPkg/HttpDxe: Replace the definitions with the standardized one

2016-07-13 Thread Jiaxin Wu
Cc: Palmer Thomas <thomas.pal...@hpe.com> Cc: Long Qin <qin.l...@intel.com> Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin...@intel.com> Signed-off-by:

[edk2] [staging/HTTPS-TLS][PATCH 3/4] NetworkPkg/TlsDxe: Replace the definitions with the standardized one

2016-07-13 Thread Jiaxin Wu
Cc: Palmer Thomas <thomas.pal...@hpe.com> Cc: Long Qin <qin.l...@intel.com> Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin...@intel.com> Signed-off-by:

[edk2] [staging/HTTPS-TLS][PATCH 2/4] CryptoPkg: Add more TLS cipher suite mapping

2016-07-13 Thread Jiaxin Wu
reement 1.0 Signed-off-by: Wu Jiaxin <jiaxin...@intel.com> Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- CryptoPkg/Library/TlsLib/TlsLib.c | 3585 +++-- 1 file changed, 1802 insertions(+), 1783 deletions(-) diff --git a/CryptoPkg/Library/TlsLib/TlsLib

[edk2] [staging/HTTPS-TLS][PATCH 0/4] Replace the TLS definitions with the standardized one

2016-07-13 Thread Jiaxin Wu
gt; Cc: Long Qin <qin.l...@intel.com> Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin...@intel.com> Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> Jiaxin Wu

[edk2] [staging/HTTPS-TLS][PATCH 1/2] CryptoPkg/Library/TlsLib: Refine the coding style

2016-07-10 Thread Jiaxin Wu
Cc: Palmer Thomas <thomas.pal...@hpe.com> Cc: Samer El-Haj-Mahmoud <smahm...@lenovo.com> Cc: Long Qin <qin.l...@intel.com> Cc: Ye Ting <ting...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- Cry

[edk2] [staging/HTTPS-TLS][PATCH 2/2] NetworkPkg: Fix potential assert issue

2016-07-10 Thread Jiaxin Wu
uan <siyuan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- NetworkPkg/HttpDxe/HttpsSupport.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/NetworkPkg/HttpDxe/HttpsSupport.c b/Net

[edk2] [staging/HTTPS-TLS][PATCH 0/2] Fix potential assert issue and coding style refine

2016-07-10 Thread Jiaxin Wu
Cc: Palmer Thomas <thomas.pal...@hpe.com> Cc: Samer El-Haj-Mahmoud <smahm...@lenovo.com> Cc: Long Qin <qin.l...@intel.com> Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by:

[edk2] [staging/HTTPS-TLS][PATCH 1/2] CryptoPkg: Set X509_STORE Verify callback function

2016-07-07 Thread Jiaxin Wu
om> Cc: Samer El-Haj-Mahmoud <smahm...@lenovo.com> Cc: Long Qin <qin.l...@intel.com> Cc: Ye Ting <ting...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- CryptoPkg/Library/TlsLib/TlsLib.c | 200 +++

[edk2] [staging/HTTPS-TLS][PATCH 0/2] Live Certificate support and code refine.

2016-07-07 Thread Jiaxin Wu
homas.pal...@hpe.com> Cc: Samer El-Haj-Mahmoud <smahm...@lenovo.com> Cc: Long Qin <qin.l...@intel.com> Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> Jiax

[edk2] [staging/HTTPS-TLS][PATCH 2/2] NetworkPkg: Continue the session even no local cert found

2016-07-07 Thread Jiaxin Wu
t; Cc: Long Qin <qin.l...@intel.com> Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin...@intel.com> --- NetworkPkg/HttpDxe/HttpsSupport.c | 8 +--- 1 file change

[edk2] [staging/HTTPS-TLS][PATCH] NetworkPkg: Centralize TlsCaCertificate name and guid

2016-07-04 Thread Jiaxin Wu
This patch is used to centralize TlsCaCertificate name and guid to TlsAuthentication.h Cc: Palmer Thomas <thomas.pal...@hpe.com> Cc: Ye Ting <ting...@intel.com> Cc: Fu Siyuan <siyuan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by:

<    1   2   3   4   >