Re: [edk2-devel] reg: [edk2] [PATCH v1] NetworkPkg/SNPDxe: Validate the Memory BAR as per UEFI Spec

2020-01-14 Thread Maciej Rabeda
Hello Siva, Which tools did you use to generate this patch? I cannot apply it via 'git am' command. Did you follow the edk2 git guide (using git format-patch && git send-email commands)? https://github.com/tianocore/tianocore.github.io/wiki/Laszlo's-unkempt-git-guide-for-edk2-contributors-and-

Re: [edk2-devel] [PATCH v2 00/78] Fix a bunch of typos (part 1)

2020-02-10 Thread Maciej Rabeda
On all NetworkPkg patches v3: Reviewed-by: Maciej Rabeda Thanks! Maciej On 03-Jan-20 10:06, Philippe Mathieu-Daudé wrote: Around February of this year, Antoine posted various patches fixing a huge quantity of typos, over 8000+ lines (such [1]). This series salvages a third of his work. I

Re: [edk2-devel] [PATCH 1/1] NetworkPkg/ArpDxe: Recycle invalid ARP packets(CVE-2019-14559).

2020-02-17 Thread Maciej Rabeda
From: Armour, Nicholas Sent: 2020年2月13日 7:54 To: devel@edk2.groups.io Cc: Armour, Nicholas ; Wu, Jiaxin ; Maciej Rabeda ; Fu, Siyuan Subject: [PATCH 1/1] NetworkPkg/ArpDxe: Recycle invalid ARP packets(CVE- 2019-14559). REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2031 This patch triggers the

Re: [edk2-devel] HTTP boot failed on timeout

2020-02-17 Thread Maciej Rabeda
Hi Doron, As for -netdev backend, you can try using tap. See: https://gist.github.com/extremecoders-re/e8fd8a67a515fee0c873dcafc81d811c Looking forward to test results. Thanks, Maciej On 17-Feb-20 11:32, Laszlo Ersek wrote: On 02/17/20 11:29, Laszlo Ersek wrote: On 02/17/20 09:17, doron.ble

Re: [edk2-devel] [PATCH v1] Maintainers.txt: Change NetworkPkg maintainer role.

2020-02-18 Thread Maciej Rabeda
Sure, Reviewed-by: Maciej Rabeda On 18-Feb-20 11:34, Wu, Jiaxin wrote: Siyuan & Maciej, Could you give me Reviewed-by tag for this patch? Thanks in advance. Jiaxin -Original Message- From: Wu, Jiaxin Sent: Thursday, February 6, 2020 1:56 PM To: devel@edk2.groups.io Cc: Ma

[edk2-devel] [PATCH v1] ShellPkg: Fix 'ping' command Ip4 receive flow.

2020-02-27 Thread Maciej Rabeda
will receive an already recycled packet with EFI_SUCCESS token status and finally dereference invalid pointers from RxData structure. Cc: Ray Ni Cc: Zhichao Gao Signed-off-by: Maciej Rabeda --- ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c | 9 + 1 file changed, 5 insertions(+), 4 del

Re: [edk2-devel] [PATCH v1] ShellPkg: Fix 'ping' command Ip4 receive flow.

2020-02-28 Thread Maciej Rabeda
zlo Ersek wrote: (+Liming and stewards; CC Nick) On 02/27/20 12:02, Maciej Rabeda wrote: REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2032 'ping' command's receive flow utilizes a single Rx token which it attempts to reuse before recycling the previously received packet. This cause

Re: [edk2-devel] [PATCH v1] ShellPkg: Fix 'ping' command Ip4 receive flow.

2020-02-28 Thread Maciej Rabeda
rsek wrote: (+Liming and stewards; CC Nick) On 02/27/20 12:02, Maciej Rabeda wrote: REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2032 'ping' command's receive flow utilizes a single Rx token which it attempts to reuse before recycling the previously received packet. This ca

[edk2-devel] [PATCH v1] NetworkPkg/Ip6Dxe: Improve Neightbor Discovery message validation (CVE-2019-14559)

2020-03-02 Thread Maciej Rabeda
acket. Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Maciej Rabeda --- NetworkPkg/Ip6Dxe/Ip6Nd.c | 44 +-- NetworkPkg/Ip6Dxe/Ip6Nd.h | 13 + NetworkPkg/Ip6Dxe/Ip6Option.c | 57 +++- 3 files changed, 83 insertions(+), 31 deletions(-) diff --git a/Network

Re: [edk2-devel] [edk2-staging/RISC-V-V2: RISC-V EDK2 CI PATCH v1 0/9] Necessary code changes for RISC-V EDK2 CI.

2020-03-04 Thread Maciej Rabeda
Hi Abner, For NetworkPkg (3-4/9) & MdePkg/Include (6/9): Reviewed-by: Maciej Rabeda Thanks, Maciej On 29-Feb-20 15:13, Abner Chang wrote: BZ:2562 https://bugzilla.tianocore.org/show_bug.cgi?id=2562 EDK2 CI report (RISCV64 only): https://github.com/tianocore/edk2-staging/pull/196 EDK

[edk2-devel] [PATCH v1 1/1] Maintainers.txt: Update reviewer email address

2019-11-27 Thread Maciej Rabeda
Created new email account that will not append legal disclaimers to my responses/patches. Cc: Jiaxin Wu Signed-off-by: Maciej Rabeda --- Maintainers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Maintainers.txt b/Maintainers.txt index 180ad35d0976..246583204139 100644

[edk2-devel] [PATCH v1 0/1] Maintainers.txt: Update reviewer email address

2019-11-27 Thread Maciej Rabeda
Created new email account that will not append legal disclaimers to my responses/patches. Cc: Jiaxin Wu Maciej Rabeda (1): Maintainers.txt: Update reviewer email address Maintainers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.24.0.windows.2

[edk2-devel] [PATCH v1 1/1] Maintainers.txt: Update reviewer email address

2019-11-27 Thread Maciej Rabeda
Created new email account that will not append legal disclaimers to my responses/patches. Cc: Jiaxin Wu Signed-off-by: Maciej Rabeda --- Maintainers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Maintainers.txt b/Maintainers.txt index 180ad35d0976..246583204139 100644

[edk2-devel] [PATCH v1 0/1] Maintainers.txt: Update reviewer email address

2019-11-27 Thread Maciej Rabeda
Created new email account that will not append legal disclaimers to my responses/patches. Cc: Jiaxin Wu Maciej Rabeda (1): Maintainers.txt: Update reviewer email address Maintainers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.24.0.windows.2

Re: [edk2-devel] [PATCH v1 0/1] Maintainers.txt: Update reviewer email address

2019-11-27 Thread Maciej Rabeda
Oops - apparently I have managed to send this twice. Please disregard this one. On 27-Nov-19 15:02, Maciej Rabeda wrote: Created new email account that will not append legal disclaimers to my responses/patches. Cc: Jiaxin Wu Maciej Rabeda (1): Maintainers.txt: Update reviewer email

[edk2-devel] [PATCH v1 1/1] NetworkPkg: Fixes to static code analysis hits

2019-11-28 Thread Maciej Rabeda
Introducing fixes to memory leak issues identified by static code analysis tool. Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Maciej Rabeda --- NetworkPkg/Dhcp6Dxe/Dhcp6Io.c | 1 + NetworkPkg/Ip4Dxe/Ip4If.c | 6 +- NetworkPkg/TcpDxe/TcpDispatcher.c | 1 + 3 files changed, 7

[edk2-devel] [PATCH v1 0/1] NetworkPkg: Fixes to static code analysis hits

2019-11-28 Thread Maciej Rabeda
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2334 Introducing fixes to memory leak issues identified by static code analysis tool. Maciej Rabeda (1): NetworkPkg: Fixes to static code analysis hits NetworkPkg/Dhcp6Dxe/Dhcp6Io.c | 1 + NetworkPkg/Ip4Dxe/Ip4If.c | 6

Re: [edk2-devel] [PATCH 32/79] NetworkPkg/ArpDxe: Fix various typos

2019-12-04 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 03-Dec-19 17:15, Philippe Mathieu-Daudé wrote: From: Antoine Coeur Fix various typos in documentation, comments and debug strings. Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Maciej Rabeda Reviewed-by: Philippe Mathieu-Daude Signed-off-by: Philippe Mathieu-Daude

Re: [edk2-devel] [PATCH 33/79] NetworkPkg/Dhcp4Dxe: Fix various typos

2019-12-04 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 03-Dec-19 17:15, Philippe Mathieu-Daudé wrote: From: Antoine Coeur Fix various typos in comments and documentation. Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Maciej Rabeda Reviewed-by: Philippe Mathieu-Daude Signed-off-by: Philippe Mathieu-Daude --- NetworkPkg

Re: [edk2-devel] [PATCH 34/79] NetworkPkg/Dhcp6Dxe: Fix various typos

2019-12-04 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 03-Dec-19 17:15, Philippe Mathieu-Daudé wrote: From: Antoine Coeur Fix various typos in comments and documentation. Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Maciej Rabeda Reviewed-by: Philippe Mathieu-Daude Signed-off-by: Philippe Mathieu-Daude --- NetworkPkg

Re: [edk2-devel] [PATCH 35/79] NetworkPkg/DnsDxe: Fix a typo

2019-12-04 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 03-Dec-19 17:15, Philippe Mathieu-Daudé wrote: Fix the same typo in various comments. Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Maciej Rabeda Signed-off-by: Philippe Mathieu-Daude --- NetworkPkg/DnsDxe/DnsImpl.c | 8 1 file changed, 4 insertions(+), 4

Re: [edk2-devel] [PATCH 36/79] NetworkPkg/DnsDxe: Fix various typos

2019-12-04 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 03-Dec-19 17:15, Philippe Mathieu-Daudé wrote: From: Antoine Coeur Fix various typos in comments and documentation. Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Maciej Rabeda Reviewed-by: Philippe Mathieu-Daude Signed-off-by: Philippe Mathieu-Daude --- NetworkPkg

Re: [edk2-devel] [PATCH 37/79] NetworkPkg/DpcDxe: Fix few typos

2019-12-04 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 03-Dec-19 17:15, Philippe Mathieu-Daudé wrote: From: Antoine Coeur Fix few typos in comments and documentation. Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Maciej Rabeda Reviewed-by: Philippe Mathieu-Daude Signed-off-by: Philippe Mathieu-Daude --- NetworkPkg/DpcDxe

Re: [edk2-devel] [PATCH 38/79] NetworkPkg/HttpBootDxe: Fix a typo in variable name

2019-12-04 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 03-Dec-19 17:15, Philippe Mathieu-Daudé wrote: Correctly write 'Initialized'. Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Maciej Rabeda Signed-off-by: Philippe Mathieu-Daude --- NetworkPkg/HttpBootDxe/HttpBootConfig.h | 2 +- NetworkPkg/HttpBootDxe/HttpBo

Re: [edk2-devel] [PATCH 39/79] NetworkPkg/HttpBootDxe: Fix various typos

2019-12-04 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 03-Dec-19 17:15, Philippe Mathieu-Daudé wrote: From: Antoine Coeur Fix various typos in comments and documentation. Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Maciej Rabeda Reviewed-by: Philippe Mathieu-Daude Signed-off-by: Philippe Mathieu-Daude --- NetworkPkg

Re: [edk2-devel] [PATCH 31/79] NetworkPkg: Fix a typo

2019-12-04 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 03-Dec-19 18:20, Philippe Mathieu-Daudé wrote: On 12/3/19 6:18 PM, Leif Lindholm wrote: Hi Phil, On Tue, Dec 03, 2019 at 17:15:14 +0100, Philippe Mathieu-Daude wrote: Correctly write 'malformatted' in documentation, comments and debug strings. Cc: A

Re: [edk2-devel] [PATCH 00/79] Fix a bunch of typos (part 1)

2019-12-04 Thread Maciej Rabeda
Philippe, Antoine, I confirm that I have also received only 0-39 patches of the patchset. I would like to give you the review stamp for the rest of typo fixes in NetworkPkg. Thanks, Maciej On 04-Dec-19 10:09, Laszlo Ersek wrote: On 12/04/19 02:27, Gao, Liming wrote: You can also mention t

[edk2-devel] [PATCH] Maintainers.txt: Update reviewer email address

2019-12-06 Thread Maciej Rabeda
Created new email account that will not append legal disclaimers to my responses/patches. Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Maciej Rabeda --- Maintainers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Maintainers.txt b/Maintainers.txt index 180ad35d0976

[edk2-devel] [PATCH v2] Maintainers.txt: Update email address and role

2019-12-11 Thread Maciej Rabeda
Created new email account that will not append legal disclaimers to my responses/patches. Switching to NetworkPkg maintainer. Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Maciej Rabeda --- Maintainers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Maintainers.txt b

Re: [edk2-devel] [PATCH v2] Maintainers.txt: Update email address and role

2019-12-16 Thread Maciej Rabeda
Hi Jiaxin, I have sent the PR to your edk2 fork. Any chance to get that to tianocore/edk2? :) Thanks, Maciej On 13-Dec-19 03:58, Wu, Jiaxin wrote: Reviewed-by: Jiaxin Wu Thanks, Jiaxin -Original Message- From: Maciej Rabeda Sent: Wednesday, December 11, 2019 5:54 PM To: devel

Re: [edk2-devel] [PATCH v2 00/78] Fix a bunch of typos (part 1)

2020-01-07 Thread Maciej Rabeda
For NetworkPkg patches: <29, 53> Reviewed-by: Maciej Rabeda Thank you, Antoine & Philippe :) On 03-Jan-20 10:06, Philippe Mathieu-Daudé wrote: Around February of this year, Antoine posted various patches fixing a huge quantity of typos, over 8000+ lines (such [1]). This series

Re: [edk2-devel] [PATCH edk2-staging 00/19] IntelUndiPkg/GigUndiDxe: build fixes for AARCH64/ARM/GCC

2020-01-07 Thread Maciej Rabeda
Hi Ard, I have uploaded Intel Ethernet UNDI driver's open source code from latest Intel Ethernet driver's release to edk2-staging. https://github.com/tianocore/edk2-staging/tree/Intel_UNDI It should contain the fixes for ARM/GCC build. Thanks, Maciej -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: Yo

Re: [edk2-devel] [PATCH 2/2] NetworkPkg/HttpDxe: fix 32-bit truncation in HTTPS download

2020-01-10 Thread Maciej Rabeda
Thanks for a very thorough explanation! Reviewed-by: Maciej Rabeda On 09-Jan-20 00:43, Laszlo Ersek wrote: When downloading over TLS, each TLS message ("APP packet") is returned as a (decrypted) fragment table by EFI_TLS_PROTOCOL.ProcessPacket(). The TlsProcessMessage() f

Re: [edk2-devel] [PATCH 6/8] NetWorkPkg/Pcd.inc: Enable the MD5 for iSCSI

2020-03-30 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 27-Mar-20 02:56, Gao, Zhichao wrote: REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1682 iSCSI driver required the MD5 function. Change the PcdMD5Enable to TRUE when NETWORK_ISCSI_ENABLE is TURE. Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off

[edk2-devel] [PATCH v2] NetworkPkg/Ip6Dxe: Improve Neightbor Discovery message validation.

2020-03-30 Thread Maciej Rabeda
acket. Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Maciej Rabeda Reviewed-by: Siyuan Fu --- NetworkPkg/Ip6Dxe/Ip6Nd.c | 44 +-- NetworkPkg/Ip6Dxe/Ip6Nd.h | 13 + NetworkPkg/Ip6Dxe/Ip6Option.c | 57 +++- 3 files changed, 83 insertions(+), 31 deletions(-)

Re: [edk2-devel] [PATCH v1] ShellPkg: Fix 'ping' command Ip4 receive flow.

2020-03-31 Thread Maciej Rabeda
ommand Ip4 receive flow. Ray, Zhichao, On 02/27/20 12:02, Maciej Rabeda wrote: REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2032 'ping' command's receive flow utilizes a single Rx token which it attempts to reuse before recycling the previously received packet. This causes a s

Re: [edk2-devel] [PATCH v2] NetworkPkg/Ip6Dxe: Improve Neightbor Discovery message validation.

2020-03-31 Thread Maciej Rabeda
f the packet (packet size is Head->PayloadLength). Can you try swapping the >= to <= and rerun your test? This should apply to lines 2114, 2167 and 2337. I will submit a patch for that. Thanks, Maciej On 31-Mar-20 02:35, Laszlo Ersek wrote: Hi Maciej, On 03/30/20 14:23, Maciej Rabe

Re: [edk2-devel] [PATCH v1] ShellPkg: Fix 'ping' command Ip4 receive flow.

2020-03-31 Thread Maciej Rabeda
.io; maciej.rab...@linux.intel.com Subject: Re: [edk2-devel] [PATCH v1] ShellPkg: Fix 'ping' command Ip4 receive flow. Ray, Zhichao, On 02/27/20 12:02, Maciej Rabeda wrote: REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2032 'ping' command's receive flow utilizes a single Rx

Re: [edk2-devel] [PATCH] NetworkPkg/UefiPxeBcDxe: handle competing DHCP servers (more) gracefully

2020-03-31 Thread Maciej Rabeda
Always better than not detecting such stuff at all (or by ASSERT in debug builds). Thanks for the patch! Reviewed-by: Maciej Rabeda On 31-Mar-20 02:47, Laszlo Ersek wrote: When DHCP is misconfigured on a network segment, such that two DHCP servers attempt to reply to requests (and therefore

[edk2-devel] [PATCH] NetworkPkg/Ip6Dxe: Fix ASSERT logic in Ip6ProcessRouterAdvertise()

2020-04-01 Thread Maciej Rabeda
This patch fixes reversed logic of recently added ASSERTs which should ensure that Ip6IsNDOptionValid() implementation properly reacts to invalid packets. Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Maciej Rabeda Tested-by: Laszlo Ersek --- NetworkPkg/Ip6Dxe/Ip6Nd.c | 6 +++--- 1 file changed

[edk2-devel] [PATCH v2] ShellPkg: Fix 'ping' command Ip4 receive flow.

2020-04-01 Thread Maciej Rabeda
will receive an already recycled packet with EFI_SUCCESS token status and finally dereference invalid pointers from RxData structure. Cc: Ray Ni Cc: Zhichao Gao Signed-off-by: Maciej Rabeda Reviewed-by: Siyuan Fu Acked-by: Zhichao Gao --- ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c | 9 ++

Re: [edk2-devel] [PATCH] NetworkPkg/Ip6Dxe: Fix ASSERT logic in Ip6ProcessRouterAdvertise()

2020-04-01 Thread Maciej Rabeda
h? Thanks, Maciej On 01-Apr-20 14:02, Laszlo Ersek wrote: Hi Maciej, On 04/01/20 11:53, Maciej Rabeda wrote: This patch fixes reversed logic of recently added ASSERTs which should ensure that Ip6IsNDOptionValid() implementation properly reacts to invalid packets. Cc: Jiaxin Wu Cc: Siyuan Fu Sig

[edk2-devel] [PATCH v2] NetworkPkg/Ip6Dxe: Fix ASSERT logic in Ip6ProcessRouterAdvertise()

2020-04-02 Thread Maciej Rabeda
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2655 This patch fixes reversed logic of recently added ASSERTs which should ensure that Ip6IsNDOptionValid() implementation properly reacts to invalid packets. Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Maciej Rabeda Reviewed-by: Siyuan Fu

Re: [edk2-devel] [PATCH v2] NetworkPkg/Ip6Dxe: Fix ASSERT logic in Ip6ProcessRouterAdvertise()

2020-04-03 Thread Maciej Rabeda
d logic of recently added ASSERTs which should ensure that Ip6IsNDOptionValid() implementation properly reacts to invalid packets. Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Maciej Rabeda Reviewed-by: Siyuan Fu Tested-by: Laszlo Ersek Fixes: 9c20342eed70ec99ec50cd73cb81804299f05403 --- Network

Re: [edk2-devel] [PATCH v1 1/1] NetworkPkg/SnpDxe: Register SnpNotifyExitBootServices at TPL_CALLBACK

2020-04-14 Thread Maciej Rabeda
BACK. In addition, it has been observed in some 3rd party UNDI drivers to cause an issue further down the call stack if the TPL is higher than TPL_CALLBACK on invocation. Therefore, this commit changes the TPL of SnpNotifyExitBootServices() to TPL_CALLBACK. Cc: Siyuan Fu Cc: Maciej Rabeda Cc: Jiax

Re: [edk2-devel] [PATCH v1 1/1] NetworkPkg/SnpDxe: Register SnpNotifyExitBootServices at TPL_CALLBACK

2020-04-15 Thread Maciej Rabeda
_CALLBACK on invocation. Therefore, this commit changes the TPL of SnpNotifyExitBootServices() to TPL_CALLBACK. Cc: Siyuan Fu Cc: Maciej Rabeda Cc: Jiaxin Wu Signed-off-by: Michael Kubacki ---   NetworkPkg/SnpDxe/Snp.c | 3 ++-   1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NetworkPkg/SnpDxe/Snp.

Re: [edk2-devel] [PATCH v1 1/1] NetworkPkg/SnpDxe: Register SnpNotifyExitBootServices at TPL_CALLBACK

2020-04-16 Thread Maciej Rabeda
For your patch. Reviewed-by: Maciej Rabeda Thanks, Maciej On 15-Apr-20 18:40, Laszlo Ersek wrote: On 04/15/20 18:25, Laszlo Ersek wrote: In other words, I personally believe that bug#1974 should have been closed as INVALID (without patching the edk2 source). The EBS handler in SnpDxe is nece

Re: [edk2-devel] [PATCH v1 1/1] NetworkPkg/Ip6Dxe: Validate source data record length

2020-04-17 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 09-Apr-20 10:22, Siyuan, Fu wrote: Reviewed-by: Siyuan Fu -Original Message- From: michael.kuba...@outlook.com Sent: 2020年4月8日 13:47 To: devel@edk2.groups.io Cc: Fu, Siyuan ; Maciej Rabeda ; Wu, Jiaxin Subject: [PATCH v1 1/1] NetworkPkg/Ip6Dxe

Re: [edk2-devel] [PATCH v1 1/1] NetworkPkg/SnpDxe: Prevent invalid PCI BAR access

2020-04-17 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 17-Apr-20 04:51, Siyuan, Fu wrote: Reviewed-by: Siyuan Fu -Original Message- From: devel@edk2.groups.io On Behalf Of Michael Kubacki Sent: 2020年4月9日 11:02 To: devel@edk2.groups.io Cc: Fu, Siyuan ; Maciej Rabeda ; Wu, Jiaxin Subject: [edk2-devel

Re: [edk2-devel] [PATCH] NetworkPkg/TlsAuthConfigDxe: Use HiiPopUp() instead of CreatePopUp()

2020-04-17 Thread Maciej Rabeda
Hi Chang, For any and all of your future patches, "Signed-off" should contain your name + email and maintainer should be in Cc :) Reviewed-by: Maciej Rabeda Thanks, Maciej On 17-Apr-20 04:38, Siyuan, Fu wrote: Reviewed-by: Siyuan Fu -Original Message- From: Keysound C

[edk2-devel] [edk2-staging/HttpProxy] Introduction of new branch

2022-09-20 Thread Maciej Rabeda
aging/tree/HttpProxy Base edk2 commit: https://github.com/tianocore/edk2/commit/2c17d676e402d75a3a674499342f7ddaccf387bd Relevant BZs: https://bugzilla.tianocore.org/show_bug.cgi?id=3951 https://bugzilla.tianocore.org/show_bug.cgi?id=4052 Thanks, Maciej Rabeda -=-=-=-=-=-=-=-=-=-=-=- Groups.io

Re: [edk2-devel] [PATCH 09/15] NetworkPkg/NetworkPkg.ci.yaml: Add configuration for LicenseCheck

2020-07-21 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 20-Jul-20 10:37, Zhang, Shenglei wrote: Add configuration IgnoreFiles for package config files. So users can rely on this to skip license conflict for some generated files. Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Shenglei Zhang

Re: [edk2-devel] [Patch 5/6] SecurityPkg: Fix spelling mistake for occurred

2020-08-04 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 01-Aug-20 03:04, Michael D Kinney wrote: REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2361 Cc: Qi Zhang Cc: Rahul Kumar Signed-off-by: Michael D Kinney --- .../Library/DxeImageVerificationLib/DxeImageVerificationLib.c | 2 +- 1 file changed, 1

Re: [edk2-devel] [PATCH v5 1/1] ShellPkg/DynamicCommand: add HttpDynamicCommand

2020-08-17 Thread Maciej Rabeda
ir Olovyannikov ; devel@edk2.groups.io Cc: Laszlo Ersek ; Samer El-Haj-Mahmoud ; Maciej Rabeda ; Wu, Jiaxin ; Fu, Siyuan ; Ni, Ray ; Gao, Liming ; Nd Subject: RE: [PATCH v5 1/1] ShellPkg/DynamicCommand: add HttpDynamicCommand Sorry for the delay reply. See below: -Original Message-

Re: [edk2-devel] [PATCH v5 1/1] ShellPkg/DynamicCommand: add HttpDynamicCommand

2020-08-18 Thread Maciej Rabeda
Hi Vladimir, I am inprog of going through the patch. There are some coding standard violations. For reference: https://edk2-docs.gitbook.io/edk-ii-c-coding-standards-specification/ Http.c: Lines 110-111: Spacing before open bracket and != operator Line 133: Unnecessary brackets around EFI_SUC

[edk2-devel] [PATCH v1] NetworkPkg/UefiPxeBcDxe: Fix PXE_BOOT_SERVERS usage in boot info parse flow

2020-08-19 Thread Maciej Rabeda
choosing boot server IP in PxeBcDhcp4BootInfo(). Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Maciej Rabeda --- NetworkPkg/UefiPxeBcDxe/PxeBcBoot.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcBoot.c b/NetworkPkg/UefiPxeBcDxe/PxeBcBoot.c

Re: [edk2-devel] [PATCH v5 1/1] ShellPkg/DynamicCommand: add HttpDynamicCommand

2020-08-19 Thread Maciej Rabeda
@Laszlo, As for type casting, I don't have strong opinions. Space after typecast (for me) always seemed to be visually more consistent with the rest of the code. In my regular projects written in C-based languages, I would do it the way you are describing. @Vladimir I went through the rest of

Re: [edk2-devel] [PATCH v1] NetworkPkg/UefiPxeBcDxe: Fix PXE_BOOT_SERVERS usage in boot info parse flow

2020-08-20 Thread Maciej Rabeda
4 (Server Identifier) else         failure Looking forward to discussion. Thanks, Maciej On 19-Aug-20 21:20, Laszlo Ersek wrote: On 08/19/20 20:13, Laszlo Ersek wrote: On 08/19/20 18:53, Maciej Rabeda wrote: REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2876 According to PXE 2.1 spec, DHCP optio

Re: [edk2-devel] [Patch ] IP is getting Configured when IP Configuration is disabled

2020-08-20 Thread Maciej Rabeda
Hi Siva, If you want to propose a patch for review, please follow the process: https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Development-Process https://github.com/tianocore/tianocore.github.io/wiki/Laszlo's-unkempt-git-guide-for-edk2-contributors-and-maintainers I do not think my

Re: [edk2-devel] [PATCH v1] NetworkPkg/UefiPxeBcDxe: Fix PXE_BOOT_SERVERS usage in boot info parse flow

2020-08-21 Thread Maciej Rabeda
spec being very vague on the matter or some kind of ancient knowledge that I am not aware of. Thanks, Maciej. On 21-Aug-20 11:11, Laszlo Ersek wrote: On 08/20/20 15:41, Michael Brown wrote: On 20/08/2020 11:44, Maciej Rabeda wrote: @Michael I am now wondering whether bit 3 is actually relevant

Re: [edk2-devel] [PATCH v6 1/1] ShellPkg/DynamicCommand: add HttpDynamicCommand

2020-08-25 Thread Maciej Rabeda
and addressing the items above, you can tie: Reviewed-by: Maciej Rabeda Thanks, Maciej On 25-Aug-20 06:16, Vladimir Olovyannikov wrote: Hi Laszlo, Sorry, I should've checked. No, there was no intention at all to even touch an OpenSSL lib. I will re-send tomorrow morning. Thank you, Vla

Re: [edk2-devel] Http redirection handling using HttpDxe driver

2020-08-28 Thread Maciej Rabeda
Hi Vladimir, I got your message, I will look into it next week. Have a great weekend! Maciej On 27-Aug-20 21:23, Vladimir Olovyannikov wrote: Hi Maciej, I would like to get your input (and the HttpDxe driver guys) on the issue I see with Http redirection (using HttpDynamicCommand) Basically,

Re: [edk2-devel] [PATCH v2] NetworkPkg/DxeNetLib: Change the order of conditions in IF statement

2020-05-20 Thread Maciej Rabeda
p[Index])) < Len, is meaningless if Index = 0. So checking 'Index != 0' should be performed first in the if statement. Cc: Maciej Rabeda Cc: Siyuan Fu Cc: Jiaxin Wu Signed-off-by: Shenglei Zhang --- v2: Update 'Index > 0' to 'Index != 0'   NetworkPkg/Li

Re: [edk2-devel] [edk2][PATCH 1/1] HttpBoot: handle servers which may FIN after file sizing in HttpBootLoadFile

2020-05-25 Thread Maciej Rabeda
Copying my comments from Bugzilla: I have gone through the Wireshark trace that you have provided. It seems to be all clear now and the approach to the issue must change. HttpBootDxe supports HTTP 1.1 and assumes that the HTTP session stays persistent (single TCP connection for multiple reques

Re: [edk2-devel] [edk2][PATCH 1/1] NetworkPkg/HttpBootDxe: handle servers which may FIN after file sizing in HttpBootLoadFile

2020-05-25 Thread Maciej Rabeda
ection. URI: http://10.0.1.57/bootaa64.efi File Size: 179160 Bytes Downloading...100% Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Andrei Warkentin --- NetworkPkg/HttpBootDxe/HttpBootImpl.c | 35 +++- NetworkPkg/HttpDxe/HttpImpl.c | 5 +++

Re: [edk2-devel] [edk2][PATCH 1/1] NetworkPkg/HttpBootDxe: handle servers which may FIN after file sizing in HttpBootLoadFile

2020-05-26 Thread Maciej Rabeda
------- *From:* devel@edk2.groups.io on behalf of Maciej Rabeda via groups.io *Sent:* Monday, May 25, 2020 7:49 AM *To:* devel@edk2.groups.io ; andrey.warken...@gmail.com *Cc:* jiaxin...@intel.com ; siyuan...@intel.com *Subject:* Re: [edk2-devel] [edk2][PATCH 1/1]

Re: [edk2-devel] [PATCH v3 11/17] NetworkPkg/NetworkPkg.ci.yaml: Add configuration for Ecc check

2020-06-10 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 10-Jun-20 10:14, Shenglei Zhang wrote: Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Shenglei Zhang --- NetworkPkg

Re: [edk2-devel] [PATCH 1/1] NetworkPkg/HttpBootDxe: make file extension check case-insensitive

2021-10-22 Thread Maciej Rabeda
Thanks for the patch. Reviewed-by: Maciej Rabeda On 18-Oct-21 09:21, Lin, Gary (HPS OE-Linux) wrote: https://bugzilla.tianocore.org/show_bug.cgi?id=3694 HttpBootCheckImageType() was using the case-sensitive AsciiStrCmp() to check the file extensions and this could reject the images with

Re: [edk2-devel] [PATCH] Enable wildcard host name matching in EDK2 HTTPS/TLS implementation

2021-10-22 Thread Maciej Rabeda
Hi Vineel, I do not have any problems with this patch. Before I merge, I would like Jiaxin to look at it, since he has submitted that code. Thanks, Maciej On 15-Oct-21 02:54, Vineel Kovvuri wrote: The current UEFI implementation of HTTPS during its TLS configuration uses EFI_TLS_VERIFY_FLAG_

Re: [edk2-devel] [PATCH 1/1] NetworkPkg/HttpBootDxe: make file extension check case-insensitive

2021-10-22 Thread Maciej Rabeda
Patch merged. PR: https://github.com/tianocore/edk2/pull/2107 On 22-Oct-21 11:47, Maciej Rabeda wrote: Thanks for the patch. Reviewed-by: Maciej Rabeda On 18-Oct-21 09:21, Lin, Gary (HPS OE-Linux) wrote: https://bugzilla.tianocore.org/show_bug.cgi?id=3694 HttpBootCheckImageType() was using

Re: [edk2-devel] [PATCH] Enable wildcard host name matching in EDK2 HTTPS/TLS implementation

2021-11-02 Thread Maciej Rabeda
Hi Vineel, I will integrate the change to edk2 tomorrow. For now: Reviewed-by: Maciej Rabeda Thanks, Maciej On 02-Nov-21 19:57, Vineel Kovvuri via groups.io wrote: Hi Folks, Thanks for reviewing the patch. May I know what are the next steps to get it in to edk2? I have already updated the

Re: [edk2-devel] [Patch 2/6] NetworkPkg/NetworkPkg.dsc: Add RngLib mapping for ARM and RISCV64

2021-11-03 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda Mike, Who is going to do the PR? Thanks, Maciej On 03-Nov-21 04:05, Michael D Kinney wrote: Fix NetworkPkg build breaks for ARM and RISCV64 by adding RngLib mapping. Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Ard Biesheuvel Cc: Abner Chang Cc: Daniel

Re: [edk2-devel] [PATCH] Enable wildcard host name matching in EDK2 HTTPS/TLS implementation

2021-11-03 Thread Maciej Rabeda
Changed commit title to: "NetworkPkg/HttpDxe: Enable wildcard host name matching for HTTP+TLS." Patch merged. PR: https://github.com/tianocore/edk2/pull/2168 Commit: https://github.com/tianocore/edk2/commit/6f9e83f757ed7c5c78d071f475b2e72d899c2aef On 02-Nov-21 20:54, Maciej Rabeda

Re: [edk2-devel] [Patch V2 5/7] NetworkPkg: Reproduce builds across source format changes

2021-11-08 Thread Maciej Rabeda
Hey Mike, Reviewed-by: Maciej Rabeda Thanks, Maciej On 01-Nov-21 22:37, Michael D Kinney wrote: REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3688 Use DEBUG_LINE_NUMBER instead of __LINE__. Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Michael Kubacki Signed-off-by: Michael D

Re: [edk2-devel] CdePkgBlog 2021-11-14

2021-11-22 Thread Maciej Rabeda
Hi Kilian, From my point of view, the main problem with adoption of CdePkg to EDK2 is that it relies on Torito C library. 1. Torito C library License (https://github.com/KilianKegel/toro-C-Library/blob/master/LICENSE.md) only allows for creating UEFI Shell applications. * What about

Re: [edk2-devel] [edk2][PATCH 1/1] HttpBoot: handle servers which may FIN after file sizing in HttpBootLoadFile

2020-05-19 Thread Maciej Rabeda
Hi Andrei, Thanks for catching this. Smells a bit like a potential issue with Python's implementation of underlying socketserver and interoperability with Windows. https://stackoverflow.com/questions/46785946/python-socketserver-sends-fin-flag Nevertheless, HTTP client should be aware that it

Re: [edk2-devel] [PATCH v2] NetworkPkg/DxeNetLib: Change the order of conditions in IF statement

2020-05-20 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 20-May-20 05:08, Shenglei Zhang wrote: The condition, NET_HEADSPACE(&(Nbuf->BlockOp[Index])) < Len, is meaningless if Index = 0. So checking 'Index != 0' should be performed first in the if statement. Cc: Maciej Rabeda Cc: Siyuan Fu Cc: Jiax

Re: [edk2-devel] Patch List for 202005 stable tag

2020-05-20 Thread Maciej Rabeda
Hi Liming, I would like to pull this in. https://edk2.groups.io/g/devel/message/59947 Thanks, Maciej On 19-May-20 13:09, Liming Gao wrote: Hi Stewards and all:   I collect current patch lists in devel mail list. Those patch contributors request to add them for 200205 stable tag. Because we

Re: [edk2-devel] reg: iPxe Boot in NetworkPkg

2021-02-08 Thread Maciej Rabeda
Siva, Just as Michael mentioned - the log you have provided suggests that you are recurse-booting iPXE. Next server: 10.0.84.155 Filename: ipxe.efi tftp://10.0.84.155/ipxe.efi... ok May I ask why? Thanks, Maciej On 05-Feb-21 11:10, Michael Brown wrote: On 05/02/2021 08:28, Sivaraman Nainar

Re: [edk2-devel] reg: RNG functions Usage in NetworkPkg

2021-02-16 Thread Maciej Rabeda
Hi Siva, I am not proactively trying to change that. NET_RANDOM is used throughout the network stack and touching it would require solid regression. Is there any defect requiring such a change? Thanks, Maciej On 12-Feb-21 06:52, Sivaraman Nainar wrote: Hello Maciej: Do you have any comment

Re: [edk2-devel] reg: RNG functions Usage in NetworkPkg

2021-02-22 Thread Maciej Rabeda
Siva, OEMs are very welcome to submit a patch for that. Thanks, Maciej On 17-Feb-21 10:31, Sivaraman Nainar wrote: Hello Maciej: We haven’t met any issue with the current implementation. RNG Library functions are using Process Based Random Number generation. Some OEM’s asking about the pla

Re: [edk2-devel] CdePkgBlog 2021-11-14

2021-11-30 Thread Maciej Rabeda
Hi Kilian, CdePkg *has not* been integrated into EDK2. It is simply in edk2-staging, and that's a large difference. As for "satisfies all my needs" - it does not for the reasons I have previously outlined. Reiterating: unless Torito C library is not released as source code under an EDK2-comp

Re: [edk2-devel] CdePkgBlog 2021-11-14

2021-11-30 Thread Maciej Rabeda
Statement correction On 30-Nov-21 11:09, Maciej Rabeda wrote: Hi Kilian, CdePkg *has not* been integrated into EDK2. It is simply in edk2-staging, and that's a large difference. As for "satisfies all my needs" - it does not for the reasons I have previously outlined. Reit

Re: [edk2-devel] Uncrustify Conversion Detailed Plan and Extended Hard Freeze Update #4

2021-12-06 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 06-Dec-21 02:17, Michael D Kinney wrote: Hello EDK II Maintainers, A detailed evaluation of the DEBUG_CODE() formatting issue has been completed. The reason DEBUG_CODE() is a challenge is that this looks like a macro from a C parsing perspective, but the EDK II

Re: [edk2-devel] [PATCH] NetworkPkg: Fix incorrect unicode string of the AKM/Cipher Suite

2022-02-21 Thread Maciej Rabeda
Hi Heng, Thanks for the patch. Reviewed-by: Maciej Rabeda W dniu 26-Jan-22 o 06:12, Heng Luo pisze: REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3813 The size of buffer should be 3 CHAR16 for Null-terminated Unicode string. The first char is the AKM/Cipher Suite number, the second

Re: [edk2-devel] [PATCH] NetworkPkg: Fix incorrect unicode string of the AKM/Cipher Suite

2022-02-21 Thread Maciej Rabeda
Patch merged. PR: https://github.com/tianocore/edk2/pull/2536 Commit: https://github.com/tianocore/edk2/pull/2536/commits/18feb439545443e8a3488b82415023601d116fe4 W dniu 21-Feb-22 o 15:57, Maciej Rabeda pisze: Hi Heng, Thanks for the patch. Reviewed-by: Maciej Rabeda W dniu 26-Jan-22 o 06

Re: [edk2-devel] [patch V4 16/29] NetworkPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib

2021-04-01 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 28-Mar-21 14:02, Dandan Bi wrote: REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of

Re: [edk2-devel] Using the TCP->Accept interface.

2021-07-12 Thread Maciej Rabeda
Hi Ken, When calling Tcp4->Configure(), what is your EFI_TCP4_CONFIG_DATA.AccessPoint.ActiveFlag value? ActiveFlag should be set to FALSE and RemoteAddress set to zero in order to accept connection requests from any address. You should be able to double check the fields above by calling Tcp4

[edk2-devel] "StdLibPkg" branch on edk2-staging

2021-07-27 Thread Maciej Rabeda
Hi, I have submitted a new edk2-staging branch named "StdLibPkg". https://github.com/tianocore/edk2-staging/tree/StdLibPkg Branch contains initial implementation of C standard library and intrinsic library for UEFI to smoothen open-source submodule integration (instead of implementing those fu

Re: [edk2-devel] [Patch V3] NetworkPkg: Add HTTP Additional Event Notifications

2021-07-28 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 28-Jul-21 13:58, Heng Luo wrote: REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3496 Add new EDKII_HTTP_CALLBACK_PROTOCOL in NetworkPkg, Send HTTP Events via EDKII_HTTP_CALLBACK_PROTOCOL when Dns/ConnectTcp/TlsConnectSession/InitSession occurs. Signed-off

Re: [edk2-devel] [Patch V3] NetworkPkg: Making the HTTP IO timeout value programmable with PCD

2021-07-28 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 28-Jul-21 14:16, Heng Luo wrote: From: Zachary Clark-Williams REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3507 HTTP boot has a default set forced timeout value of 5 seconds for getting the recovery image from a remote source. This change allows the HTTP

Re: [edk2-devel] "StdLibPkg" branch on edk2-staging

2021-07-28 Thread Maciej Rabeda
Naturally. Since it is there, why is it not used for brotli, openssl in CryptoPkg or jansson in RedfishPkg? On 28-Jul-21 17:34, Rebecca Cran wrote: Are you aware of the edk2-libc project at https://github.com/tianocore/edk2-libc ? -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all

Re: [edk2-devel] [Patch V3] NetworkPkg: Making the HTTP IO timeout value programmable with PCD

2021-07-28 Thread Maciej Rabeda
Change merged: https://github.com/tianocore/edk2/pull/1840 Corrections applied: 1. NetworkPkg.dsc: [PdcsDynamic] -> [PdcsDynamicDefault] 2. NetworkPkg.dsc: PcdHttpTimeout -> PcdHttpIoTimeout On 28-Jul-21 15:59, Maciej Rabeda wrote: Reviewed-by: Maciej Rabeda On 28-Jul-21 14:16, He

Re: [edk2-devel] [Patch V3] NetworkPkg: Add HTTP Additional Event Notifications

2021-07-28 Thread Maciej Rabeda
Change merged: https://github.com/tianocore/edk2/pull/1840 On 28-Jul-21 15:50, Maciej Rabeda wrote: Reviewed-by: Maciej Rabeda On 28-Jul-21 13:58, Heng Luo wrote: REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3496 Add new EDKII_HTTP_CALLBACK_PROTOCOL in NetworkPkg, Send HTTP Events

Re: [edk2-devel] [PATCH 1/6] NetworkPkg/IScsiDxe: re-set session-level authentication state before login

2021-06-11 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 08-Jun-21 15:06, Laszlo Ersek wrote: RFC 7143 explains that a single iSCSI session may use multiple TCP connections. The first connection established is called the leading connection. The login performed on the leading connection is called the leading login

Re: [edk2-devel] [PATCH 2/6] NetworkPkg/IScsiDxe: add horizontal whitespace to IScsiCHAP files

2021-06-11 Thread Maciej Rabeda
Nicely aligned spacing... Feels Good Man by Daniel 168 Reviewed-by: Maciej Rabeda On 08-Jun-21 15:06, Laszlo Ersek wrote: In the next patches, we'll need more room for various macro and parameter names. For maintaining the current visual alignments, insert some horizontal whitespa

Re: [edk2-devel] [PATCH 3/6] NetworkPkg/IScsiDxe: distinguish "maximum" and "selected" CHAP digest sizes

2021-06-11 Thread Maciej Rabeda
To cut to the chase on this patch: Reviewed-by: Maciej Rabeda On 09-Jun-21 15:46, Laszlo Ersek wrote: On 06/09/21 12:43, Philippe Mathieu-Daudé wrote: Hi Laszlo, On 6/8/21 3:06 PM, Laszlo Ersek wrote: IScsiDxe uses the ISCSI_CHAP_RSP_LEN macro for expressing the size of the digest (16) that

Re: [edk2-devel] [PUBLIC edk2 PATCH v2 01/10] NetworkPkg/IScsiDxe: wrap IScsiCHAP source files to 80 characters

2021-06-11 Thread Maciej Rabeda
, 2021 8:13 PM To: edk2-devel-groups-io Cc: Wu, Jiaxin ; Maciej Rabeda ; Philippe Mathieu-Daudé ; Fu, Siyuan Subject: [edk2-devel] [PUBLIC edk2 PATCH v2 01/10] NetworkPkg/IScsiDxe: wrap IScsiCHAP source files to 80 characters Working with overlong lines is difficult for me; rewrap the CHAP

Re: [edk2-devel] [PATCH 4/6] NetworkPkg/IScsiDxe: support multiple hash algorithms for CHAP

2021-06-11 Thread Maciej Rabeda
t MD5 support into the new internal representation. Cc: Jiaxin Wu Cc: Maciej Rabeda Cc: Philippe Mathieu-Daudé Cc: Siyuan Fu Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3355 Signed-off-by: Laszlo Ersek --- NetworkPkg/IScsiDxe/IScsiCHAP.h | 55 +++ Netw

Re: [edk2-devel] [PATCH 5/6] NetworkPkg/IScsiDxe: support SHA256 in CHAP

2021-06-11 Thread Maciej Rabeda
Reviewed-by: Maciej Rabeda On 08-Jun-21 15:06, Laszlo Ersek wrote: Insert a SHA256 CHAP_HASH structure at the start of "mChapHash". Update ISCSI_CHAP_MAX_DIGEST_SIZE to SHA256_DIGEST_SIZE (32). This enables the initiator and the target to negotiate SHA256 for CHAP, in preference t

  1   2   >